uvm_reg_field.svh | |
value | Mirrored field value. |
Initialization | |
Introspection | |
get_name | Get the simple name |
get_full_name | Get the hierarchical name |
get_lsb_pos | Return the position of the field |
get_n_bits | Returns the width, in number of bits, of the field. |
get_max_size | Returns the width, in number of bits, of the largest field. |
get_access | Get the access policy of the field |
Access | |
Callbacks |
rand uvm_reg_data_t value
Mirrored field value. This value can be sampled in a functional coverage model or constrained when randomized.
Get the simple name
Return the simple object name of this field
virtual function string get_full_name()
Get the hierarchical name
Return the hierarchal name of this field The base of the hierarchical name is the root block.
virtual function int unsigned get_lsb_pos()
Return the position of the field
Returns the index of the least significant bit of the field in the register that instantiates it. An offset of 0 indicates a field that is aligned with the least-significant bit of the register.
virtual function int unsigned get_n_bits()
Returns the width, in number of bits, of the field.
static function int unsigned get_max_size()
Returns the width, in number of bits, of the largest field.
virtual function string get_access( uvm_reg_map map = null )
Get the access policy of the field
Returns the current access policy of the field when written and read through the specified address map. If the register containing the field is mapped in multiple address map, an address map must be specified. The access policy of a field from a specific address map may be restricted by the register’s access policy in that address map. For example, a RW field may only be writable through one of the address maps and read-only through all of the other maps. If the field access contradicts the map’s access value (field access of WO, and map access value of RO, etc), the method’s return value is NOACCESS.
Mirrored field value.
rand uvm_reg_data_t value
Get the hierarchical name
virtual function string get_full_name()
Return the position of the field
virtual function int unsigned get_lsb_pos()
Returns the width, in number of bits, of the field.
virtual function int unsigned get_n_bits()
Returns the width, in number of bits, of the largest field.
static function int unsigned get_max_size()
Get the access policy of the field
virtual function string get_access( uvm_reg_map map = null )