-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIRRTL] InferResets: verify that FART annotation is on async resets (#…
…6674) The FullAsynchronousResetAnnotation is used to mark an asynchronous reset signal in a module to be used as the reset for all registers that do not already have an async reset in this module and below in the hierarchy. There was no error checking that this annotation was attached to an asynchronous reset typed signal, and the pass would accidentally try to wire whatever signal was annotated. In some cases, this could lead to a connecting the signal to an async typed port, which would become a type checking error in the verifier. This changes InferResets to verify that the FART annotated signal is in fact asynchronous.
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters