-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Major] Explicit compile time constant expressions. (#67)
Add a constant type modifier for compile-time evaluation (under whole-world assumptions). Constant types in external ports implies that uses of constant types are not guaranteed to be know at compile time (this is not a mechanism to guarantee constant propagation). Asynchronous resets are updated to take constant reset values. This moves ad-hoc checks which exist in implementations now to type checks. This is not sufficient for some tools, but is a strict improvement on the current implementations. The change of asyncreset value is what makes this a major change.
- Loading branch information
Showing
2 changed files
with
122 additions
and
24 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