Jump to content

b0rna

Members
  • Content Count

    3
  • Joined

  • Last visited

  1. Hi, In UVM 1.2, the UVM event class is declared as follows: class uvm_event#(type T=uvm_object) extends uvm_event_base; The trigger function has the following line of code: uvm_event_callback#(T) tmp=callbacks; The assignment to callbacks, refers to the uvm_event_base member callbacks[$]. The uvm_event_base is not parameterized, and callbacks[$] is declared in uvm_event_base as: protected uvm_event_callback callbacks[$]; Thus, making the parameterized type of callbacks[$] the default of callbacks[$], which is uvm_object. How can the uvm_event be parameterize
×
×
  • Create New...