This class is provided for quick layering. It will be replaced in a future release.
| UVM Register Auto Test | |
| This class is provided for quick layering. |
Utility class to plug into the register_env.
| uvm_register_auto_test | ||||||||||||||||||||||
| Utility class to plug into the register_env. | ||||||||||||||||||||||
| Class Hierarchy | ||||||||||||||||||||||
| ||||||||||||||||||||||
| Class Declaration | ||||||||||||||||||||||
| ||||||||||||||||||||||
| Variables | ||||||||||||||||||||||
| channel | The communication channel contained in this class. | |||||||||||||||||||||
| Ports | ||||||||||||||||||||||
| transport_export | Connects the channel to the outside world. | |||||||||||||||||||||
| ap | The analysis port for the response. | |||||||||||||||||||||
| Methods | ||||||||||||||||||||||
| do_operation() | A task which MUST be defined in an extension of this class. | |||||||||||||||||||||
| run() | Simple process. | |||||||||||||||||||||
uvm_tlm_transport_channel #( REQ, RSP ) channel
The communication channel contained in this class.
Connects the channel to the outside world.
The analysis port for the response. Usually connected to the sequencer.
pure virtual task do_operation( REQ req, output RSP rsp )
A task which MUST be defined in an extension of this class. This task gets called when a new REQ (request) is received. Usually a user of this class implements do_operation() to map a REQ (request) into pin wiggles, and cause a transaction on a bus. Then the implementation waits for a transaction on the bus which is the response. It then creates an RSP (response) and returns it as an argument to the function.
task run()
Simple process. Call get() on the channel to get the request. Call the user implemented ‘do_operation()’ with the request. When do_operation() returns, a response is ready for putting into the channel using put().
Utility class to plug into the register_env.
virtual class uvm_register_auto_test #( type REQ = uvm_sequence_item, type RSP = uvm_sequence_item ) extends uvm_component
The communication channel contained in this class.
uvm_tlm_transport_channel #( REQ, RSP ) channel
A task which MUST be defined in an extension of this class.
pure virtual task do_operation( REQ req, output RSP rsp )
Simple process.
task run()