This class is used to notify the user when the core state changes.
This is a virtual class and must be derived from.
| @uvm-contrib | For potential contributions to the 1800.2 standard. |
| uvm_core_state_callback | |||
| This class is used to notify the user when the core state changes. | |||
| Class Hierarchy | |||
| |||
| Class Declaration | |||
| |||
| Methods | |||
| new | Initializes a new instance with name. | ||
| core_state_change | This function is called when the core state changes. | ||
| add | Adds a new core state callback to the list of callbacks. | ||
| delete | Deletes a core state callback from the list of callbacks. | ||
function new( string name = "uvm_core_state_callback" )
Initializes a new instance with name.
| @uvm-contrib | For potential contributions to the 1800.2 standard. |
pure virtual function void core_state_change( uvm_core_state state, uvm_core_state prev_state )
This function is called when the core state changes.
| @uvm-contrib | For potential contributions to the 1800.2 standard. |
static function bit add( uvm_core_state_callback cb )
Adds a new core state callback to the list of callbacks.
| @uvm-contrib | For potential contributions to the 1800.2 standard. |
static function bit delete( uvm_core_state_callback cb )
Deletes a core state callback from the list of callbacks.
| @uvm-contrib | For potential contributions to the 1800.2 standard. |
This class is used to notify the user when the core state changes.
virtual class uvm_core_state_callback extends uvm_callback
Initializes a new instance with name.
function new( string name = "uvm_core_state_callback" )
This function is called when the core state changes.
pure virtual function void core_state_change( uvm_core_state state, uvm_core_state prev_state )
Adds a new core state callback to the list of callbacks.
static function bit add( uvm_core_state_callback cb )
Deletes a core state callback from the list of callbacks.
static function bit delete( uvm_core_state_callback cb )