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

[request] library support for filesets #90

Open
WRoenninger opened this issue Apr 27, 2022 · 0 comments
Open

[request] library support for filesets #90

WRoenninger opened this issue Apr 27, 2022 · 0 comments

Comments

@WRoenninger
Copy link

WRoenninger commented Apr 27, 2022

To revive the library discussion started in #55.

For a lot of the VHDL designs I've seen recently, there was heavy usage of different libraries for each of the sub IP designs.
As far as I am aware, the scripts generated by Bender all use the default library work as the generated scripts do not specify it.
Patching the generated scripts is a solution, but can be a bit of a hassle when writing the Bender.yml description for more complex VHDL sub-design with different used libraries.

I think there is the opportunity here to extend the functionality of the Bender.yml description for filesets by adding the field library or something similar:

 # Grouped source files may have additional include dirs, defines, target and library:
- include_dirs:
  - src/include
  - src/stuff/include
  defines:
  # Define without a value.
    EXCLUDE_MAGIC: ~
  # Define with a value.
    PREFIX_NAME: stuff
  target: all(asic, synthesis, freepdk45)
  library: core_lib
  files:
  - src/core/pkg.sv
  - src/core/alu.sv
  - src/core/top.sv

My Rust expertise is not the best though, but I think this could be quite easily added.

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

1 participant