uvm_reg_item.svh

UVMkit » 1800.2-2020
Summary
uvm_reg_item.svh
Variables
kindKind of access: READ or WRITE.
valueThe value to write to, or after completion, the value read from the DUT.
offsetFor memory accesses, the offset address.
parentThe sequence from which the operation originated.
extensionHandle to optional user data, as conveyed in the call to write(), read(), mirror(), or update() used to trigger the operation.
Methods
do_copyCopy the rhs object into this object.

kind

rand uvm_access_e kind

Kind of access: READ or WRITE.

Access to this variable is provided for randomization, otherwise interactions with it shall be via the set_kind() and get_kind() accessor methods

@uvm-contrib This variable is being considered for potential contribution to 1800.2

value

rand uvm_reg_data_t value[]

The value to write to, or after completion, the value read from the DUT.  Burst operations use the values property.

Access to this variable is provided for randomization, otherwise interactions with it shall be via the set_value_array() and get_value_array() accessor methods

@uvm-contrib This variable is being considered for potential contribution to 1800.2

offset

rand uvm_reg_addr_t offset

For memory accesses, the offset address.  For bursts, the starting offset address.

Access to this variable is provided for randomization, otherwise interactions with it shall be via the set_offset() and get_offset() accessor methods

@uvm-contrib This variable is being considered for potential contribution to 1800.2

parent

rand uvm_sequence_base parent

The sequence from which the operation originated.

Access to this variable is provided for randomization, otherwise interactions with it shall be via the set_parent() and get_parent() accessor methods

@uvm-contrib This variable is being considered for potential contribution to 1800.2

extension

rand uvm_object extension

Handle to optional user data, as conveyed in the call to write(), read(), mirror(), or update() used to trigger the operation.

do_copy

virtual function void do_copy(
    uvm_object  rhs
)

Copy the rhs object into this object.  The rhs object must derive from <uvm_reg_item>.

@uvm-contrib This API is being considered for potential contribution to 1800.2

rand uvm_access_e kind
Kind of access: READ or WRITE.
rand uvm_reg_data_t value[]
The value to write to, or after completion, the value read from the DUT.
rand uvm_reg_addr_t offset
For memory accesses, the offset address.
rand uvm_sequence_base parent
The sequence from which the operation originated.
rand uvm_object extension
Handle to optional user data, as conveyed in the call to write(), read(), mirror(), or update() used to trigger the operation.
virtual function void do_copy(
    uvm_object  rhs
)
Copy the rhs object into this object.