-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIRRTL] Add enabled layers to FModuleOp (#6627)
* [FIRRTL] Add layer colors to FModuleOp Add the ability for FIRRTL module to enable layers. This will have the effect of allowing a module to interact with colored probes of instances that it instantiates. Signed-off-by: Schuyler Eldridge <[email protected]> * [FIRRTL] Add verification of FModuleOp layers Extend existing verification of 'firrtl.ref.cast', 'firrtl.ref.define', and 'firrtl.ref.resolve' to handle modules which may enable layers. This also refactors all the layer-coloring verification into a single function that is reused by all three operation verifiers. Signed-off-by: Schuyler Eldridge <[email protected]> * [FIRRTL] Pipeline updates for module layers Updates to the FIRRTL pass pipeline to support modules with enabled layers. These do not have a real effect on the pipeline itself other than they should be removed once all ops that rely on their existence to pass verification are removed. I.e., this commit only removes them in LowerXMR. Signed-off-by: Schuyler Eldridge <[email protected]> * [FIRRTL] Parse/emit module-enabled layers Add FIRRTL text parsing and emission for modules with layers enabled. Signed-off-by: Schuyler Eldridge <[email protected]> * Update all FModules to support enabled layers * Add parsing/emitting for enablelayer for Intmodule/Extmodule - improve formatting of output --------- Signed-off-by: Schuyler Eldridge <[email protected]> Co-authored-by: Robert Young <[email protected]>
- Loading branch information
Showing
13 changed files
with
321 additions
and
167 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
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.