Jump to content

nirmish

Members
  • Content Count

    6
  • Joined

  • Last visited

Posts posted by nirmish


  1. I would recommend to get the get the interface handle inside the sequencer's build phase( the way we do in the monitor & driver)

     

     

    sequence is static block, static in the sense that it will be not be destroyed and created like the sequences.

     

    sequences are not extended from the uvm_component so they dont have access to phasing.

     

    you can use p_sequencer handle inside the sequences to access the sequence properties, you have to declare the `uvm_declare_p_sequencer(sample_agent_sequencer) inside sequences to access the p_sequencer handle.

     

    Thanks

    Nirmish


  2. Another Simple use case of polymorphism is callbacks.... in driver classes you call the methods [pre* , *post]  which are defined in façade class.

     

    Now when you extend these façade class you provide definition to these method, once these extended callback classes are added to queue of these callback class then during execution of test case functionality of these redefined method will be called by using the handle of old class...

     

    this is possible by polymorphism...

    hope it helps and clear to you :-)

×
×
  • Create New...