Skip to content

Conversation

@asicnet
Copy link

@asicnet asicnet commented Oct 4, 2025

In File modelsim.py method _create_modelsim_ini

Many problems arise when libraries already exist or when certain files—usually protected—need to be precompiled. This can be solved with env. VUNIT_MODELSIM_INI, but not if modelsim.ini changes after vunit compile or even during it. The initial modelsim.ini must first be adjusted again because vunit creates a new modelsim each time. This is a hindrance for very complex designs.
Therefore, the suggestion is NOT to overwrite modelsim.ini if it already exists.


Questasim change the option for modelsim.ini from -modelsimini to -ini.
So add a member ini_flag and change all -modelsimini to f"{self.ini_flag} and add a version check if vsim < 2025 for modelsimini

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant