Jump to content


  • Posts

  • Joined

  • Last visited

Recent Profile Visitors

494 profile views

Atul's Achievements


Member (1/2)



  1. Hello All, I am working on SystemC-UVM based testbench. I have created UVM based testbench using UVM code generator. Here I am using three different agents in UVM generator which I have defined as a part of the configuration file which was further being provided to UVM code generator to generate test bench skeleton. And here, in of the agent driver, the code snippet is as: // Drive the inputs of the DUT UVM_INFO(this->name(),"Driving transaction:",0); req.print(); // TODO put your code here But when I try to read the value in my test-case, then I see an error as: And this error is observed inside print() function, once I comment the line "req.print()" from the above snippet the error is no more observed and my test-case runs fine.
  2. Thanks Philipp!!! Earliear i tried using next_trigger without any argument to retain static sensitivity(as next_trigger()), but was not working and now somehow it's working. Thanks for your help.
  3. Hello All, I have written one process as SC_METHOD and want to use next_trigger into it. But as next trigger overrides the static sensitivity. So i have to consider adding static event if needed explicitly withing method. And here once i am triggered by that dynamic event so i have to add up the static sensitive events using next trigger for that i have written something as: void A::proc1() //SC_METHOD(proc1) sensitive << ev1<<ev2; { if(test_condition){} else { next_trigger(dyanmic_event); if(enable_if_dynamic_event) // "enable_if_dynamic_event" will get enable once dynamic event gets triggered { //Do something next_trigger(ev1|ev2); //void next_trigger( const sc_event_or_list & ); } } } But here once dynamic event gets trigger and here if i add a statement as "next_trigger(ev1|ev2);" to enable the static sensitive event, this is not happening i mean this even is not triggering my method when either ev1 or ev2 is triggered. Please let me know if i am missing anything.
  • Create New...