PRIEUR Gregory Posted March 28, 2022 Report Posted March 28, 2022 Hello, We have some physical memories on our design, and we use the IPXACT to generate the associated RTL, then we need an addressBlock of type memory, but in order to generate some documentations we would like to describe part of the memory as if they were register. Because certain word at certain address will be use as register. On a second step, depending of the value of a certain register we would like to change the description of this memory. For the moment we have been using memoryRemap section, but it is ideal solution. Any idea for this? Quote
kock Posted March 28, 2022 Report Posted March 28, 2022 Hello Gregory, Please have a look if the concept of virtual registers in 1685-2014 suits your need: Quote virtual register: A collection of fields, overlaid on top of a memory, usually in an array. The semantics and layout of virtual registers come from an agreement between the software and hardware. Virtual registers are modeled in IP-XACT by creating register instances within addressBlocks with usage memory. The child elements of a virtual register are restricted to a subset of the overall register element. NOTE—See 6.11.2. virtual register file: A grouping of virtual registers. A virtual register file is modeled using the registerFile element in an addressBlock element with usage of memory. The children of virtual register files shall be virtual. NOTE—See 6.11.6. The memoryRemap concepts seems the correct approach for the second step. Best regards, Erwin Quote
PRIEUR Gregory Posted March 28, 2022 Author Report Posted March 28, 2022 Hello Erwin, Thanks for the quick answer. Definitely virtual register seems to be the right solution! For the moment, we should stick to 1685-2009 (according to Vincent Thibaut from Arteris). Do you know if this concept of virtual register will be part of 1685-2022 ? Thank you Quote
kock Posted May 9, 2022 Report Posted May 9, 2022 Hello Gregory, Virtual registers will be in 1685-2022 also in the same way as in 1685-2014. Best regards, Erwin Quote
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.