Skip to content

Minor Release 4.14.0

Compare
Choose a tag to compare
@ruck314 ruck314 released this 14 Jun 01:17
· 30 commits to main since this release
b4fbcab

Pull Requests Since 4.13.1

Unlabeled

  1. #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, now make 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 in PATH, this variable points to the simulator folder
    • MSIM_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 verilog
    • MSIM_CARGS_VHDL: extra compile options for VHDL
    • MSIM_ELAB_FLAGS: extra elaboration options
    • MSIM_RUN_FLAGS: extra simulation launch options
    • MSIM_RUN_GUI: run simulation with GUI (true/false)
    • MSIM_DUMP_VCD: dump VCD file from simulation (true/false)