The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Mar 28th, 2024, 2:36am
Pages: 1
Send Topic Print
verilog - print to file a 3d arrayHi,  How do i export to file a 3d array in ver (Read 3377 times)
uzicohen10
New Member
*
Offline



Posts: 1

verilog - print to file a 3d arrayHi,  How do i export to file a 3d array in ver
Oct 04th, 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.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.