verilog - print to file a 3d array

Requests, not necessarily related to fpga4fun...

verilog - print to file a 3d array

Postby uzicohen » Sun Oct 03, 2010 4:41 pm

Hi,
How do i export to file a 3d array in verilog?
usually i use writememh with 2d bit array

example:
Declaration:
reg [7:0] arr [31:0];

write to file:
$writememh("PrintedArr.txt",arr);

Tnx in advance.
uzicohen
 
Posts: 2
Joined: Sun Oct 03, 2010 4:34 pm

Return to Help requests