class reg2apb_adapter extends uvm_reg_adapter
Implements the translation between apb_seq_item and uvm_reg_bus_op.
The mapping is one-to-one due to similarities between UVM RAL and APB.
reg2apb_adapter | Implements the translation between apb_seq_item and uvm_reg_bus_op. |
Functions | |
new | Conventional UVM object constructor. |
reg2bus | Converts a generic, RAL transaction type into an APB bus transaction type. |
bus2reg | Converts an APB bus transaction type into a generic, RAL transaction type. |
Implements the translation between apb_seq_item and uvm_reg_bus_op.
class reg2apb_adapter extends uvm_reg_adapter
Conventional UVM object constructor.
function new( string name = "reg2apb_adapter" )
Converts a generic, RAL transaction type into an APB bus transaction type.
virtual function uvm_sequence_item reg2bus( const ref uvm_reg_bus_op rw )
Converts an APB bus transaction type into a generic, RAL transaction type.
virtual function void bus2reg( uvm_sequence_item bus_item, ref uvm_reg_bus_op rw )