Download VMM 1.2 Standard Library User Guide

Transcript
vmm_consensus::wait_for_no_consensus()
Waits until a consensus is no longer reached.
SystemVerilog
task wait_for_no_consensus();
OpenVera
task wait_for_no_consensus_t();
Description
Waits until a consensus is broken by no longer being forced and any
one participant opposing. If a consensus is not reached, nor forced
by the time this task is called, then this task will return immediately.
Example
Example A-53
program test_consensus;
vmm_consensus vote = new("Vote", "Main");
initial begin
...
vote.wait_for_no_consensus();
...
end
endprogram
Standard Library Classes (Part 1)
A-145