-
Notifications
You must be signed in to change notification settings - Fork 774
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[reggen] Generate constants for only the main block
Some IP blocks have more than one register set. `regtool` doesn't understand there may be multiple multiple register blocks and it generates constants for all of them and overlays their offsets (ie: there may be multiple registers at offset 0). 1. Allow `regtool` to filter regblocks so that we can generate separate outputs per register block. 2. Generate only the main reglbock for flash_ctrl, otp_ctrl and rom_ctrl. Signed-off-by: Chris Frantz <[email protected]>
- Loading branch information
Showing
9 changed files
with
143 additions
and
144 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ autogen_hjson_header( | |
srcs = [ | ||
"flash_ctrl.hjson", | ||
], | ||
node = "core", | ||
) | ||
|
||
filegroup( | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ autogen_hjson_header( | |
srcs = [ | ||
"rom_ctrl.hjson", | ||
], | ||
node = "regs", | ||
) | ||
|
||
filegroup( | ||
|
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 |
---|---|---|
|
@@ -11,6 +11,7 @@ autogen_hjson_header( | |
srcs = [ | ||
"flash_ctrl.hjson", | ||
], | ||
node = "core", | ||
) | ||
|
||
filegroup( | ||
|
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
Oops, something went wrong.