Generating The Hps Simulation Model In Qsys - Altera cyclone V Technical Reference

Hard processor system
Hide thumbs Also See for cyclone V:
Table of Contents

Advertisement

cv_5v4
2016.10.28
Setting Up the HPS Component for Simulation
The following steps outline how to set up the HPS component for simulation.
1. Add the HPS component from the Qsys Component Library.
2. Configure the component based on your application needs by selecting or deselecting the HPS-FPGA
interfaces.
3. Connect the appropriate HPS interfaces to other components in the system. For example, connect the
FPGA-to-HPS AXI slave interface to an AXI or Avalon-MM master interface in another component in
the system.
When you create your component, make sure the conduit interfaces have the correct role names and
widths. Also make sure the conduit interfaces are opposite in direction to what is shown in the HPS
Conduit Interfaces table.
Related Information
Instantiating the HPS Component

Generating the HPS Simulation Model in Qsys

The following steps outline how to generate the simulation model:
1. In Qsys, click Generate HDL under the Generate menu.
2. Choose between RTL and post–fit simulation
For RTL simulation, perform the following steps:
a. Set Create simulation model to Verilog.
b. Click Generate.
For post–fit simulation, perform the following steps:
a. Turn on the Create HDL design files for synthesis option.
b. Turn on the Create block symbol file (.bsf) option.
3. Click Generate.
Related Information
Instantiating the HPS Component
Creating a System with Qsys
For more information about Qsys simulation, refer to "Simulating a Qsys System" in the Creating a
System with Qsys chapter in volume 1 of the Quartus Prime Handbook.
Running the Simulations
The steps to run a simulation depend on whether you are running an RTL simulation or a post-fit
simulation.
(68)
VHDL is supported for HPS simulation and it requires a mix language simulator. However, the BFMs always
need to be in verilog. Custom components can be in VHDL.
A .bsf file is only needed for schematic entry.
(69)
(70)
This is not a requirement for simulation or implementation unless a schematic is used.
Simulating the HPS Component
Send Feedback
on page 27-1
(68)
on page 27-1
Setting Up the HPS Component for Simulation
(69)(70)
29-5
Altera Corporation

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents