The base class for drivers that initiate requests for new transactions via a ovm_seq_item_pull_port. The ports are typically connected to the exports of an appropriate sequencer component.
This driver operates in pull mode. Its ports are typically connected to the corresponding exports in a pull sequencer as follows:
driver.seq_item_port.connect(sequencer.seq_item_export); driver.rsp_port.connect(sequencer.rsp_export);
The rsp_port needs connecting only if the driver will use it to write responses to the analysis export in the sequencer.
ovm_driver #(REQ,RSP) | ||||||||||||||||||||||
The base class for drivers that initiate requests for new transactions via a ovm_seq_item_pull_port. | ||||||||||||||||||||||
Class Hierarchy | ||||||||||||||||||||||
| ||||||||||||||||||||||
Class Declaration | ||||||||||||||||||||||
| ||||||||||||||||||||||
Ports | ||||||||||||||||||||||
seq_item_port | Derived driver classes should use this port to request items from the sequencer. | |||||||||||||||||||||
rsp_port | This port provides an alternate way of sending responses back to the originating sequencer. | |||||||||||||||||||||
Methods | ||||||||||||||||||||||
new | Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any. |
Derived driver classes should use this port to request items from the sequencer. They may also use it to send responses back.
This port provides an alternate way of sending responses back to the originating sequencer. Which port to use depends on which export the sequencer provides for connection.
function new ( string name, ovm_component parent )
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
The ovm_object class is the base class for all OVM data and hierarchical classes.
virtual class ovm_object extends ovm_void
The ovm_report_object provides an interface to the OVM reporting facility.
class ovm_report_object extends ovm_object
The ovm_component class is the root base class for OVM components.
virtual class ovm_component extends ovm_report_object
The base class for drivers that initiate requests for new transactions via a ovm_seq_item_pull_port.
class ovm_driver #( type REQ = ovm_sequence_item, type RSP = REQ ) extends ovm_component
Creates and initializes an instance of this class using the normal constructor arguments for ovm_component: name is the name of the instance, and parent is the handle to the hierarchical parent, if any.
function new ( string name, ovm_component parent )