We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When moving to using pathlib (commit 1af5128) I believe there's a mistake here
vunit/vunit/sim_if/modelsim.py
Lines 72 to 73 in bcdabe4
The previous code searched for modelsim.ini one level above the executable:
modelsim.ini
def has_modelsim_ini(path): return os.path.isfile(join(path, "..", "modelsim.ini"))
A suggested fix would be
def has_modelsim_ini(path): return os.path.isfile(str(Path(path).parent / "modelsim.ini"))
The text was updated successfully, but these errors were encountered:
If the vsim executable can be located, one could use vmap to work out where modelsim.ini is (it also respects the MODELSIM environment variable)
vsim
vmap
MODELSIM
$ vmap Reading /home/souto/modelsim/modeltech/linux_x86_64/../modelsim.ini "std" maps to directory /home/souto/modelsim/modeltech/linux_x86_64/../std. "ieee" maps to directory /home/souto/modelsim/modeltech/linux_x86_64/../ieee. ...
Sorry, something went wrong.
fix pathlib conversion (VUnit#632)
bb53c03
I applied the suggested fix. Thanks for reporting!
Implemented in #975. Thanks for the idea!
No branches or pull requests
When moving to using pathlib (commit 1af5128) I believe there's a mistake here
vunit/vunit/sim_if/modelsim.py
Lines 72 to 73 in bcdabe4
The previous code searched for
modelsim.ini
one level above the executable:A suggested fix would be
The text was updated successfully, but these errors were encountered: