Download VCS user guide
Transcript
vmm_notify::append_callback()
Registers a callback extension.
SystemVerilog
function void append_callback(int
notification_id,
vmm_notify_callbacks cbs);
OpenVera
task append_callback(integer event_id,
rvm_notify_callbacks cbs);
Description
Appends the specified callback extension to the list of registered
callbacks, for the specified notification. All registered callback
extensions are invoked, when the specified notification is indicated.
Example
Example A-159
class my_callbacks extends vmm_notify_callbacks;
virtual function void indicated(vmm_data status);
...
endfunction
endclass
program vmm_notify_test;
initial begin
int EVENT_A = 1;
vmm_log log = new("Notify event", "vmm_notify_test");
vmm_notify notify = new(log);
my_callbacks my_callbacks_inst = new;
void'(notify.configure(EVENT_A));
VMM User Guide
A-424
Related documents
VMM 1.2 Standard Library User Guide
WRL Research Report 90/7 1990 DECWRL/ Livermore
Delta Electronics VFD-PU06 User's Manual
Public Interface
Reference Manual
Deliverable number - Deliverable Name
Encore SIM EDITOR SOFTWARE User guide
300000 Template - KMI Support WIKI
Paper - Verilab
as a PDF
Compliance Checking for OVM Interface OVCs
fulltext - DiVA Portal