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

Adjust abc9_ops -prep_box to allow repeated invocation #4802

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

povik
Copy link
Member

@povik povik commented Dec 5, 2024

What are the reasons/motivation for this change?

abc9_ops -prep_box manipulates the relevant attributes (abc9_box and abc9_box_id) in a way which prohibits repeated invocation of the command unless the design is reloaded. Adjust it.

Repeated invocation is required for the feature #4737. The abc9 script which only calls the command once should be unaffected.

povik added 2 commits December 5, 2024 18:32
`abc9_ops -prep_box` command interprets the `abc9_box` attribute and
prepares a .box file for ABC consumption. Previously this command was
removing the attribute as it was processing each module which prevented
repeated invocation of this command unless the box definitions were
refreshed from a source file.

Also the command was keeping existing `abc9_box_id` attributes instead
of overwriting them with values from a new number sequence.

Change both behaviors to allow repeated invocations of the command on
the same design.
@povik povik merged commit f7ad003 into YosysHQ:main Dec 10, 2024
26 checks passed
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.

1 participant