This is an implementation of uvm_reg as described in 1800.2 with the addition of API described below.
uvm_reg | ||||
This is an implementation of uvm_reg as described in 1800.2 with the addition of API described below. | ||||
Class Hierarchy | ||||
| ||||
Class Declaration | ||||
| ||||
Initialization | ||||
Introspection | ||||
get_name | Get the simple name | |||
get_full_name | Get the hierarchical name | |||
get_default_map | ||||
get_n_bits | Returns the width, in bits, of this register. | |||
get_n_bytes | Returns the width, in bytes, of this register. | |||
get_max_size | Returns the maximum width, in bits, of all registers. | |||
Access | ||||
get_reset | Get the specified reset value for this register | |||
set_reset | Specify or modify the reset value for this register | |||
Frontdoor | ||||
Backdoor | ||||
Coverage | ||||
Callbacks |
Get the simple name
Return the simple object name of this register.
virtual function string get_full_name()
Get the hierarchical name
Return the hierarchal name of this register. The base of the hierarchical name is the root block.
virtual function uvm_reg_map get_default_map ()
If the register is not associated with any map | returns null |
Else If the register is associated with only one map | return a handle to that map Else try to find the first default map in its parent blocks and return its handle If there are no default maps in the registers parent blocks return a handle to the first map in its map array |
virtual function int unsigned get_n_bits ()
Returns the width, in bits, of this register.
virtual function int unsigned get_n_bytes()
Returns the width, in bytes, of this register. Rounds up to next whole byte if register is not a multiple of 8.
static function int unsigned get_max_size()
Returns the maximum width, in bits, of all registers.
virtual function uvm_reg_data_t get_reset( string kind = "HARD" )
Get the specified reset value for this register
Return the reset value for this register for the specified reset kind.
virtual function void set_reset( uvm_reg_data_t value, string kind = "HARD" )
Specify or modify the reset value for this register
Specify or modify the reset value for all the fields in the register corresponding to the cause specified by kind.
The uvm_void class is the base class for all UVM classes.
virtual class uvm_void
The uvm_object class is the base class for all UVM data and hierarchical classes.
virtual class uvm_object extends uvm_void
This is an implementation of uvm_reg as described in 1800.2 with the addition of API described below.
class uvm_reg extends uvm_object
Get the hierarchical name
virtual function string get_full_name()
virtual function uvm_reg_map get_default_map ()
Returns the width, in bits, of this register.
virtual function int unsigned get_n_bits ()
Returns the width, in bytes, of this register.
virtual function int unsigned get_n_bytes()
Returns the maximum width, in bits, of all registers.
static function int unsigned get_max_size()
Get the specified reset value for this register
virtual function uvm_reg_data_t get_reset( string kind = "HARD" )
Specify or modify the reset value for this register
virtual function void set_reset( uvm_reg_data_t value, string kind = "HARD" )