EDA Interfaces

4. Perform a Functional Co-Simulation with the ESS Model, ModelSim Software, and AXD Debugger



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.

NOTE 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:

  1. If you have not already done so, perform 3. Set Up a Functional Co-Simulation with the ESS Model and the ModelSim Software.

  2. To begin the functional simulation in the ModelSim software, type run -all Enter at the ModelSim prompt. The ModelSim software waits for a connection from the debugger through TCP port 9998.

  3. Start the AXD software.

  4. To select the ESS model as the target simulator:

    1. Choose Configure Target (Options menu). The Choose Target dialog box appears.

    2. 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.

    3. Select ESS-RDI.dll.

  5. To configure the simulator target:

    1. Click Configure. The ESS Options dialog box appears.

    2. Click the Standard Options tab.

    3. Turn on Connect to logic simulator. Make sure all other options are grayed out.

    4. Click OK.

  6. Click OK in the Choose Target dialog box.

  7. Make sure Logic Simulator connection successful appears in the AXD RDI window. AXD is now connected to the ESS model in the ModelSim software.

  8. 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.

  9. Insert software breakpoints and data watch points as required.

  10. 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.

    NOTE 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.


Back to Top

- PLDWorld -

 

Created by chm2web html help conversion utility.