In reply to VerifEx:
I have a register model and I would like to use the register adapter in my environment. Looking at examples, I see that I can connected the register model with a register adapter to a single agent for read and writes. But, what if one agent can before the writes, while another agent performs reads. How would I set this up in my environment?
I’m not exactly sure that you need two adapters (or if that is possible), I’d say you can use a virtual sequencer that has handles to both agents’ sequencer (this would execute the specific sequencer depending on the operation to be performed), and you could use the set_sequencer() function from the API, which according to the documentation
“set_sequencer() Set the sequencer and adapter associated with this map. This method must be called before starting any sequences based on uvm_reg_sequence.”
HTH
-R