Is it possible to map 2 different sequencers to a reg_map one for read one for write?

In reply to MICRO_91:

In reply to srikanthvvs1:
You ALWAYS need an adapter for Frontdoor Access

I think not necessary. Adapter is used by RAL to convert write/read calls to specific sequence item and execute that on the registered sequencer. This is one method to do it.

ral_model.apb_map.set_sequencer(apb_vip.apb_seqr, apb_reg_adapter);

In second method(which i just came to know) you register the user defined frontdoor sequence with ral. When read/write task is invoked on a register, ral will directly execute frontdoor sequence. In this sequence you will explicitly do what adapter does(usign rw_info variable available in uvm_frontoor_seq). After that call uvm_do on the sequence items, if write select wr_sequencer if read select read_sequencer.

my_vreg_frontdoor_sequence frontdoor;
frontdoor = my_vreg_frontdoor_sequence::type_id::create(“frontdoor”);
regmodel.reg0.set_frontdoor(frontdoor);