-
Notifications
You must be signed in to change notification settings - Fork 212
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
Add run.py dump of VHDL-LS library mapping #494
Conversation
Hey there. This looks like a really great tool! I have vscode installed, but I never really tried that as I was not sure about the tool's VHDL capabilities 😅
Just to make sure I understand this correctly: the modifications to the do.py script will generate the configuration file? So this could be uploaded as GitHub workflow asset for people to "just download and use it"? The workflow currently fails because of the missing |
Yes the code I added to the Yes |
I guess a blocker to having the |
I pushed another commit to the PR now that will only generate the |
Thanks for clearing! I think I really like this. I need to test this on my system... Anyway, would you add some words (links) to the user guide how to setup/install this? I think this would be something people (including me!) could benefit from. 😅 |
Sure where in the user guide should I put it? I pushed another commit that writes the |
Great, thanks!
👍:+1: |
@stnolting I pushed a new |
That was fast! :D |
Hi I am working on a VHDL language server (https://github.com/VHDL-LS/rust_hdl) that I think could be useful to you when developing neorv32.
It is able to analyze the entire neorv32codebase as well as its dependencies VUnit and OSVVM.
It provides type checking, goto definition and find references for the entire codebase and takes just 120 ms to load it.
The configuration file that provides the library mapping can be automatically generated by the VUnit run.py file and is provided by this PR. To run it you need to install the toml python package from pypi.
The easiest way to try is to install the VSCode extension: https://marketplace.visualstudio.com/items?itemName=hbohlin.vhdl-ls
The language server is a 100% static binary that is installed automatically by the extension.
Since it is a language server (https://microsoft.github.io/language-server-protocol/) is will work in emacs and vim as well if you prefer those instead of VSCode.