Skip to content
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

Add Randomization Logic to Generated Memories #8170

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

seldridge
Copy link
Member

When lowering hw.module.generated, copy any emit dialect fragments that
were on the original operation. This allows for fragments created
earlier to be propagated along without having to teach HWMemSimImpl
about them.

When generating modules as part of the SeqToSV conversion, put appropriate
memory generation fragments onto the created hw.module.generated. No
longer put memory randomization fragments onto the original module.

Fixes #8164.

When lowering `hw.module.generated`, copy any emit dialect fragments that
were on the original operation.  This allows for fragments created
earlier to be propagated along without having to teach `HWMemSimImpl`
about them.

Signed-off-by: Schuyler Eldridge <[email protected]>
When generating modules as part of the SeqToSV conversion, put appropriate
memory generation fragments onto the created `hw.module.generated`.  No
longer put memory randomization fragments onto the original module.

Fixes #8164.

Signed-off-by: Schuyler Eldridge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[firtool] Memories are compiled with randomization logic, but not macros
1 participant