Visible to Intel only — GUID: wfw1710187979666
Ixiasoft
2.1. Parameterizing the HPS Component
2.2. HPS-FPGA Interfaces
2.3. SDRAM
2.4. HPS Clocks, Reset, Power
2.5. I/O Delays
2.6. Pin Mux and Peripherals
2.7. Generating and Compiling the HPS Component
2.8. Using the Address Span Extender Component
2.9. Configuring the Agilex™ 5 Hard Processor System Component Revision History
2.2.1.1. Enable MPU Standby and Event Signals
2.2.1.2. Enable General Purpose Signals
2.2.1.3. Enable Debug APB* Interface
2.2.1.4. Enable System Trace Macrocell (STM) Hardware Events
2.2.1.5. Enable SWJ-DP JTAG Interface
2.2.1.6. Enable FPGA Cross Trigger Interface
2.2.1.7. Enable AMBA* Trace Bus (ATB)
3.1. Simulation Flows
3.2. Running the Simulation of the Design Examples
3.3. Clock and Reset Interface
3.4. FPGA-to-HPS AXI* Subordinate Interface
3.5. FPGA-to-SDRAM AXI* Subordinate Interface
3.6. HPS-to-FPGA AXI* Initiator Interface
3.7. Lightweight HPS-to-FPGA AXI* Initiator Interface
3.8. Simulating the Agilex™ 5 HPS Component Revision History
Visible to Intel only — GUID: wfw1710187979666
Ixiasoft
3.1.3.1. QuestaSim* Simulation Steps
- Locate your top-level simulation model.
- You can locate it at <project directory>/<Platform Designer design name>/sim/.
- Use the name located from the previous step (step a) to replace the placeholder names TopLevel.v and TopLevel that are used in the following steps.
- Locate the Mentor Graphics* setup script.
- You can locate it at <project directory>/<Platform Designer design name>/sim/mentor/.
- Locate msim_setup.tcl.
- For this example, the simulator is executed in the sim/mentor directory where the msim_setup.tcl script is located. Change directory to the sim/mentor directory:
cd <project directory>/<Platform Designer design name>/ \ sim/mentor/
- Copy the msim_setup.tcl file to another file. For this exercise, it is called my_msim_script.do.
cp msim_setup.tcl my_msim_script.do
- In your my_msim_script.do file, delete everything except the section between the lines from "TOP-LEVEL TEMPLATE - BEGIN" to "TOP-LEVEL TEMPLATE - END".
- In your my_msim_script.do file, uncomment and modify the following lines:
source msim_setup.tcl dev_com com vlog -timescale 1ps/1ps ../TopLevel.v set TOP_LEVEL_NAME TopLevel elab run -a exit -code 0 (optional)
- Setup your developer environment with the proper resources. To get comprehensive information for downloading, installing, and licensing Intel FPGA software. Go to this link: Introduction to Intel FPGA Software Installation and Licensing.
- Run the simulation script. You also have to pass the mentor common directory as an argument. Run the following:
vsim -mvchome $QUARTUS_ROOTDIR/../ip/altera/ \ mentor_vip_ae/common -do my_msim_script.do
- The simulation is running without any errors. Since no testbench is added, it only shows that all the HPS IP simulation files were successfully compiled and elaborated using vsim.