yushionly
Junior Member level 2
in my file.v : $readmemh("romdata.dat",memory,0,12);
and my romdata.dat file:
c0 00
b0 01
b0 02
b0 03
e0 00
00 01
when i command "run 1us" in simvision,i got this message:
readmem errorpen failed on file "romdata.dat"
how can i solve the problem?thanks
note:the romdata.dat and .v file in a same floder
---------- Post added at 12:58 ---------- Previous post was at 11:23 ----------
i have solved the problem,.dat file not in the source floder
and my romdata.dat file:
c0 00
b0 01
b0 02
b0 03
e0 00
00 01
when i command "run 1us" in simvision,i got this message:
readmem errorpen failed on file "romdata.dat"
how can i solve the problem?thanks
note:the romdata.dat and .v file in a same floder
---------- Post added at 12:58 ---------- Previous post was at 11:23 ----------
i have solved the problem,.dat file not in the source floder