Class uvm_pkg::uvm_event
- uvm_pkg :: uvm_void
Name |
Default value |
Description |
---|---|---|
T |
uvm_object |
Name |
Type |
Description |
---|---|---|
type_name |
string |
Constructors
- new(string name = "")
Function
new
Creates a new event object.
- Parameters:
name (string)
Functions
- trigger(uvm_object data = null)
Function
trigger
Triggers the event, resuming all waiting processes.
An optional data argument can be supplied with the enable to provide trigger-specific information.
- Parameters:
data (uvm_object)
- get_trigger_data()
- Return type:
- get_type_name()
- add_callback(uvm_event_callback#(uvm_object) cb, bit append = 1)
Function
add_callback
Registers a callback object, cb , with this event. The callback object may include pre_trigger and post_trigger functionality. If append is set to 1, the default, cb is added to the back of the callback list. Otherwise, cb is placed at the front of the callback list.
- Parameters:
append (bit)
- delete_callback(uvm_event_callback#(uvm_object) cb)
Function
delete_callback
Unregisters the given callback, cb , from this event.
- Parameters:
- do_print(uvm_printer printer)
- Parameters:
printer (uvm_printer)
- do_copy(uvm_object rhs)
- Parameters:
rhs (uvm_object)
- create(string name = "")
- Parameters:
name (string)
- Return type:
Tasks
- wait_trigger_data(uvm_object data)
- Parameters:
data (uvm_object)
- wait_ptrigger_data(uvm_object data)
Task
wait_ptrigger_data
This method calls uvm_event_base::wait_ptrigger followed by get_trigger_data.
- Parameters:
data (uvm_object)
CLASS
uvm_event#(T)
The uvm_event class is an extension of the abstract uvm_event_base class.
The optional parameter T allows the user to define a data type which can be passed during an event trigger.