Template
master
Usage
- Add sources definitions (modules and tb) in
setup_workspace.bat/sh. - Run
setup_workspace.bat/sheverytime you add new sources to the project. - Compile/elaborate project using
elaborate.bat/shwhen you finished code. - If every steps above executed successfully, you can run
run_simu.bat/shto generate GWD file. - The GWD file can be viewed using gtkwave software.
VUnit
Python 3.8+ is mandatory. On Windows platform, VUnit 5.0+ is required to use mcode backend on Windows or use NVC simulator instead of GHDL backend.
- Install a python venv with vunit_hdl (using requirements.txt).
- Use the vunit_run.py alone:
python vunit_run.py. - Or for debugging with waves:
python vunit_run.py -g --gtkwave-fmt ghw --gtkwave-args "-r gtkw/gtkwaverc -a gtkw/save_tb.gtkw".
Languages
Batchfile
41%
Shell
39.2%
Python
19.8%