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

[Enhancement] Mapping libraries and files from other sources #112

Closed
rishubn opened this issue Jun 22, 2021 · 2 comments
Closed

[Enhancement] Mapping libraries and files from other sources #112

rishubn opened this issue Jun 22, 2021 · 2 comments

Comments

@rishubn
Copy link

rishubn commented Jun 22, 2021

Hi!

I use xeda for building and managing HDL projects and it also uses a similar TOML file for project management and enumerating sources: https://github.com/XedaHQ/xeda#xeda-project-file

It is a pain to maintain both xedaproject.toml and vhdl-ls.toml especially given they do the same thing. Would it be possible to add support for defining sources from xedaproject.toml, or perhaps implement something in a more generic way? Most people use build systems of some kind which already require the project files to be listed, so it may be beneficial to provide a mechanism to integrate with these.

I would be willing to learn Rust and submit a PR (with some kind pointers to where to look in rust_hdl).

Thanks!

@rishubn rishubn changed the title Mapping libraries and files from other sources [Enhacement] Mapping libraries and files from other sources Jun 22, 2021
@rishubn rishubn changed the title [Enhacement] Mapping libraries and files from other sources [Enhancement] Mapping libraries and files from other sources Jun 22, 2021
@umarcor
Copy link

umarcor commented Jun 22, 2021

or perhaps implement something in a more generic way? Most people use build systems of some kind which already require the project files to be listed, so it may be beneficial to provide a mechanism to integrate with these.

You might find https://umarcor.github.io/osvb/apis/core.html interesting. See also https://umarcor.github.io/osvb/apis/tool.html.

@kraigher
Copy link
Member

kraigher commented Dec 7, 2022

Basically all tools have their own project file and there is no standard. The common way is to have one master file and generate the other files from it. Adding support to VHDL LS for reading a lot of different project files just complicates the project and is not desirable for us. The user has to use tools to create a vhdl_ls.toml from their own master file if they want single source of information.

@kraigher kraigher closed this as completed Dec 7, 2022
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

No branches or pull requests

3 participants