You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish for an addrmap to have it's size rounded to the next power of 2 when it comes to calculating the next component address. For example:
addrmap top {
addrmap {
reg {
field {} test_field;
} test_reg[375];
} submap_0;
addrmap {
reg {
field {} test_field;
} test_reg[100];
} submap_1;
};
Here I have a 1500 bytes submap_0 and a 400 bytes submap_1 that are placed, respectively at 0 and 1536. I would rather have submap_1 at 2048, which is submap_0 size's next power of 2.
Is there a way to accomplish this automatically with SystemRDL?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I wish for an addrmap to have it's size rounded to the next power of 2 when it comes to calculating the next component address. For example:
Here I have a 1500 bytes
submap_0
and a 400 bytessubmap_1
that are placed, respectively at 0 and 1536. I would rather havesubmap_1
at 2048, which issubmap_0
size's next power of 2.Is there a way to accomplish this automatically with SystemRDL?
Beta Was this translation helpful? Give feedback.
All reactions