|
|
|
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.
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:
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 arm-elf-gdb software debugger.
To open the debug image:
Choose Open (File menu).
Select the debug image.
Click OK.
To configure the simulator target:
Choose Connect to Target (Run menu). The Connect to Target dialog box appears.
In the Target box, specify Remote/TCP
.
In the Hostname box, specify localhost
.
In the Target box, specify 9998
.
Click OK.
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.
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 Continue, Run, or step through the instructions or high-level code.
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.
- PLDWorld - |
|
Created by chm2web html help conversion utility. |