uvm_reg.svh | |
Initialization | |
Introspection | |
get_name | Get the simple name |
get_full_name | Get the hierarchical name |
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 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.
Get the hierarchical name
virtual function string get_full_name()
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" )