Forum Discussion
Altera_Forum
Honored Contributor
14 years agoNIOS simulation in Modelsim
Hi! My boss asked me to put together a NIOS system and simulate it successfully in Modelsim, and then show him how to do it. I was able to get the "Hello World" example to work (only when the ...
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Got it to work. Turned on the small C library and changed the NIOS so that it didn't have a cache. This made it easier to track each instruction in modelsim. Disabling the full C library made the sim run faster. Evidently the processor takes quite a while in simulation to boot up and load the necessary data, so changing settings to speed up this process works better. For simulation purposes on larger designs in the future I think that I'll have to simulate it overnight and optimizing the sim so that it won't take forever. --- Quote End --- can you please tell me how do you keep track of nios instructions execution in modelsim? and how to simulate our design when there is one custom component inside the qsys system? I appreciate if you attach any tutorial or picture of your qsys system. thanks