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
xelab command syntax is:
xelab -prj <project_file> -s <simulation snapshot> <library>.<top_unit>
-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.