Skip to content

Conversation

@fabianschuiki
Copy link
Contributor

Always add a posedge clock trigger to the always process created for verif.has_been_reset operations, even if the reset is asynchronous. Until now we would emit an always @(posedge reset) process, which some EDA tools do not process properly. With this commit, we produce always @(posedge clock, posedge reset) for asynchronous HBR ops, and always @(posedge clock) for synchronous HBR ops.

Copy link
Member

@seldridge seldridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one nit.

Always add a `posedge clock` trigger to the always process created for
`verif.has_been_reset` operations, even if the reset is asynchronous.
Until now we would emit an `always @(posedge reset)` process, which some
EDA tools do not process properly. With this commit, we produce
`always @(posedge clock, posedge reset)` for asynchronous HBR ops, and
`always @(posedge clock)` for synchronous HBR ops.
@fabianschuiki fabianschuiki force-pushed the fschuiki/hbr-clock-fix branch from faf8aaa to 452ad8f Compare November 7, 2025 23:32
@fabianschuiki fabianschuiki merged commit 68bd267 into main Nov 8, 2025
7 checks passed
@fabianschuiki fabianschuiki deleted the fschuiki/hbr-clock-fix branch November 8, 2025 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants