SystemRDL missing addressing modes #94
Replies: 4 comments 5 replies
-
I'm also annoyed by this. We just shift the address. So if you have 32b registers at addresses 0,1,2,3 then you can have the RDL specify addresses 0,4,8,12 and use {address,2'b00} as the address in RDL. |
Beta Was this translation helpful? Give feedback.
-
I looked at your forks but couldn't find your specific changes relating to non byte-addressable address spaces. Is it part of your github SystemRDL repo forks? |
Beta Was this translation helpful? Give feedback.
-
I think I'll try adding this myself by adding a new addrmap property ( |
Beta Was this translation helpful? Give feedback.
-
Until Accellera defines something otherwise, addresses in RDL will always be interpreted as byte addresses. I'm not interested in breaking away from the standard for this project (because then whats the point of a standardized language?) Using a User Defined Property is a good way to extend the language to describe additional node attributes. See this page for how they work with the compiler: https://systemrdl-compiler.readthedocs.io/en/stable/api/udp.html |
Beta Was this translation helpful? Give feedback.
-
I'm a little confused that the SystemRDL standard only allows byte mapped addressing modes. I'm working on a project where each address is assigned based on the logical register itself and not based on the register size. This kind of disqualifies SystemRDL since this addressing mode is not supported. I'm thinking about submitting a suggestion to accellera.org for additional addressing modes. Is there anyone here that is in a similar situation?
Beta Was this translation helpful? Give feedback.
All reactions