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

Alternative configuration with VUnit run.py instead of vhdl_ls.toml #15

Open
Gzah92 opened this issue Mar 10, 2020 · 2 comments
Open

Alternative configuration with VUnit run.py instead of vhdl_ls.toml #15

Gzah92 opened this issue Mar 10, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Gzah92
Copy link

Gzah92 commented Mar 10, 2020

It would be great if it was possible to use a VUnit run.py file as configuration source instead of the vhdl_ls.toml. The common VUnit distributions contain commonly used libraries, and all project source code is associated to libraries in the file as well. In the current way absolute paths have to be used to specify the location of e.g. the location of OSVVM, making the file not portable and not a part of any repository, increasing setup time.
While it should be really simple to adapt the run.py to create the vhdl_ls.toml, maybe this could as well be directly integrated into the extension?
Would also fit nicely with the vunit-test-explorer.
Thanks for your consideration!

@Bochlin Bochlin added the enhancement New feature or request label Apr 1, 2020
@Bochlin
Copy link
Member

Bochlin commented Apr 1, 2020

Sounds like a decent enhancement. I think that this should be an option which is disabled by default and if enabled, regenerate the vhdl_ls.toml file each time the run.py is executed in order to update the test cases.

The alternative would be to do this in vunit-test-explorer as the logic is already in place to manage a run.py file.

@jakobjung10
Copy link

@Gzah92 Creating the vhdl_ls.toml from a run.py is supported in VHDLbyHGB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants