Altera_Forum
Honored Contributor
18 years agoHow to simulate SRAM with modelsim on a NIOS II system?
Hello all,
I'm working on my own NIOSII custom board. My board has a SRAM, Flash and SDRAM memories. My question is: what is the process to obtain a sram simulation model for my testbench in modelsim? For the SDRAM, I use the altera SDRAM controller and I selected the simulation model checkbox in the component editor so it is ok, but for the SRAM and the FLASH which are on the same tristate avalon bridge I can't select any option to create simple SRAM or FLASH simulation models. I created SRAM and FLASH avalon controllers with component editor option (just added avalon interface for both memories in fact). I saw that there is a simulation model checkbox option for the provided SRAM controller from Altera dev kits, is it possible to retreive a simple SRAM vhdl model for my own SRAM or do I need to code it from scratch? Thank you in advance for any help on that topic. Regards, -Pierre