Specifications
On the Advanced tab, you can control the following memory characteristics:
• The physical memory width.
• The device's name in the hardware system.
• The memory initialization file parameter name. Every memory device can have an HDL parameter
specifying the name of the initialization file. The Nios II ModelSim launch configuration overrides the
HDL parameter to specify the memory initialization filename. When available, this method is
preferred for setting the memory initialization filename.
• The Mem init filename parameter can be used in Nios II systems as an alternative method of
specifying the memory initialization filename. The Mem init filename parameter directly overrides
any filename specified in the HDL.
• Connectivity to processor master ports. These parameters are used when creating the linker script.
• The memory type: volatile, CFI flash or EPCS flash.
• Byte lanes.
• You can also enable and disable generation of the following memory initialization file types:
• .hex file
• .dat and .sym files
• .flash file
Related Information
Publishing Component Information to Embedded Software on page 13-1
For more information about this parameter, refer to "Embedded Software Assignments".
Running a Nios II System with ModelSim
You can run a Nios II program on Nios II hardware, such as an Altera development board, or you can run
it in the Nios II ModelSim simulation environment.
Note:
If your project was created with version 10.1 or earlier of the Nios II SBT, you must re-import it to
create the Nios II launch configuration correctly.
Using ModelSim with an SOPC Builder-Generated System
If your hardware system was generated by SOPC Builder, running a software project in ModelSim is very
similar to running it on Nios II hardware.
To run Nios II software project in ModelSim, right-click the application project name, point to Run As,
and click Nios II ModelSim.
Similarly, to debug a software project in ModelSim, right-click the application project name, point to
Debug As, and click Nios II ModelSim.
Related Information
Running the Project on Nios II Hardware on page 2-5
Using ModelSim with a Qsys-Generated System
To run a Qsys-generated Nios II system with ModelSim, you must first create a simulation model and
testbench, and specify memory initialization files. You create your Nios II simulation model and
testbench using the steps that apply to any Qsys design.
NII5V2
2015.05.14
Running a Nios II System with ModelSim
2-33
Getting Started with the Graphical User Interface
Altera Corporation
Send Feedback