Not memory-mapped registers #226
Unanswered
xinwu-cyber
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello PeakRDL team,
The registers in my current project are not conventional memory-mapped registers; rather, they are accessed via the I2C interface. This means that the register addresses correspond to I2C addresses. As a result, the addresses are not spaced like 0x0, 0x4, 0x8, 0xC but may increment sequentially, such as 0x0, 0x1, 0x2, and 0x3.
Defining these registers in SystemRDL is okay, but how can I configure the PeakRDL compiler to ignore address overlaps? Alternatively, is there a better way to use PeakRDL for this scenario?
Beta Was this translation helpful? Give feedback.
All reactions