-
Notifications
You must be signed in to change notification settings - Fork 314
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FreezePaths] Add an optional argument, to get the operation name (#7549
) `FreezePaths` pass may sometimes need to be invoked before `ExportVerilog`. This change removes the dependency of the pass on the `hw.verilogName` attribute, and adds an optional get operation name function, that can be invoked if the verilog name is absent. This enables any tool to invoke it earlier by providing an appropriate name-getter function. But as is expected, the names used to freeze the paths, may not match the verilog names. This should be used with caution, only when the path will not be used and its okay to be incorrect.
- Loading branch information
Showing
2 changed files
with
19 additions
and
6 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