vmm_consensus Class Reference

Inheritance list for class vmm_consensus:

List of all members.
Typedef at line 669 of file sv/std_lib/vmm.sv.
Defined at line 1795 of file sv/std_lib/vmm.sv.

Public Member Functions

function void  forcing ( ref string who, ref string why )
function bit  is_forced ( )
function bit  is_reached ( )
function void  nays ( ref string who, ref string why )
function void  new ( string name, string inst )
function string  psdisplay ( string prefix = )
function void  register_channel ( vmm_channel chan )
function void  register_consensus ( vmm_consensus vote, bit force_through = 0 )
function void  register_notification ( vmm_notify notify, int notification )
function void  register_no_notification ( vmm_notify notify, int notification )
function vmm_voter  register_voter ( string name )
function void  register_xactor ( vmm_xactor xact )
function void  unregister_all ( )
function void  unregister_channel ( vmm_channel chan )
function void  unregister_consensus ( vmm_consensus vote )
function void  unregister_notification ( vmm_notify notify, int notification )
function void  unregister_voter ( vmm_voter voter )
function void  unregister_xactor ( vmm_xactor xact )
task  wait_for_consensus ( )
task  wait_for_no_consensus ( )
function void  XvoteX ( bit was_agree, bit agree, bit was_forced, bit forced )
function void  yeas ( ref string who, ref string why )

Public Attributes

vmm_log  log 
local int  n_dissenters 
local int  n_forcing 
event  new_results 
local vmm_voter  voters [$] 


Member Function Documentation

  function void
 vmm_consensus::forcing

 (  ref string who, ref string why  ) 


Prototype at line 1840 of file sv/std_lib/vmm.sv.
Defined at line 327 of file sv/std_lib/vmm_consensus.sv.

  function bit
 vmm_consensus::is_forced

 (   ) 


Prototype at line 1832 of file sv/std_lib/vmm.sv.
Defined at line 251 of file sv/std_lib/vmm_consensus.sv.

  function bit
 vmm_consensus::is_reached

 (   ) 


Prototype at line 1831 of file sv/std_lib/vmm.sv.
Defined at line 246 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::nays

 (  ref string who, ref string why  ) 


Prototype at line 1838 of file sv/std_lib/vmm.sv.
Defined at line 305 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::new

 (  string name, string inst  ) 


Prototype at line 1805 of file sv/std_lib/vmm.sv.
Defined at line 28 of file sv/std_lib/vmm_consensus.sv.

  function string
 vmm_consensus::psdisplay

 (  string prefix =  ) 


Prototype at line 1834 of file sv/std_lib/vmm.sv.
Defined at line 256 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::register_channel

 (  vmm_channel chan  ) 


Prototype at line 1813 of file sv/std_lib/vmm.sv.
Defined at line 87 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::register_consensus

 (  vmm_consensus vote, bit force_through = 0  ) 


Prototype at line 1819 of file sv/std_lib/vmm.sv.
Defined at line 194 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::register_notification

 (  vmm_notify notify, int notification  ) 


Prototype at line 1815 of file sv/std_lib/vmm.sv.
Defined at line 112 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::register_no_notification

 (  vmm_notify notify, int notification  ) 


Prototype at line 1817 of file sv/std_lib/vmm.sv.
Defined at line 142 of file sv/std_lib/vmm_consensus.sv.

  function vmm_voter
 vmm_consensus::register_voter

 (  string name  ) 


Prototype at line 1811 of file sv/std_lib/vmm.sv.
Defined at line 40 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::register_xactor

 (  vmm_xactor xact  ) 


Prototype at line 1812 of file sv/std_lib/vmm.sv.
Defined at line 65 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::unregister_all

 (   ) 


Prototype at line 1827 of file sv/std_lib/vmm.sv.
Defined at line 216 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::unregister_channel

 (  vmm_channel chan  ) 


Prototype at line 1823 of file sv/std_lib/vmm.sv.
Defined at line 95 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::unregister_consensus

 (  vmm_consensus vote  ) 


Prototype at line 1826 of file sv/std_lib/vmm.sv.
Defined at line 201 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::unregister_notification

 (  vmm_notify notify, int notification  ) 


Prototype at line 1825 of file sv/std_lib/vmm.sv.
Defined at line 172 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::unregister_voter

 (  vmm_voter voter  ) 


Prototype at line 1821 of file sv/std_lib/vmm.sv.
Defined at line 52 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::unregister_xactor

 (  vmm_xactor xact  ) 


Prototype at line 1822 of file sv/std_lib/vmm.sv.
Defined at line 72 of file sv/std_lib/vmm_consensus.sv.

  task
 vmm_consensus::wait_for_consensus

 (   ) 


Prototype at line 1829 of file sv/std_lib/vmm.sv.
Defined at line 236 of file sv/std_lib/vmm_consensus.sv.

  task
 vmm_consensus::wait_for_no_consensus

 (   ) 


Prototype at line 1830 of file sv/std_lib/vmm.sv.
Defined at line 241 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::XvoteX

 (  bit was_agree, bit agree, bit was_forced, bit forced  ) 


Prototype at line 1847 of file sv/std_lib/vmm.sv.
Defined at line 353 of file sv/std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::yeas

 (  ref string who, ref string why  ) 


Prototype at line 1836 of file sv/std_lib/vmm.sv.
Defined at line 283 of file sv/std_lib/vmm_consensus.sv.


Member Attribute Documentation

 vmm_log  attribute
 vmm_consensus::log


Defined at line 1797 of file sv/std_lib/vmm.sv.

 local int  attribute
 vmm_consensus::n_dissenters


Defined at line 1799 of file sv/std_lib/vmm.sv.

 local int  attribute
 vmm_consensus::n_forcing


Defined at line 1800 of file sv/std_lib/vmm.sv.

 event  attribute
 vmm_consensus::new_results


Defined at line 1843 of file sv/std_lib/vmm.sv.

 local vmm_voter  attribute
 vmm_consensus::voters[$]


Defined at line 1802 of file sv/std_lib/vmm.sv.