The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> Logic Simulators >> verilog - print to file a 3d arrayHi,  How do i export to file a 3d array in ver
https://designers-guide.org/forum/YaBB.pl?num=1286184117

Message started by uzicohen10 on Oct 4th, 2010, 2:21am

Title: verilog - print to file a 3d arrayHi,  How do i export to file a 3d array in ver
Post by uzicohen10 on Oct 4th, 2010, 2:21am

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.

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.