Hello All,
Have a scenario for UVM register model as given below.
a. Say there are 5 registers {a, b, c, d, e} inside the DUT and the UVM register model is created for the same.
b. But there is a catch/interlink between register b and c i.e. if I write “1” to a bit in the register “b”, that internally would clear the corresponding bit in the register “c”.
c. And similarly if I write “1” to a bit in register “c”, then that would set the corresponding bit in register “b”.
How do I take care of such scenarios inside UVM register model ? Do I need to play with some user-defined access type callbacks ?
Share in your comments, ideas, thought process !!
Thanks,
Desperado