forked from llvm/circt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[InferReadWrite] Add heuristic to infer unmasked memory (llvm#6790)
This PR updates the heuristic to infer an unmasked memory. If all the bits of the mask signal are driven by the same value, then it can be replaced with an unmasked memory. (Example: `mem_RW0_wmask = {6{baseWrEn_F1}}`) This is an attempt to fix a use case, in which firtool introduces masked memory for an aggregate data type when the user expected an unmasked one.
- Loading branch information
Showing
2 changed files
with
125 additions
and
4 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