How to generate a RAL model for registers that share a common address space?

Status
Not open for further replies.

dhivya34

Junior Member level 1
Joined
Aug 7, 2012
Messages
18
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,399
Hi

The DUT has 3 modes.
Based on the mode selected, the definition of certain registers within a particular address range changes.
Physically separate registers exist for each of the register definition.
But because of limited address space, based on the mode selected, a common address is used to address the registers for read/write.
This is a way of indirect addressing.
So looking straight foward, a single address would be used to address 3 different registers ( the mode selects the exact register)

Could anyone tell me how to generate a RAL model for this.

Thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…