Hi,
Modified code to:
class environment_c;
bit [7:0] frame_out [1023:0];
bit [7:0] frame_input[1023:0];
task process();
$readmemh(“input_frame.txt”,frame_input);
$writememh(“out_frame.txt”,frame_out); //Array is initialized prior to this
endtask
endclass
Modified the code to the above but still facing the error :
** Warning: ** Warning: (vsim-4014) No objects found matching ‘this’.
regarding $writememh