# Is it possible to map 2 different sequencers to a reg\_map one for read one for write?

**URL:** <https://verificationacademy.com/forums/t/is-it-possible-to-map-2-different-sequencers-to-a-reg-map-one-for-read-one-for-write/41100>\
**Category:** UVM\
**Tags:** UVM, uvm\_reg\_block, multiple-sequencers\
**Created:** [December 13, 2022, 12:13pm UTC](https://verificationacademy.com/forums/t/is-it-possible-to-map-2-different-sequencers-to-a-reg-map-one-for-read-one-for-write/41100 "2022-12-13T12:13:51Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![srikanthvvs1](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@srikanthvvs1](https://verificationacademy.com/forums/u/srikanthvvs1)\
**Post date:** [December 15, 2022, 9:51am UTC](https://verificationacademy.com/forums/t/is-it-possible-to-map-2-different-sequencers-to-a-reg-map-one-for-read-one-for-write/41100/9 "2022-12-15T09:51:11Z")

</div>

_In reply to [MICRO\_91](https://verificationacademy.com/forums/t/is-it-possible-to-map-2-different-sequencers-to-a-reg-map-one-for-read-one-for-write/41100/8):_

> _In reply to [srikanthvvs1](https://verificationacademy.com/forums/t/is-it-possible-to-map-2-different-sequencers-to-a-reg-map-one-for-read-one-for-write/41100/8):_  
> If you have 2 separate interfaces for Write and Read then you would have 2 sequencer , one sequencer for each interface .  
> Generally the built-in sequencer is used as it is , how do you intend to add semaphore to it ? . Also this won’t duplicate the independent nature of the channels

I mean in the driver task not in sequencer.

```verilog
task drive_wr_txn(txn t);
   wr_sema.get(); 
   fork
   begin
     //driver code
     wr_sema.put()
   end
   join_none //if a read pkt exists in driver tlm fifo this wont block that
endtask

```

…

Just a general idea. Should see if it really works.

---

_[View the full topic](https://verificationacademy.com/forums/t/is-it-possible-to-map-2-different-sequencers-to-a-reg-map-one-for-read-one-for-write/41100)._
