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

Refactor memory_layout and persistent_data #1722

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

clundin25
Copy link
Contributor

@clundin25 clundin25 commented Oct 17, 2024

  • Reserve a portion of DCCM for future changes to PersistentData.
    • Reserved 19 KiB.
  • Remove most hard coded addresses in memory layout.
  • Left 8K in the Data section. Currently less than 4KiB is being used.

This resolves #1662.

jhand2
jhand2 previously approved these changes Oct 18, 2024
@clundin25 clundin25 force-pushed the rom-layout branch 2 times, most recently from eab13ff to 8a54c60 Compare October 28, 2024 23:36
@clundin25 clundin25 requested a review from jhand2 October 28, 2024 23:36
@clundin25 clundin25 changed the title Reserve a portion of DCCM for future changes to PersistentData. Refactor memory_layout and persistent_data Nov 15, 2024
drivers/src/memory_layout.rs Outdated Show resolved Hide resolved
drivers/src/persistent.rs Show resolved Hide resolved
jhand2
jhand2 previously approved these changes Dec 2, 2024
jhand2
jhand2 previously approved these changes Dec 2, 2024
Copy link
Collaborator

@mhatrevi mhatrevi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see the comments.

* Reserve a portion of DCCM for future changes to PersistentData.
* Remove most hard coded addresses in memory layout.
* Reserved 19KiB in `PersistentData`.
* Left 8K in the Data section. Currently less than 4KiB is being used.

This resolves chipsalliance#1662.
@jhand2 jhand2 merged commit e09efb5 into chipsalliance:main Dec 19, 2024
11 checks passed
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.

Consider shrinking DATA_ORG section to allow for expanding DCCM usage
3 participants