-
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 Is there a way to accomplish this automatically with SystemRDL? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
There isn't a way to define this based on a prior instance's size, but you can control address allocation alignment in two different ways: Alignment propertyThe
Alignment operatorAlternatively, you can specify the desired alignment of the instance individually, without specifying the address, using the alignment operator
|
Beta Was this translation helpful? Give feedback.
There isn't a way to define this based on a prior instance's size, but you can control address allocation alignment in two different ways:
Alignment property
The
alignment
property will constrain address allocations within a scope to all be aligned to a specific multiple of bytes.In your example:
Alignment operator
Alternatively, you can specify the desired alignment of the instance …