Visible to Intel only — GUID: yma1710432742127
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: yma1710432742127
Ixiasoft
3.1.3.3. Synopsys* VCS* 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 Cadence® setup script.
- You can locate it at <project directory>/<Platform Designer design name>/sim/synopsys/vcs/.
- Locate vcs_setup.sh.
- For this example, the simulator is executed in the sim/synopsys directory where the vcs_setup.sh file is located. Change directory to the sim/synopsys/vcs directory:
cd <project directory>/<Platform Designer design name>/ \ sim/synopsys/vcs/
- Copy the vcs_setup.sh file to another file. For this exercise, it is called my_vcs_script.sh.
cp vcs_setup.sh my_vcs_script.sh
- In your my_vcs_script.sh file, delete everything except the section between the lines from "TOP-LEVEL TEMPLATE - BEGIN" to "TOP-LEVEL TEMPLATE - END".
- In your my_vcs_script.sh file, add additional libraries and flags by adding the following lines at the top of the file:
rm -rf csrc simv simv.daidir transcript ucli.key \ vc_hdrs.h (optional) MVCHOME=<ACDS directory>/ip/altera/mentor_vip_ae/common/ export QUESTA_MVC_GCC_LIB=${MVCHOME}/questa_mvc_core/ \ linux_x86_64_gcc-6.2.0_vcs export LD_LIBRARY_PATH=${VCS_HOME}/gnu/linux/gcc-6.2.0/lib64 export LDFLAGS="-L ${QUESTA_MVC_GCC_LIB} -Wl,-rpath \ ${QUESTA_MVC_GCC_LIB} -laxi4_IN_SystemVerilog_VCS_full_DVC "
- Pre-assign USER_DEFINED_ELAB_OPTIONS mentioned in the template as the following:
USER_DEFINED_ELAB_OPTIONS="\"\ -full64 \ -timescale=1ns/1ns \ +vpi -debug_access+r+w+nomemcbk +vcs+lic+wait \ ../../TopLevel.v \""
- Uncomment and modify the lines which sources the vcs_setup.sh script to the following:
source vcs_setup.sh \ TOP_LEVEL_NAME=TopLevel \ USER_DEFINED_ELAB_OPTIONS="$USER_DEFINED_ELAB_OPTIONS" \ USER_DEFINED_SIM_OPTIONS="'-l transcript'"
- Save the my_vcs_script.sh file.
- Setup your developer environment with the proper resources. Refer to Synopsys* documentation for downloading, installing, and licensing.
- Run the simulation script:
sh my_vcs_script.sh
- 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.