# Layered stimulus generation for multi-lane protocols

**URL:** <https://verificationacademy.com/forums/t/layered-stimulus-generation-for-multi-lane-protocols/32106>\
**Category:** UVM\
**Tags:** UVM, Sequence-Layering\
**Created:** [August 2, 2016, 3:01pm UTC](https://verificationacademy.com/forums/t/layered-stimulus-generation-for-multi-lane-protocols/32106 "2016-08-02T15:01:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gareth](https://verificationacademy.com/forums/letter_avatar_proxy/v4/letter/g/ba8739/32.png) [@Gareth](https://verificationacademy.com/forums/u/Gareth)\
**Post date:** [August 2, 2016, 3:01pm UTC](https://verificationacademy.com/forums/t/layered-stimulus-generation-for-multi-lane-protocols/32106/1 "2016-08-02T15:01:56Z")

</div>

Hi there,

Is there a “standard way” or best practice for generating stimulus using layered stimulus for multi-lane protocols? I’m thinking of protocols where data is distributed across multiple physical channels in, say, a round-robin basis.

My main concern is how to synchronize the 1-to-many generation across multiple lanes when the individual lane drivers are individually pulling lane-level sequences from the layering sequence; each one isn’t guaranteed to ask the translating sequence at the same time.

I see there is a hint that uvm\_barrier\_pools might be useful in Doulos’ [Easier UVM](https://www.doulos.com/knowhow/sysverilog/uvm/easier_uvm_guidelines/detail/); using a push model is another potential solution, and maybe a TLM approach rather than layered sequences might be another solution.

I’m guessing due to the prevalence of multi-lane protocols (Ethernet, PCIe etc.) that this is a problem that has been solved a number of times - hopefully someone can provide some insight into this.

Thanks  
Gareth
