Minor Release 4.14.0
Pull Requests Since 4.13.1
Unlabeled
- #323 - Modelsim/Questa simulation script generation
Pull Request Details
Modelsim/Questa simulation script generation
Author: | Larry Ruckman [email protected] |
Date: | Thu Jun 13 08:29:19 2024 -0700 |
Pull: | #323 (264 additions, 21 deletions, 2 files changed) |
Branch: | FilMarini/msim |
Notes:
As the
make vcs
command does, nowmake msim
generates a simulation script.
This is very useful for example if you want to integrate the simulation of a ruckus project with cocotb (especially if it is a mixed language simulation, as in VCS, mixed language and cocotb do not mix well).The process is very similar to the VCS script generation. The main difference is that the co-simulation with Rogue is not included.
Maybe I'll add that part in the future, as I currently use VCS for the rogue simulation.So, in sysnthesis:
- Replaced the Modelsim/Questa simulation directly run in Vivado in favor of simulation script generation
- No software co-simulation support for Rogue
- Added possibility of script modification through env. variables:
MSIM_PATH
: in case Modelsim/Questa not inPATH
, this variable points to the simulator folderMSIM_LIB_PATH
: path to the simulation libraries. If not set, the default path is${VIVADO_INSTALL}/msim-${VersionNumber}
MSIM_CARGS_VERILOG
: extra compile options for verilogMSIM_CARGS_VHDL
: extra compile options for VHDLMSIM_ELAB_FLAGS
: extra elaboration optionsMSIM_RUN_FLAGS
: extra simulation launch optionsMSIM_RUN_GUI
: run simulation with GUI (true
/false
)MSIM_DUMP_VCD
: dump VCD file from simulation (true
/false
)