fpga4fun.com
where FPGAs are fun!
Skip to content
verilog - print to file a 3d array
Requests, not necessarily related to fpga4fun...
Post a reply
1 post • Page
1
of
1
verilog - print to file a 3d array
by
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
Top
Post a reply
1 post • Page
1
of
1
Return to Help requests