K
Kevin Neilson
Guest
"John Vinyard" <jvinyard@stanford.edu> wrote in message
news:bfp8ks$q1q$1@news.Stanford.EDU...
-Kevin
news:bfp8ks$q1q$1@news.Stanford.EDU...
are you having? Do you get any warnings?I have a memory model in verilog made with an array of registers. I'm
trying to load data into it from a file in simulation, specifically using
MTI's Modelsim 5.7 SE. Trial and error with the $readmemh command is not
working. Any help you could give would be greatly appreciated.
reg [Data_Width-1:0] memory[65535:0];
Right now, I would settle for some way to execute a script from a file,
something like:
memory[0] = 36'hfeedfacea;
memory[1]...
Thanks in advance!
- John
I've used $readmemh with Modelsim with great success. What kind of problems
-Kevin