Writemem

Yes, I have used the $display statement to view the memory frame_out. The data is displayed correctly.

I have tried using $writememh in the program block, in which case the memory contents are written into the file out_frame.txt correctly.

$writememh(“out_frame.txt”,frame_out);

The same thing doesn’t work when used in environment class object. Does anyone know why this is happening?

Thanks
Anuradha

In reply to kbkdec15:

In reply to Anuradha Rangineni:
Does frame_out fill with all memory locations ? if not try to specify start address and end address.
$writememh(“out_frame.txt”,frame_out, , );
Thanks