avt_notify2analysis

The avt_notify2analysis adapter receives VMM data supplied by a vmm_notify event notification, converts it to OVM, then broadcasts it to all components connected to its analysis_port

See also avt_notify2analysis example.

Summary
avt_notify2analysis
The avt_notify2analysis adapter receives VMM data supplied by a vmm_notify event notification, converts it to OVM, then broadcasts it to all components connected to its analysis_port
Class Hierarchy
ovm_component
avt_notify2analysis
Class Declaration
class avt_notify2analysis #(
   type VMM = int,
    OVM = int,
    VMM2OVM = int
) extends ovm_component
Ports
analysis_portThe adapter writes converted VMM data supplied by a vmm_notify event notification to this analysis_port.
Variables
notifyThe notify object that this adapter uses to register a callback on the RECEIVED event notification.
RECEIVEDThe notification id that, when indicated, will provide data to a callback registered by this adapter.
Methods
newCreates a new notify-to-analysis adapter with the given name and optional parent; the notify and notification_id together specify the notification instance that this adapter will be sensitive to.
indicatedCalled back when the RECEIVED notification in the notify object is indicated, this method converts the <VMM> data given in the status argument to its <OVM> counterpart, then send it out the analysis_port to any connected subscribers.

analysis_port

The adapter writes converted VMM data supplied by a vmm_notify event notification to this analysis_port.

Components connected to this analysis port via an analysis export will receive these transactions in a non-blocking fashion.  If a receiver can not immediately accept broadcast transactions, it must buffer them.

notify

vmm_notify notify

The notify object that this adapter uses to register a callback on the RECEIVED event notification.

RECEIVED

int RECEIVED

The notification id that, when indicated, will provide data to a callback registered by this adapter.  The callback will forward the data to the indicated method.

new

function new (string name,  
ovm_component parent = null,
vmm_notify notify = null,
int notification_id = -1)

Creates a new notify-to-analysis adapter with the given name and optional parent; the notify and notification_id together specify the notification instance that this adapter will be sensitive to.  The adapter will register a callback that is called when the notification is indicated.  The callback will forward the (status) transaction to the indicated method.

If the notify handle is not supplied or null, the adapter will create one and assign it to the notify property.  If the notification_id is not provided, the adapter will configure a ONE_SHOT notification and assign it to the RECEIVED property.

indicated

virtual function void indicated(vmm_data status)

Called back when the RECEIVED notification in the notify object is indicated, this method converts the <VMM> data given in the status argument to its <OVM> counterpart, then send it out the analysis_port to any connected subscribers.

class avt_notify2analysis #(type VMM = int,
 OVM = int,
 VMM2OVM = int) extends ovm_component
The avt_notify2analysis adapter receives VMM data supplied by a vmm_notify event notification, converts it to OVM, then broadcasts it to all components connected to its analysis_port
The adapter writes converted VMM data supplied by a vmm_notify event notification to this analysis_port.
vmm_notify notify
The notify object that this adapter uses to register a callback on the RECEIVED event notification.
int RECEIVED
The notification id that, when indicated, will provide data to a callback registered by this adapter.
function new (string name,  
ovm_component parent = null,
vmm_notify notify = null,
int notification_id = -1)
Creates a new notify-to-analysis adapter with the given name and optional parent; the notify and notification_id together specify the notification instance that this adapter will be sensitive to.
virtual function void indicated(vmm_data status)
Called back when the RECEIVED notification in the notify object is indicated, this method converts the VMM data given in the status argument to its OVM counterpart, then send it out the analysis_port to any connected subscribers.
This example shows how to use the avt_notify2analysis adapter to connect a VMM xactor that passes transactions via event notifications to an OVM analysis subscriber.