Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17054 Discussions

Using ModelSim and Nios II

Altera_Forum
Honored Contributor II
1,023 Views

Hi 

 

My project involves a Nios II processor with on-chip dual port memory that I would like accessible from within the processor and custom logic. I'm using a Avalon Memory Master Template to make the memory accessible to my external logic. 

 

Currently I'm launching ModelSim from within 'Nios II 12.0 Software Build Tools for Eclipse'. However the simulator doesn't seem to register the changes to memory made by my external logic. Should it be able to do this? 

 

Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
390 Views

I solved my problem. I needed to change the simulation files so my top file was also 'top' during the simulation.  

 

Running ModelSim from Eclipse automatically makes the Nios II itself the 'top'.  

 

You can find the tutorial I used by going to the AlteraWiki website and searching 'Simulating Designs with Lower-Level Qsys Systems' (I don't seem to be able to post links).
0 Kudos
Reply