Forum Discussion
Altera_Forum
Honored Contributor
11 years agoInitialise content in external memory when simulating a qsys system
The Qsys system I want to simulate includes external memory (DDR2) from which a large number of data will be loaded by the custom component in the system for processing. My question is how I can init...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I'm not sure where the memory array is --- Quote End --- Load the design in Modelsim and then use the hierarchy display to understand how it is instantiated. As Ted points out, Modelsim is smart enough to identify memory blocks, and you can use "mem load" to load it. Personally I like to use HDL to load the memory if I can, since they I can load the memory multiple times without having to coordinate a Modelsim Tcl script and the testbench code. Cheers, Dave