Skip to content

opt_mem: Adding external-init to opt_mem #5222

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KelvinChung2000
Copy link
Contributor

What are the reasons/motivation for this change?
The aim is to add a way to prevent memory that has never been written/initialised by the design itself, but might be initialised by the external (CPU/DMA writing to the memory directly in a SoC system).

Explain how this is achieved.
A new flag is added for the memory pass and opt_mem pass. At the stage of removing lanes, if the flag is presented, it will add the lane to swizzle and preserve the lane.

@KelvinChung2000 KelvinChung2000 changed the title Adding external-init to opt_mem opt_mem: Adding external-init to opt_mem Jul 11, 2025
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.

1 participant