The example design provides a quick method to simulate and observe the behavior of the IP Core generated using the AMD Vivado™ Design Suite.
The currently supported simulators are:
- Vivado simulator (default)
- Mentor Graphics Questa Advanced Simulator
The simulator uses the example design test bench and test cases provided along with the example design for the design configuration.
For Versal™ Adaptive SoC PHY for PCIe® core out of the box example design, the simulations using the default Vivado simulator can be run as follows:
- In the Sources Window, right-click the example project file
(.
xci
), and select Open IP Example Design.The example project is created.
- In the Flow Navigator (left-hand pane), under Simulation, left-click
Run Simulation and select Run Behavioral Simulation.Important: The post-synthesis and post-implementation simulation options are not supported for the Versal™ Adaptive SoC PHY for PCIe® core.
After the Run Behavioral Simulation Option is running, you can observe the compilation and elaboration phase through the activity in the Tcl Console, and in the Simulation tab of the Log Window.
- In Tcl Console, type the run all command and press Enter. This
runs the complete simulation as per the test case provided in example design
test bench.
After the simulation is complete, the result can be viewed in the Tcl Console.
In Vivado IDE, change the simulation settings as follows:
- In the Flow Navigator, under Simulation, select Simulation Settings.
- Set the Target simulator to QuestaSim/ModelSim Simulator, Incisive Enterprise Simulator (IES), or Verilog Compiler Simulator.
- In the simulator tab, select .
- When prompted, click Yes to change and then run the simulator.
The simulation environment provided with the AMD Versal™ Adaptive SoC PHY for PCIe® core performs rate change operation in the same sequence as described in the Generating Example Design. The simulation environment has the target speed set to Gen3.