chiggs Posted April 28, 2014 Report Share Posted April 28, 2014 I have a register map along the following lines: -----------------------+-----------------+--------------------------------- Byte offset | Register Name | Description -----------------------+-----------------+--------------------------------- 0x00 | width | Width (in bits) of structure 0x04 | height | Number of rows 0x08 | offset | Offset of the structures ********** Variable sized gap ********** $offset | Item 1 | First structure $offset + 4 | Item 2 | Second structure $offset + 4 * N | Item N | Nth structure $offset + $height *N | Last item | Final structure The software will read the width, height and offset registers and run-time and use these to determine the layout of the dynamic part of the component address space. As far as I can see from the IP-XACT specification, there's no way to describe a dynamic register layout (or unknown until run-time). Does anybody have a suggestion for how to achieve this is the cleanest way? Thanks, Chris Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.