uvm_resource_db¶
- class uvm.base.uvm_resource_db.UVMResourceDb(T=None)[source]¶
Bases:
object
class: UVMResourceDb
All of the functions in uvm_resource_db#(T) are static, so they must be called using the :: operator. For example:
UVMResourceDb.set("A", "*", 17, self)
The parameter value “int” identifies the resource type as UVMResource. Thus, the type of the object in the resource container is int. This maintains the type-safety characteristics of resource operations.
- rsrc_t¶
alias of
UVMResource
- class uvm.base.uvm_resource_db.UVMResourceDbOptions[source]¶
Bases:
object
- ready = False¶
- tracing = False¶
- classmethod turn_on_tracing()[source]¶
Function: 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~.
- classmethod turn_off_tracing()[source]¶
Function: turn_off_tracing
Turn tracing off for the resource database.