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

formalff -setundef: Fix handling for has_srst FFs #4338

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

jix
Copy link
Member

@jix jix commented Apr 15, 2024

The has_srst case was checking sig_ce instead of sig_srst due to a copy and paste error.

This would crash when has_ce was false and could incorrectly determine that an initial value is unused when has_ce and has_srst are both set.

The `has_srst`` case was checking `sig_ce` instead of `sig_srst` due to
a copy and paste error.

This would crash when `has_ce` was false and could incorrectly determine
that an initial value is unused when `has_ce` and `has_srst` are both
set.
@jix jix added the merge-after-jf Merge: PR will be merged after the next Dev JF unless concerns are raised label Apr 15, 2024
@jix jix merged commit 1527cc8 into YosysHQ:main Apr 15, 2024
18 checks passed
@jix jix deleted the fix-formalff-setundef-srst branch April 15, 2024 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-after-jf Merge: PR will be merged after the next Dev JF unless concerns are raised
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant