I would like to describe a complex register. each register is spaced of 0x10
The register is of 4 bytes width and is seen at different address for different operations. ie :
register address + 0x0 -> replace whole register
register address + 0x4 -> set bits where set
register address + 0x8 -> reset bits where set
register address + 0xC -> toggle bits where set
Initially I was to use 3 alternate registers per register, but addressOffset is not element of alternate register. Only access may be different. So I have to add VendorExtension for addressOffset.
Another way could be to use the dim element to repeat the register 3 times. Also here, the register is the same in its behaviour.
There could be also bank usage with parallele bank alignment usage, but here, there is duplication of the registers description, that is not convenient.
I would like to describe a maximum of information into the register to reflect the correct behaviour, and if possible not duplicating each register 4 times.
Any suggestion is welcome.