Jump to content
Sign in to follow this  
Shankar`

starting phase in default sequence

Recommended Posts

Hi,

Since there are two methods to start a sequence in UVM.

1. Using seq.start() method.

2. By using default_sequence in uvm_config_db.

When we are using the second method for starting the sequence, then we have a option to modify the "starting phase".

What is the default value of "starting phase"?

Since we can modify it using "get_starting_phase()" and "set_starting_phase()", does it means that we can run the sequence in any phase? .

Thanks

 

Share this post


Link to post
Share on other sites

When you set the default_sequence in uvm_config_db, you specify the phase in which the driver will start the sequence.  Just with that specification, you can run the sequence in any phase.

get_starting_phase() and set_starting_phase() refer to a phase that will be objected to by the automatic phase objection feature of uvm_sequence.  The default value for that starting_phase is the phase in which the sequence gets started (what you specified to the uvm_config_db).  

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  

×