AR# 63989

Vivado Simulator - How to skip compilation or simulation in project-mode simulation?

描述

Simulation with the Vivado simulator happens in two phases:
 
  • In the first phase, the simulator compiler xelab, compiles the HDL model into a snapshot, which is a representation of the model in a form that the simulator can execute.
  • In the second phase, the simulator simulates the model by loading the snapshot and executing it (using the xsim command).

In Non-Project Mode, I can reuse the snapshot by skipping the first phase and repeating the second.
 
In Project Mode, each time I select Run Simulation, the simulation will start from compilation, even if a snapshot has been built before.
 
How do I skip compilation or simulation in the project-mode simulation flow? 

解决方案

You can skip the compilation through xelab and/or simulation through the Vivado simulator, using the following:

Compilation:
set_property skip_compilation 1 [get_filesets sim_1]

The Vivado tools will skip the compilation step of Vivado simulator and runs simulation with the existing compiled result.
 
Note: Any change to design files after the last compilation is not reflected in simulation when you set this property.
 
Simulation:
set_property skip_simulation 1 [get_filesets sim_1]
The Vivado tools will skip the execution of simulation step.

You can query all of the simulation fileset properties by using the below Tcl command:
report_property -all [get_filesets sim_1]

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
58799 Xilinx Simulation Solution Center - Design Assistant - Vivado Simulator N/A N/A
AR# 63989
日期 04/07/2015
状态 Active
Type 综合文章
Tools