UVM Register Transactions

Transaction definitions for register based transactions and bus independent transactions.

Summary
UVM Register Transactions
Transaction definitions for register based transactions and bus independent transactions.

uvm_register_transaction

A utility register transaction.  It has an op_code, name and data, and might be generated from function calls such as

READ("register1", r_data)
WRITE("a.b.c.register2, 14)
Summary
uvm_register_transaction
A utility register transaction.
Class Hierarchy
uvm_sequence_item
uvm_register_transaction
Class Declaration
class uvm_register_transaction extends uvm_sequence_item
Variables
op
nameName for the register
dataData for the transaction

op

rand op_code_t op
Operation on the busREAD/WRITE

name

string name

Name for the register

data

rand dataWidth_t data

Data for the transaction

bus_transaction

Base-class used with the bus request and response.

Summary
bus_transaction
Base-class used with the bus request and response.
Class Hierarchy
uvm_sequence_item
bus_transaction
Class Declaration
class bus_transaction extends uvm_sequence_item
Variables
op
addressAddress of this transaction
dataData for the transaction

op

rand op_code_t op
Operation on the busREAD/WRITE

address

rand addressWidth_t address

Address of this transaction

data

rand dataWidth_t data

Data for the transaction

bus_request

Useful in the automated register testing.

Summary
bus_request
Useful in the automated register testing.
Class Hierarchy
uvm_sequence_item
bus_request
Class Declaration
class bus_request extends bus_transaction

bus_response

Useful in the automated register testing.

Summary
bus_response
Useful in the automated register testing.
Class Hierarchy
uvm_sequence_item
bus_response
Class Declaration
class bus_response extends bus_transaction
Variables
statusResponse status.

status

status_t status

Response status.  Optional use.

class uvm_register_transaction extends uvm_sequence_item
A utility register transaction.
rand op_code_t op
string name
Name for the register
rand dataWidth_t data
Data for the transaction
class bus_transaction extends uvm_sequence_item
Base-class used with the bus request and response.
rand op_code_t op
rand addressWidth_t address
Address of this transaction
rand dataWidth_t data
Data for the transaction
class bus_request extends bus_transaction
Useful in the automated register testing.
class bus_response extends bus_transaction
Useful in the automated register testing.
status_t status
Response status.