Using multiple files for simulation can be awkward to manage at times.
Vivado has a feature which conveniently arranges the files into different simulation sets which can be accessed easily.
This Answer Record describes how to use Multiple Simulation Sets in Vivado.
The Vivado IDE groups simulation source files in simulation sets that display in folders in the Sources window, and are either remotely referenced or stored in the local project directory.
The simulation set allows you to define different sources for different stages of the design.
For example, there can be one simulation source to provide stimulus for behavioral simulation of the elaborated design or a module of the design, and a different test bench to provide stimulus for timing simulation of the implemented design.
When adding files to the project, you can specify which simulation source set to add the files to.
To create multiple simsets (Simulation Sets), follow the steps below:
Note: The simset which is set as Active would be used for running simulation.
You can select the new simset by two methods:
Method 1:
Method 2:
If using the command line, there is a switch in the launch_simulation command to pick the respective simulation set.
-simset <arg> - (Optional)
The name of the simulation fileset containing the simulation test benches and sources to be used during simulation.
If not specified, the current simulation fileset is used.
Example:
launch_simulation -simset [get_filesets my_simset]
Answer Number | 问答标题 | 问题版本 | 已解决问题的版本 |
---|---|---|---|
58799 | Xilinx Simulation Solution Center - Design Assistant - Vivado Simulator | N/A | N/A |
AR# 64111 | |
---|---|
日期 | 04/17/2015 |
状态 | Active |
Type | 综合文章 |
Tools |