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.
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 | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Class Declaration | |||||||||||||||||||||||||||
| |||||||||||||||||||||||||||
Ports | |||||||||||||||||||||||||||
analysis_port | The adapter writes converted VMM data supplied by a vmm_notify event notification to this analysis_port. | ||||||||||||||||||||||||||
Variables | |||||||||||||||||||||||||||
notify | The notify object that this adapter uses to register a callback on the RECEIVED event notification. | ||||||||||||||||||||||||||
RECEIVED | The notification id that, when indicated, will provide data to a callback registered by this adapter. | ||||||||||||||||||||||||||
Methods | |||||||||||||||||||||||||||
new | 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. | ||||||||||||||||||||||||||
indicated | 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. |
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.
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.
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.
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 avt_notify2analysis #( type VMM = int, OVM = int, VMM2OVM = int ) extends ovm_component
The notify object that this adapter uses to register a callback on the RECEIVED event notification.
vmm_notify notify
The notification id that, when indicated, will provide data to a callback registered by this adapter.
int RECEIVED
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.
function new ( string name, ovm_component parent = null, vmm_notify notify = null, int notification_id = -1 )
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.
virtual function void indicated( vmm_data status )