Jump to content
Sign in to follow this  

Sequence running on virtual sequencer

Recommended Posts

Hi Expert,

I have following situation.

1. In our env. we use third party VIP  & few other agents which are active.

2. We created reg model in top level env  as shown below

reg_model = top_reg_block::type_id::create("reg_model", this);
        // reg model
        adapter = reg_adapter::type_id::create("adapter", this);
        reg_sbscr = register_subscriber::type_id::create("reg_sbscr", this);

In connect phase also we set the default sequencer

reg_model.default_map.set_sequencer (.sequencer(spi_agnt.spi_sqr), .adapter(adapter)

3. in test case (register test case) we use

seq.start(null); in order to run on default sequencer.

4. Everything works fine without VIP. Now when VIP is integrated in env, & instead of using spi_agnt.spi_seqr we need to use

VIP virtual seqencer like

  reg_model.default_map.set_sequencer (.sequencer(block_env.sequencer.master_sequencer[0]), .adapter(adapter))

When We use this we get UVM_FATAL error

[SEQ] neither the item's sequencer nor dedicated sequencer has been supplied to start item in seq.

Any idea how I should resolve this issue.

VIP uses p_sequencer whereas other sequencer uses m_sequencer.









Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this