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

Fix bug where non-async flop generates async flop #564

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

mkorbel1
Copy link
Contributor

Description & Motivation

In #533 a bug was included along with implementation of the feature allowing the asyncReset flag to be added to flop and FlipFlop which caused generated SystemVerilog to include an asynchronous reset, regardless of whether asyncReset was set to true or false.

This PR fixes the bug and adds tests which check the functionality of non-async flops to ensure they are not asynchronously triggered in either ROHD or SystemVerilog simulation. This testing was missing in the original PR, which led to the escape.

Related Issue(s)

Related to #533

Testing

Added new tests which failed without the fix

Backwards-compatibility

Is this a breaking change that will not be backwards-compatible? If yes, how so?

No

Documentation

Does the change require any updates to documentation? If so, where? Are they included?

No

@mkorbel1 mkorbel1 merged commit 52a094c into intel:main Feb 13, 2025
3 checks passed
@mkorbel1 mkorbel1 deleted the nonasyncflop branch February 13, 2025 17:16
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