Uvm sequence hierarchy

Hi , I have to create hirarchical sequence for a protocol, its like a hierarchical tree of sequence .I ma new to uvm so would like to know how I can create it with uvm_sequence.

Have you taken a look at the following pages in the UVM cookbook?:

https://verificationacademy.com/cookbook/Sequences/Generation

https://verificationacademy.com/cookbook/Sequences/Hierarchy

https://verificationacademy.com/cookbook/Sequences/Layering

The first two cover the topic you say you are interested in, the final one is about representing protocol layers as layers of sequences which might be what you actually need.

In reply to mperyer:

Hi thanks for replying , yes I have gone through

https://verificationacademy.com/cookbook/Sequences/Generation

https://verificationacademy.com/cookbook/Sequences/Hierarchy

https://verificationacademy.com/cookbook/Sequences/Layering

but I need a sequence which creates and runs sub-sequence(s) which in turn create and run sub-sequence(s) in a hierarchy.

In which case, each layer is responsible for configuring the sequences below it and sequence items are typically only used at the bottom layer.

With Regards
Sanjum Bhatia