Altera_Forum
Honored Contributor
13 years agoFatal: (vsim-4) when trying to use SDRAM Controller Generic Memory Model
I'm trying to simulate a Qsys system with a Nios II processor running code from an external SDRAM, with Modelsim ASE. In order to get a simple RTL simulation, I would like to use the Altera Generic Memory Model, as suggested in Embedded Peripherals IP user guide (p.2-8).
When I try to run my hello world application, Modelsim ASE crashes with a "Memory Allocation Failure" error message, code vsim-4. This error disappears when I deselect the "Include a functional memory model in the system testbench" checkbox while istantiating the SDRAM controller core (although in this case I obviously can't run my code). Any suggestion to get the things working? Thank you in advance for any help you can give. Regards, Lorenzo