Forum Discussion
Kun_Digital_Design
New Contributor
4 years agoFailure for initialization ROM memory by using $readmemh task
Hi,
I initialized my ROM memory (instr_mem) by using the $readmemh task. The ROM was successfully complied and simulated, but the waveform show 32'hxxxxxxxx in instr_mem. It seems the 'instr_mem' ...
Kun_Digital_Design
New Contributor
4 years agoWhat version of Quartus? Quartus Prime # Version 20.1.1
Show the contents (at least some lines, not all) of your memory init file.
2402000a 24080005 2509012c 240a01f4 254b0022 256b002d 0000000c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
In your waveform display, can you add other signals like addr1[5:0]?