Download VMM 1.2 Standard Library User Guide

Transcript
vmm_notify::reset()
Resets the specified notification.
SystemVerilog
virtual function void reset(int notification_id = -1,
reset_e rst_typ = SOFT);
OpenVera
Not supported.
Description
A vmm_notify::SOFT reset clears the specified ON_OFF
notification, and restarts the vmm_notification::indicate()
and vmm_notification::reset() methods on any attached
notification descriptor. A vmm_notify::HARD reset clears all
status information and attached notification descriptor on the
specified event, and further assumes that no threads are waiting for
that notification. If no notification is specified, all notifications are
reset.
Example
Example A-161
The following example shows definitions of three user-defined
notifications:
class bus_mon
static int
static int
static int
extends
EVENT_A
EVENT_B
EVENT_C
vmm_xactor;
= 0;
= 1;
= 2;
Standard Library Classes (Part 1)
A-437