Skip to content

Creating a sequence isn’t the same as running it

sequence-startUVM · runs take about 2 minutes

my_seq::type_id::create() only allocates the sequence. Its body(), which builds and sends the item, runs once something calls .start(sequencer) on it. Created but never started, it does nothing, with no error.

my_driver (pulls items off sqr and records the last one) and my_seq::body() (sends one item with value = 42) are both correct.

Right nowe.drv.received_count stays 0.

Fix test::run_phase() so the driver receives the item. Don’t touch my_seq or my_driver.

Source on GitHub

uvm_sequence_never_started.sv