zahra.nedian
Newbie level 1
hey um zahra final yr student of NED uet ay khi pakistan
is thr nebody who use modelsim as simulation of verilog codes?
and can any one guide me how can i call a data or more precisely image data in modelsim i have converted ma image in hex form via a hexeditor but problem is that i cant initialize ma ram with my data
i was familiar with $readmemh command to call a hex file but its not working
ihave stored image hexa form as image.txt and calling it
$readmemh("image.txt",mem);
where mem is my ram in the program declared as
reg [0:7]image[0:290]..(something lik that)
kindly guys help me out
regards
zahra
is thr nebody who use modelsim as simulation of verilog codes?
and can any one guide me how can i call a data or more precisely image data in modelsim i have converted ma image in hex form via a hexeditor but problem is that i cant initialize ma ram with my data
i was familiar with $readmemh command to call a hex file but its not working
ihave stored image hexa form as image.txt and calling it
$readmemh("image.txt",mem);
where mem is my ram in the program declared as
reg [0:7]image[0:290]..(something lik that)
kindly guys help me out
regards
zahra