uvm_resource_db_options

UVMkit » 1800.2-2020

This class contains static functions for manipulating and retrieving options that control the behavior of the resources DB facility.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

Summary
uvm_resource_db_options
This class contains static functions for manipulating and retrieving options that control the behavior of the resources DB facility.
Class Declaration
class uvm_resource_db_options
Methods
turn_on_tracingTurn tracing on for the resource database.
turn_off_tracingTurn tracing off for the resource database.
is_tracingReturns 1 if the tracing facility is on and 0 if it is off.

turn_on_tracing

static function void turn_on_tracing()

Turn tracing on for the resource database.  This causes all reads and writes to the database to display information about the accesses.  Tracing is off by default.

This method is implicitly called by the +UVM_RESOURCE_DB_TRACE.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

turn_off_tracing

static function void turn_off_tracing()

Turn tracing off for the resource database.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

is_tracing

static function bit is_tracing()

Returns 1 if the tracing facility is on and 0 if it is off.

@uvm-accellera The details of this API are specific to the Accellera implementation, and are not being considered for contribution to 1800.2

class uvm_resource_db_options
This class contains static functions for manipulating and retrieving options that control the behavior of the resources DB facility.
static function void turn_on_tracing()
Turn tracing on for the resource database.
static function void turn_off_tracing()
Turn tracing off for the resource database.
static function bit is_tracing()
Returns 1 if the tracing facility is on and 0 if it is off.