-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
[FIRRTL] Rewrite, extend InstanceInfo for GC Views
Rewrite the `CheckLayers` pass to more directly rely on the `InstanceInfo` analysis. Instead of the top-down walk (which was there from the original architecture which did not have access to `InstanceInfo` and was originally pushing layer information down), use only a bottom-up walk and rely on the `InstanceInfo` analysis to determine when modules could be problematic. This preserves a similar style of the original verbose errors/notes which reports transitive errors (modules which do not contain layers, but instantiate modules that do), but switches to something that is easier to work with. Extend the `CheckLayers` pass to now properly handle Grand Central companion modules. These are conceptually the same as layers and are now lumped under the "under layer" bucket by `InstanceInfo`. Signed-off-by: Schuyler Eldridge <[email protected]>
Showing
2 changed files
with
152 additions
and
52 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