Download VMM 1.2 Standard Library User Guide

Transcript
vmm_scheduler_election::post_randomize()
Performs the round-robin election.
SystemVerilog
function void post_randomize();
OpenVera
Not supported.
Description
The default implementation of this method helps to perform the
round-robin election.
Example
Example B-97
class atm_scheduler_election extends
vmm_scheduler_election;
function void pre_randomize();
default_round_robin.constraint_mode(0);
vmm_scheduler_election_valid.constraint_mode(0);
...
endfunction
endclass
class atm_scheduler extends vmm_scheduler ;
atm_scheduler_election randomized_sched;
...
function new(...)
randomized_sched = new();
endfunction
endclass
Standard Library Classes (Part 2)
B-201