In my verification environment I have RAL model for registers available in RTL.
However unfortunately we have two separate agents making read/write access via single interface. Since I am ONLY consumer, I couldn't touch separate agents. (Else I would have kept only one agent, catering for both read/write).
Now as expected while setting sequencer for register map, I am ONLY able to set either of read/write agent's sequencer i.e.
my_reg_block.reg_map.set_sequencer(wt_agent.sequencer, my_adapater);
//my_reg_block.reg_map.set_sequencer(rd_agent.sequencer, my_adapater);
Any suggested way to circumvent the issue?
Also, is it possible to achieve set_sequencer from sequence, when we actually know whether it's a read or write sequence.
Any help will appreciate.
Thanks.