-
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.
[minor] Add "regreset" alternative syntax
Add alternative syntax for specifying a register with a reset. This is done to simplify parsing, readability, and writability. This also brings the register more in line with other FIRRTL operations. The new syntax looks like: regreset a: UInt<8>, clk, rst, init The old syntax that this is an alternative to is: reg a: UInt<8>, clk with: (reset => (rst, init)) This syntax is intended to be introduced in the v2.3.0 minor release and made mandatory in the v3.0.0 release. Signed-off-by: Schuyler Eldridge <[email protected]>
- Loading branch information
Showing
3 changed files
with
19 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
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