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

Vunit dependencies #384

Merged
merged 3 commits into from
Nov 21, 2023
Merged

Vunit dependencies #384

merged 3 commits into from
Nov 21, 2023

Conversation

nopeslide
Copy link
Contributor

@nopeslide nopeslide commented May 18, 2023

I mitigated the problem of #358 by adding a few checks if the fields are present.
Will have to do further testing with an actual codebase, but I think this should do it.

fixes #350

- added fields to edatool File class
  - "core": name of the core which included the src file
- added core dependency and core file map to vunit jinja env
  - "core_dependencies": mapping of core name to core name of dependencies
  - "core_files": mapping of core name to src file objects
- reworked vunit template
  - save return value of added files added to libraries
  - generate mapping of core names to vunit file objects
  - specify core dependencies as dependencies between core files
@nopeslide
Copy link
Contributor Author

Checked it against multiple of my projects and it looks good,
If there are any other tests I can run this against, please let me know.

@nopeslide nopeslide marked this pull request as ready for review May 20, 2023 09:36
@olofk olofk merged commit 64658da into olofk:main Nov 21, 2023
7 checks passed
@olofk
Copy link
Owner

olofk commented Nov 21, 2023

Getting back to this took a fair bit longer than I had hoped for, but it looks fine now. Thank you for your contributions. Picked and pushed!

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.

explicit dependencies for vunit
2 participants