Jump to content

AddressBlock of memory with description as register of certain page of memory


Recommended Posts

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?

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 1 month later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...