-
Notifications
You must be signed in to change notification settings - Fork 299
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIRRTL] Prefix GCT Data/Mem Taps in PrefixModules (#2031)
Change PrefixModules to rename external modules that are Grand Central data or memory taps. External modules that have more than one prefix will be cloned ("duplicated" in Scala FIRRTL Compiler terminology) to create new external modules for prefixes after the first. This is the same behavior as how PrefixModules works for non-external modules. Note: it is unexpected that Grand Central will produce (or work?) with multiply instantiated Data/Mem taps. However, the behavior added here is sane. This change aligns the prefixing behavior of CIRCT with the Scala FIRRTL Compiler for Grand Central Data/Mem taps. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@sifive.com>
- Loading branch information
Showing
2 changed files
with
111 additions
and
9 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