Forum Discussion
HKühn
New Contributor
6 years agoHow to Simulate a ROM initialized with a *.if File is Modelsim-Altera.
Hello, I am using Quartus Prime Lite Edition to programm a MAX10 (10M08SAU169C8G). I wanted to add a ROM which is initialized with a .mif File. The design compiles and ROM works fine on the FPGA. I a...
AnandRaj_S_Intel
Regular Contributor
6 years agoHi Holger,
Your ROM design is not having a write-enable(wren) signal?
The test bench is not correct, You have to consider read and write latency.
After giving address waiting for at least 2 clock cycles for read or write from the memory.
For example, you can refer below project which can be run using do,do file or testbench.do file.
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Regards
Anand