jishnu.de Posted June 6, 2012 Report Share Posted June 6, 2012 Hi all, I am runnig into an issue in UVM Phasing. I have an agent which is incorporating the new UVM Phases of configure_phase and main_phase. In configure i am configuring VIP and in main_phase run tasks are called. I have a Driver which runs on run_phase as i want it to run always and do not want any effect for phase jumping. There is a uvm_event in the driver which is triggered everytime sequence_item_port gets in run_phase. I am waiting for this event in main_phase of the agent. I see the uvm_event is getting triggered but this trigger is not read in agent. The uvm event is global a property of driver and not local to run_phase. If I change the main_phase of agent to run_phase then this event trigger is read. I am clueless Thanks Jishnu Quote Link to comment Share on other sites More sharing options...
amitrana Posted June 6, 2012 Report Share Posted June 6, 2012 Hi Jishnu, for wait process use wait_ptrigger(), to sense the event in the current time value,it removes the race condition ,between triggeriing process and waiting process Quote Link to comment Share on other sites More sharing options...
jishnu.de Posted June 6, 2012 Author Report Share Posted June 6, 2012 Hi Amit, I am using wait_ptrigger. It is not a race condition issue. The wait_ptrigger doesnot work in main_phase but work if i make it run_phase. Regards Jishnu Quote Link to comment Share on other sites More sharing options...
amitrana Posted June 6, 2012 Report Share Posted June 6, 2012 Hi Jishnu, Are you rasing and droping objection from main_phase. Plz use objection in main phase. Quote Link to comment Share on other sites More sharing options...
jishnu.de Posted June 7, 2012 Author Report Share Posted June 7, 2012 No i have not. The main_phase has an infinite loop. So i cannot raise objection. Quote Link to comment Share on other sites More sharing options...
amitrana Posted June 7, 2012 Report Share Posted June 7, 2012 Hi Jishnu, You can raise the objection from sequence,for example in sequence you can do like that in pre_body if(starting_phase !=null) starting_phase.raise_objection(starting_phase) and in post_body drop the objection. Quote Link to comment Share on other sites More sharing options...
ZeusXylon Posted August 27, 2012 Report Share Posted August 27, 2012 between triggeriing process and waiting process ----------------------------- Another Success Story for DVDs --- Desperate Housewives Season 8 DVD,miss it when you lose it! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.