I'm trying to read a memory file using $readmemh
, but I'm not sure what the correct file format is since I'm seeing a warning.
In my testbench, I have the following:
reg [7:0] progmem [4095:0];
initial begin
$readmemh("progmem.txt", progmem);
end
And progmem.txt
contains:
01
03
ff
00
and so on for a total of 4096 rows. When running the testbench, vvp
displays:
$readmemh: Standard inconsistency, following 1364-2005
I have tried looking this up, but I haven't found an explanation as to what that actually means.