Step 2: Building the Simulation Snapshot - 2021.2 English

Vivado Design Suite Tutorial: Logic Simulation

Document ID
UG937
Release Date
2021-11-10
Version
2021.2 English

In this step, you use the xelab command on the project script you previously edited (simulate_xsim.prj) to elaborate, compile, and link all the sources for the design. The xelab utility creates a simulation snapshot that lets you to simulate the design in the Vivado® simulator.

The typical xelab command syntax is:

xelab -prj <project_file> -s <simulation snapshot> <library>.<top_unit>

where,

  • -prj <project_file>: Specifies a Vivado simulation project script to use for input.
  • -s <simulation_snapshot>: Specifies the name of the output simulation snapshot.
  • <library>.<top_unit>: Specifies the library and top-level module of the design.