Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vivado Simulation Script

These scripts allow to run the vivado simulator, xsim, from the command line in a single or multiple monitor setup.

Requirements:

Layout:

run.sh                  : single bash script to run the whole simulation
└─── compile.sh         : compiles the rtl and tb code using xvlog, xvlog -sv, xvhdl as needed
└─── elaborate.sh       : elaborates the tb design and creates a snapshot of the design using xelab
└─── simulate.sh        : performs the simulation using xsim
|   └─── waves.tcl      : configures the waves for the simulation

How to use:

  1. Run make (multiple monitors) or make run (single monitor) depending on monitor configuration. Please refer to "make help" for more details.

Notes:

Vivado has a multiple monitor issue AR#72614 which is still present in xsim even after applying the patch of AR#72614. The issue stems from a "Window must not be zero" issue due to a well documented java bug. To address this issue with my code and monitor setup, the make file creates a virtual display using Xephyr and Openbox. Xsim is then forced to open into this virtual display so that it believes there is only one display/monitor. The simulation executes and runs nominally.

Xilinx References:

Copywrite and License

Copyright 2021 Aaron Pitcher

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages