Indirect register accessing #92
Replies: 2 comments 5 replies
-
Yes, I believe that would be the right way to specify it. Unfortunately, issue #72 is not resolved. I also use indirect addressing in my design and to work around issue #72 I specify an address map for each memory space and elaborate each of them. It works for me, but I lose the information about the relation between maps by not specifying the bridge. |
Beta Was this translation helpful? Give feedback.
-
For my indirect addressing requirement, I have created this example where taddr.index[1:0] is used select between the 4 different RTL registers A0.RegQ-A3.RegQ. So when tdata is written or read, the actual RTL register being accessed depends on taddr.index value. reg taddr_t { addrmap tdata_map { |
Beta Was this translation helpful? Give feedback.
-
Need help is having an Address and Data register pair which is used for Indirect addressing of multiple actual registers in the design. i.e Data register points to different registers in the design depending on the value of Address register. Would having multiple address maps with bridge property help here?
Beta Was this translation helpful? Give feedback.
All reactions