vmm_consensus Class Reference

Inheritance list for class vmm_consensus:

List of all members.
Defined at line 1405 of file std_lib/vmm.sv.

Public Member Functions

function void  XvoteX ( bit was_agree, bit agree, bit was_forced, bit forced )
function void  forcing ( string who, string why )
function bit  is_forced ( )
function bit  is_reached ( )
function void  nays ( string who, 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_no_notification ( vmm_notify notify, int notification )
function void  register_notification ( vmm_notify notify, int notification )
function vmm_voter  register_voter ( string name )
function void  register_xactor ( vmm_xactor xact )
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  yeas ( string who, string why )

Public Attributes

vmm_log  log 
int  n_dissenters 
int  n_forcing 
event  new_results 
vmm_voter  voters 


Member Function Documentation

  function void
 vmm_consensus::XvoteX

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


Prototype at line 1456 of file std_lib/vmm.sv.
Defined at line 333 of file std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::forcing

 (  string who, string why  ) 


Prototype at line 1449 of file std_lib/vmm.sv.
Defined at line 307 of file std_lib/vmm_consensus.sv.

  function bit
 vmm_consensus::is_forced

 (   ) 


Prototype at line 1441 of file std_lib/vmm.sv.
Defined at line 231 of file std_lib/vmm_consensus.sv.

  function bit
 vmm_consensus::is_reached

 (   ) 


Prototype at line 1440 of file std_lib/vmm.sv.
Defined at line 226 of file std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::nays

 (  string who, string why  ) 


Prototype at line 1447 of file std_lib/vmm.sv.
Defined at line 285 of file std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::new

 (  string name, string inst  ) 


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

  function string
 vmm_consensus::psdisplay

 (  string prefix = ""  ) 


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

  function void
 vmm_consensus::register_channel

 (  vmm_channel chan  ) 


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

  function void
 vmm_consensus::register_consensus

 (  vmm_consensus vote, bit force_through = 0  ) 


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

  function void
 vmm_consensus::register_no_notification

 (  vmm_notify notify, int notification  ) 


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

  function void
 vmm_consensus::register_notification

 (  vmm_notify notify, int notification  ) 


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

  function vmm_voter
 vmm_consensus::register_voter

 (  string name  ) 


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

  function void
 vmm_consensus::register_xactor

 (  vmm_xactor xact  ) 


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

  function void
 vmm_consensus::unregister_channel

 (  vmm_channel chan  ) 


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

  function void
 vmm_consensus::unregister_consensus

 (  vmm_consensus vote  ) 


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

  function void
 vmm_consensus::unregister_notification

 (  vmm_notify notify, int notification  ) 


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

  function void
 vmm_consensus::unregister_voter

 (  vmm_voter voter  ) 


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

  function void
 vmm_consensus::unregister_xactor

 (  vmm_xactor xact  ) 


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

  task
 vmm_consensus::wait_for_consensus

 (   ) 


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

  task
 vmm_consensus::wait_for_no_consensus

 (   ) 


Prototype at line 1439 of file std_lib/vmm.sv.
Defined at line 221 of file std_lib/vmm_consensus.sv.

  function void
 vmm_consensus::yeas

 (  string who, string why  ) 


Prototype at line 1445 of file std_lib/vmm.sv.
Defined at line 263 of file std_lib/vmm_consensus.sv.


Member Attribute Documentation

  vmm_log  attribute
 vmm_consensus::log


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

 local  int  attribute
 vmm_consensus::n_dissenters


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

 local  int  attribute
 vmm_consensus::n_forcing


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

  event  attribute
 vmm_consensus::new_results


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

 local  vmm_voter  attribute
 vmm_consensus::voters


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