Dylan01
Newbie level 5
failed to open readmem file
I want to read a data file and take the data in memory,
while using following
$readmemb("data.dat", memory); (memory is a register array)
modelsim giving following error
** Warning: (vsim-7) Failed to open readmem file "data.dat" in read mode.
and it is not reading the correct data.
Why this error is coming and what is the solution.contents of data.dat are :
@000
00010010
00000011
@002
11111111 01010101
00000000 10101010
@006
1111zzzz 00001111
someone plz suggest solution
I want to read a data file and take the data in memory,
while using following
$readmemb("data.dat", memory); (memory is a register array)
modelsim giving following error
** Warning: (vsim-7) Failed to open readmem file "data.dat" in read mode.
and it is not reading the correct data.
Why this error is coming and what is the solution.contents of data.dat are :
@000
00010010
00000011
@002
11111111 01010101
00000000 10101010
@006
1111zzzz 00001111
someone plz suggest solution