|
|
|
After you have set up the Model Technology ModelSim® software, you can perform functional co-simulation of a ARM®-based Excalibur Verilog or VHDL design with an instantiation of alt_exc_stripe with the ModelSim software by using the Excalibur Stripe Simulator (ESS) model and connecting to the AXD software debugger on PCs.
You can use the ESS model to simulate Verilog designs with the ModelSim PE/SE (non-OEM) and ModelSim-Altera® (OEM) software, and simulate VHDL designs with the ModelSim SE software. The ESS model can be targeted from the AXD, ADW, Mentor Graphics® XRAY, and GNUPro arm-elf-gdb software debuggers on PCs. |
To run the simulation and view the software operation in the ARM® Developer Suite AXD debugger:
If you have not already done so, perform 3. Set Up a Functional Co-Simulation with the ESS Model and the ModelSim Software.
To begin the functional simulation in the ModelSim software, type run -all
at the ModelSim prompt. The ModelSim software waits for a connection from the debugger through TCP port 9998.
Start the AXD software.
To select the ESS model as the target simulator:
Choose Configure Target (Options menu). The Choose Target dialog box appears.
If ESS-RDI.dll does not appear in the list of environments, click Add to open the file, which is located in the \<Quartus® II installation directory\bin directory.
Select ESS-RDI.dll.
To configure the simulator target:
Click Configure. The ESS Options dialog box appears.
Click the Standard Options tab.
Turn on Connect to logic simulator. Make sure all other options are grayed out.
Click OK.
Click OK in the Choose Target dialog box.
Make sure Logic Simulator connection successful
appears in the AXD RDI window. AXD is now connected to the ESS model in the ModelSim software.
To load the source debug symbols, select Load Debug Symbols (File menu) and choose the file with the debug symbols for the ARM program source code.
Insert software breakpoints and data watch points as required.
To start simulation of the Excalibur embedded processor stripe and the PLD portion of the device, choose Go (Execute menu), or step through the instructions or high-level code.
Make sure the memory initialization files are in the simulation directory, and that the stimulus is provided for signals nPOR and CLK_REF . |
For more information on running the software debugger, or for more information on the pins, signals, Excalibur stripe registers, and UART registers supported by the ESS model, refer to the Excalibur Stripe Simulator User Guide, which is located in the \<Quartus II installation directory>\eda\sim_lib\excalibur\docs directory.
- PLDWorld - |
|
Created by chm2web html help conversion utility. |