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' ...
RichardT_altera
Super Contributor
4 years agoThe $readmemh does work with Quartus. I suspecting design coding style.
Could you try to integrate the Quartus ROM template in your design?
Right click on any design file -> Insert template -> Verilog/VHDL -> RAMs and ROMs -> Dual Port ROM.