The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Apr 29th, 2024, 2:09am
Pages: 1
Send Topic Print
read data using $readmem (Read 3440 times)
bricesg
New Member
*
Offline



Posts: 1

read data using $readmem
Jan 02nd, 2005, 4:34am
 
hi, I am new to verilog, can someone help me with the following problems:  how to read data using the $readmem? what format the data file should be saved as? Thanks!
Back to top
 
 
View Profile   IP Logged
mgehring
New Member
*
Offline



Posts: 6
Portland, OR
Re: read data using $readmem
Reply #1 - Mar 7th, 2005, 12:47pm
 
You may want to try the $table_model function to do this. It is described under "interpolation" in the Nov 2004 V2.2 Accellera manual ( section 10.12, p 232 ).

Mark
Back to top
 
 
View Profile   IP Logged
Andrew Beckett
Senior Fellow
******
Offline

Life, don't talk to
me about Life...

Posts: 1742
Bracknell, UK
Re: read data using $readmem
Reply #2 - Mar 8th, 2005, 1:24am
 
If using $readmem - read the Verilog Reference manual that comes with the software.

Reading the manual is generally a wise thing to do before asking the whole world.

Andrew.
Back to top
 
 
View Profile WWW   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.