# Regmodel sequencer and adapter

**URL:** <https://verificationacademy.com/forums/t/regmodel-sequencer-and-adapter/40425>\
**Category:** UVM\
**Tags:** UVM, sequencer, adapter-register, regmodel\
**Created:** [May 19, 2022, 11:45am UTC](https://verificationacademy.com/forums/t/regmodel-sequencer-and-adapter/40425 "2022-05-19T11:45:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![abdelaali\_khardazi](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@abdelaali\_khardazi](https://verificationacademy.com/forums/u/abdelaali_khardazi)\
**Post date:** [May 19, 2022, 11:45am UTC](https://verificationacademy.com/forums/t/regmodel-sequencer-and-adapter/40425/1 "2022-05-19T11:45:49Z")

</div>

Hi all!  
I hope you’re all doing great !  
I’m trying to implement a regmodel in my uvm tb, I created it and i set the sequncer where it reg sequence should run with adapter.  
in the env :

```verilog

// connect phase
model.default_map.set_sequencer(vseq.a_seqr,adapter)

```

in the adapter, I transalte reg seq item to protocol seq item

```verilog

reg2bus:
populate protocol seq item 
return protocol item;

```

When i launch a reg.read I get the following error :  
UVM\_FATAL : attempting to start a sequence using start\_item() from sequence ‘default\_parent\_seq’. Use seq.start() instead

---

<div class="post-metadata">

**Author:** ![abdelaali\_khardazi](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/a/977dab/32.png) [@abdelaali\_khardazi](https://verificationacademy.com/forums/u/abdelaali_khardazi)\
**Post date:** [May 26, 2022, 10:27am UTC](https://verificationacademy.com/forums/t/regmodel-sequencer-and-adapter/40425/2 "2022-05-26T10:27:18Z")

</div>

_In reply to [abdelaali\_21](https://verificationacademy.com/forums/t/regmodel-sequencer-and-adapter/40425):_

Hey all!  
I finnaly solved the issue. Well, The ral adapter wans’t converting from to the right bus items, and, when i had the right adapter, I made sure that s connected the sequencer then in the run phase of the test I ran the reg sequence on a null sequencer.  
Hope this helps
