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

build/vhd2v_converter: allows using an instance instead of entity_name + params #2145

Merged

Conversation

trabucayre
Copy link
Collaborator

Current approach with VHD2VConverter is to pass a dict with parameters, input/output signals and the top_entity name.
For a existing code using Instance this imply to rework code to replace instance by dict.
This PR allows VHD2VConverter to receive by CTOR an instance. In this mode it will be able to extract entity name and parameters from Instance and create a new one with only port

This PR also do build_dir optional: When not provided at constructor time build_dir will be filled with build/platform_name/vhd2v

@enjoy-digital enjoy-digital merged commit 6228d2b into enjoy-digital:master Dec 19, 2024
1 check passed
@enjoy-digital
Copy link
Owner

Thanks @trabucayre, this is merged.

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.

2 participants