Jump to content

+uvm_set_default_sequence=*,run_phase is causing two threads to spawn


Recommended Posts

I am running the UVM 1.2 examples code given in following link, which are there to demonstrate the UVM 1.2 new features.

 

http://www.edaplayground.com/s/4/1037

 

In the above code, the default sequence code can be controlled from command line with following code.

"+uvm_set_default_sequence=*,main_phase,seq_b"

If i use run_phase instead of main_phase, to control the default sequence, then same sequence will run twice instead of one.

"+uvm_set_default_sequence=*,run_phase,seq_b"

Two sequence threads are getting spawned parallelly, if i use run_phase to control default sequence.

 

I am expecting the behavior should be same whether i use run/main_phase. Not able to figure it out, why different behaviors are seen? 

This behavior is seen with UVM 1.2.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...