Implementation of uvm_resource_db, as defined in section C.3.2.1 of 1800.2-2020, with the following additional API
class uvm_resource_db#(type T=uvm_object)
uvm_resource_db | |
Implementation of uvm_resource_db, as defined in section C.3.2.1 of 1800.2-2020, with the following additional API | |
Methods | |
set_override | Create a new resource, write val to it, and set it into the database. |
set_override_type | Create a new resource, write val to it, and set it into the database. |
set_override_name | Create a new resource, write val to it, and set it into the database. |
static function void set_override( input string scope, input string name, T val, uvm_object accessor = null )
Create a new resource, write val to it, and set it into the database. Set it at the beginning of the queue in the type map and the name map so that it will be (currently) the highest priority resource with the specified name and type.
@uvm-contrib
static function void set_override_type( input string scope, input string name, T val, uvm_object accessor = null )
Create a new resource, write val to it, and set it into the database. Set it at the beginning of the queue in the type map so that it will be (currently) the highest priority resource with the specified type. It will be normal priority (i.e. at the end of the queue) in the name map.
@uvm-contrib
static function void set_override_name( input string scope, input string name, T val, uvm_object accessor = null )
Create a new resource, write val to it, and set it into the database. Set it at the beginning of the queue in the name map so that it will be (currently) the highest priority resource with the specified name. It will be normal priority (i.e. at the end of the queue) in the type map.
@uvm-contrib
Create a new resource, write val to it, and set it into the database.
static function void set_override( input string scope, input string name, T val, uvm_object accessor = null )
Create a new resource, write val to it, and set it into the database.
static function void set_override_type( input string scope, input string name, T val, uvm_object accessor = null )
Create a new resource, write val to it, and set it into the database.
static function void set_override_name( input string scope, input string name, T val, uvm_object accessor = null )