How to start sequencer without sequence?

Hi all,

The connection between sequencer and driver is accomplished from TLM port seq_item_export of sequencer and seq_item_port of driver.
seq_item_export receives sequence_item from sequence, however in one of the case i am not using sequence.
Is there any other way to pass sequence_item to seq_item_export of sequencer? Or is sequence mandatory?

Thanks,
Ganesh

In reply to ganesh shetti:

First, the seq_item will be retrievded from the sequencer. The sequence is running on the sequencer, defining in which way seq_items are created.
Second, if you don’t want to use a sequence to create your seq_items you do not need a sequencer.
Thiird, you need another source for your seq_items. Maybe they are coming from a file. Then you should make another mechanism in your driver to get the seq_items from your file, i.e. simple file I/O.

In reply to ganesh shetti:

in one of the case i am not using sequence.
Is there any other way to pass sequence_item to seq_item_export of sequencer? Or is sequence mandatory?

You would have to work pretty hard to convince me that you don’t need a sequence. There is a lot of infrastructure hidden in the sequence-sequencer-driver mechanism. In Christof’s example, even if you were getting seq_items from a file, you should use a sequence to extract the items from the file and send them to the driver via start_item()/finish_item(). Why bother to try and create your own mechanism to do something that is built into UVM?