Skip to content

[core] Add ClockDomain assert helpers#5290

Merged
seldridge merged 1 commit into
mainfrom
dev/seldridge/clock-domain-assert-helpers
May 7, 2026
Merged

[core] Add ClockDomain assert helpers#5290
seldridge merged 1 commit into
mainfrom
dev/seldridge/clock-domain-assert-helpers

Conversation

@seldridge

@seldridge seldridge commented May 6, 2026

Copy link
Copy Markdown
Member

Add utility functions to generate property assertions for clock domains.
There are two functions added: one for asserting a synchronous
relationship and another for asserting a rational relationship (which
also allows for a synchronous relationship). These are primitives that
are used to build synchronizers. At this time, Chisel has no standard
library syncrhonizers, so these are unused externally.

Release Notes

Add clock domain assertion utility functions that can be used to build clock domain syncrhonizers.

Add utility functions to generate property assertions for clock domains.
There are two functions added: one for asserting a synchronous
relationship and another for asserting a rational relationship (which
also allows for a synchronous relationship).  These are primitives that
are used to build synchronizers.  At this time, Chisel has no standard
library syncrhonizers, so these are unused externally.

Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
@seldridge seldridge added the Feature New feature, will be included in release notes label May 6, 2026
@seldridge seldridge requested a review from jackkoenig May 6, 2026 23:38

@jackkoenig jackkoenig left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

At this time, Chisel has no standard library syncrhonizers, so these are unused externally.

I think you mean "unused internally"?

@seldridge

Copy link
Copy Markdown
Member Author

I think you mean "unused internally"?

I was trying to say that these are unused external to SiFive. However, this isn't clear. I'll clean this up in the commit message.

@seldridge seldridge merged commit 989a1aa into main May 7, 2026
31 checks passed
@seldridge seldridge deleted the dev/seldridge/clock-domain-assert-helpers branch May 7, 2026 03:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature New feature, will be included in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants