Repository navigation
Memory rework: remove the private L1 alias and use all physical memory - #120
Draft
luca24balboni wants to merge 1 commit into
Draft
luca24balboni wants to merge 1 commit into
luca24balboni wants to merge 1 commit into
Conversation
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI-Mem
branch
5 times, most recently
from
November 2, 2026 15:20
f8955a3 to
06b0854
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI
branch
from
November 4, 2026 11:16
6ec7f6c to
fc4872e
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI-Mem
branch
from
November 4, 2026 11:16
85b9e87 to
a80974e
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI
branch
from
November 9, 2026 11:47
fc4872e to
bf4f4ec
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI-Mem
branch
2 times, most recently
from
November 9, 2026 15:00
47fd92b to
76fa5fb
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI
branch
from
November 9, 2026 15:01
bf4f4ec to
37bc98f
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI-Mem
branch
from
November 9, 2026 16:31
76fa5fb to
920e1ab
Compare
Collaborator
|
@luca24balboni is this tracked with an issue? |
Contributor
Author
|
No, it comes from a discussion on the group, but there are no issues on this on the Dashboard, I'm opening it |
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI
branch
from
November 12, 2026 10:29
842213e to
54fb751
Compare
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI-Mem
branch
2 times, most recently
from
November 12, 2026 14:56
4ba1b76 to
5a4268c
Compare
…out L2 contiguously
luca24balboni
force-pushed
the
lb/Collectives-Parametrize-Magiav4-HCI-Mem
branch
from
November 12, 2026 18:58
5a4268c to
11d64ec
Compare
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR reworks the memory map of the tile so that every byte of physical memory has exactly one address, and lays out the program contiguously in L2.
Address map
Before, scratch and stacks were an alias over the bottom of tile 0's window, and the tile peripherals covered the first 14 KiB of the L1, which therefore had no usable address.
0xA000_0000, outside the tile windows; resizing or removing one unit no longer moves the others.TileCfg.L1.PrivBytes) gets its own view at0xA010_0000, the same address in every tile.k * 0x0010_0000 + PrivBytes. The window stays 1 MiB, so a tile can instantiate a smaller L1.Memory sizes
Software layout
0xC000_0000: code (32 KiB), exit codes, then the program data.magia_tile_utils.h, the testbench VIPs ands19tomem.pyfollow the new addresses.Docs
New memory map and software layout figures, and address tables in the README.