uvm_core_state_callback

This class is used to notify the user when the core state changes.

This is a virtual class and must be derived from.

@uvm-contribFor potential contributions to the 1800.2 standard.
Summary
uvm_core_state_callback
This class is used to notify the user when the core state changes.
Class Hierarchy
uvm_callback
uvm_core_state_callback
Class Declaration
virtual class uvm_core_state_callback extends uvm_callback
Methods
newInitializes a new instance with name.
core_state_changeThis function is called when the core state changes.
addAdds a new core state callback to the list of callbacks.
deleteDeletes a core state callback from the list of callbacks.

new

function new(
    string  name  =  "uvm_core_state_callback"
)

Initializes a new instance with name.

@uvm-contribFor potential contributions to the 1800.2 standard.

core_state_change

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-contribFor potential contributions to the 1800.2 standard.

add

static function bit add(
    uvm_core_state_callback  cb
)

Adds a new core state callback to the list of callbacks.

@uvm-contribFor potential contributions to the 1800.2 standard.

delete

static function bit delete(
    uvm_core_state_callback  cb
)

Deletes a core state callback from the list of callbacks.

@uvm-contribFor potential contributions to the 1800.2 standard.
virtual class uvm_core_state_callback extends uvm_callback
This class is used to notify the user when the core state changes.
function new(
    string  name  =  "uvm_core_state_callback"
)
Initializes a new instance with name.
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.
static function bit add(
    uvm_core_state_callback  cb
)
Adds a new core state callback to the list of callbacks.
static function bit delete(
    uvm_core_state_callback  cb
)
Deletes a core state callback from the list of callbacks.