-
Notifications
You must be signed in to change notification settings - Fork 283
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIRRTL] Add support for multi-bit FIRRTL Memory mask type, NFC #1864
Conversation
// Mask of zero bits means, either there are no write/readwrite ports or the | ||
// mask is of aggregate type. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be good to move into the main documentation comment for the method, since it's an important thing to know about the return value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea, a proper documentation for firrtl.mem
is missing. I will add it in a subsequent PR.
Add support to add multi-bit mask type for FIRRTL memories.
This is required for flattening an aggregate memory data type, and enabling a finer mask granularity by extracting individual bits from the memory data element.
The mask bit was hard coded to 1 in several places, this PR will remove that restriction.