I am using the UVM-REG API for modeling my DUT registers. We have an internal bus which we have the register adapter implemented for, and it's working fine.
We can also access our registers via JTAG, and I want to use the UVM-REG API to access via JTAG. I am planning to create another address map with the same blocks (I think this is the correct approach) for access via JTAG.
To do this I need to create a new register adapter to convert generic reads/writes to a sequence that I run on my JTAG agent. It seems the normal register adapter is expecting to work on a sequence item, not a sequence.
How should this be handled?
Am I approaching this correctly?