Skip to content
New issue

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

sim_if/modelsim: use vmap to find modelsim.ini #975

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bjornfor
Copy link

@bjornfor bjornfor commented Nov 7, 2023

  • This creates a single source of truth for finding modelsim.ini. It is
    now possible to use MODELSIM=/path/to/custom/modelsim.ini and both
    ModelSim and vunit will use that. (The VUNIT_MODELSIM_INI environment
    variable can still be used to override modelsim.ini only for vunit.)
  • This fixes detecting modelsim.ini in the quartus-prime-lite package
    from https://github.com/nixos/nixpkgs, which exposes binaries at
    $prefix/bin, but has no $prefix/modelsim.ini, because the latter would
    be an FHS violation.

@bjornfor bjornfor force-pushed the use-vmap-to-find-modelsim-ini branch from bdb36ef to 250d9c2 Compare November 7, 2023 10:49
* This creates a single source of truth for finding modelsim.ini. It is
  now possible to use MODELSIM=/path/to/custom/modelsim.ini and both
  ModelSim and vunit will use that. (The VUNIT_MODELSIM_INI environment
  variable can still be used to override modelsim.ini only for vunit.)
* This fixes detecting modelsim.ini in the quartus-prime-lite package
  from https://github.com/nixos/nixpkgs, which exposes binaries at
  $prefix/bin, but has no $prefix/modelsim.ini, because the latter would
  be an FHS violation.
@bjornfor
Copy link
Author

@LarsAsplund: Friendly ping?

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