EDA Interfaces

5. Perform a Functional Co-Simulation with the ESS Model, ModelSim Software, and GDB 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 GNUPro arm-elf-gdb software debugger on Solaris workstations.

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 arm-elf-gdb software debugger on Solaris workstations.

To run the simulation and view the software operation in the arm-elf-gdb software 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 arm-elf-gdb software debugger.

  4. To open the debug image:

    1. Choose Open (File menu).

    2. Select the debug image.

    3. Click OK.

  5. To configure the simulator target:

    1. Choose Connect to Target (Run menu). The Connect to Target dialog box appears.

    2. In the Target box, specify Remote/TCP.

    3. In the Hostname box, specify localhost.

    4. In the Target box, specify 9998.

    5. Click OK.

  6. Make sure the GDB dialog box displays that you are successfully connected to the ModelSim software. You now have full software debug control over execution of the ARM® program.

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

  8. To start simulation of the Excalibur embedded processor stripe and the PLD portion of the device, choose Continue, Run, or step through the instructions or high-level code.

  9. To restart or end the functional co-simulation, choose Run > Disconnect to disconnect the arm-elf-gdb debugger from the ESS model.

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.