Conversion of one protocol independent sequence item to protocol dependent

Hi,
I was trying to make a protocol independent agent which will be generic and i want to use it with a protocol dependent agent like :

[Generic Payload AGENT] <=> [Protocol Adaptor] <=> [PROTOCOL_DUT]

is there any way other than using layering ?
Note: Protocol in the sense of APB,AHB,AXI…etc not Base protocol in TLM 2.0

In reply to Mahantha Deeksha S B:

I do not see what the benefit of such an approach is. In my eyes it complicates your UVM testbench. To avoid spending weeks of creating a protocol specific UVM testbench I’m recvommending to use a UVM Framework Generator (like this one Easier UVM). This supports you to create a protocol specific UVM testbench in hours.

In reply to chr_sue:
Thank you,
yeah,
But if there is a VIP with some specific sequencer_item and we want use uvm generic payload item based sequences then it’ll be better to use some kind of conversion in between which will convert our Generic payload item to the VIP specific item instead of re-writing the whole code.

i’ve seen layering [https://verificationacademy.com/cookbook/sequences/layering] but want to know is there any other way around.

In reply to Mahantha Deeksha S B:

https://verificationacademy.com/cookbook/sequences/layering

https://verificationacademy.com/sessions/layered-sequences

Can you try this one? I didn’t try yet but I guess this can help you.

thanks!
Nilesh Patel

In reply to Mahantha Deeksha S B:

Hi,
I was trying to make a protocol independent agent which will be generic and i want to use it with a protocol dependent agent like :
[Generic Payload AGENT] <=> [Protocol Adaptor] <=> [PROTOCOL_DUT]
is there any way other than using layering ?
Note: Protocol in the sense of APB,AHB,AXI…etc not Base protocol in TLM 2.0

Thank you nilesh,
I’ve tried those and it’s working(but don’t know agt imp to d2l mon imp connection works, i’ve used export agt to imp d2l mon),but looking for any other approaches which does similar functionality.