-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In preparation for #2589 "Remove KnownDomain". This is the only constraint addition in clash-prelude in for the KnownDomain removal, by adding it here for 1.8 we can do the KnownDomain removal later, with less backwards compatibility issues. This commit also had to add a KnownDomain to invertReset, because it used unsafeToReset, but this will be removed again by #2589.
- Loading branch information
1 parent
6ab581f
commit 7aaadce
Showing
4 changed files
with
10 additions
and
6 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
changelog/2023-10-02T15_07_39+02_00_remove_KnownDomain-preparation
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
ADDED: You can now use ~PERIOD, ~ISSYNC, ~ISINITDEFINED and ~ACTIVEEDGE | ||
on arguments of type Clock,Reset,Enable,ClockN and DiffClock. | ||
|
||
CHANGED: unsafeToReset and invertReset now have a KnownDomain constraint | ||
This was done in preparation for [Remove KnownDomain #2589](https://github.com/clash-lang/clash-compiler/pull/2589) |
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
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