vmm_env Class Reference

Inheritance diagram for class vmm_env:

List of all members.



Public Member Functions

task   cfg_dut ( )
task   cleanup ( )
function void  do_all ( vmm_env :: do_what_e what, vmm_env :: restart_e restart_kind = vmm_env::FIRM )
task   hw_reset ( )
task   power_up ( )
task   pre_test ( )
task   report ( )
task   reset_dut ( )
task   restart ( bit reconfig = 0 )
task   restart_test ( )
task   run ( )
task   start ( )
task   stop ( )
function void  build ( )
function void  gen_cfg ( )
function void  new ( string name = "Verif Env" )
function string  psdisplay ( string prefix = "" )
task   wait_for_end ( )

Public Attributes

event  end_test 
vmm_consensus  end_vote 
vmm_log  log 
vmm_notify  notify 
static vmm_opts  _vmm_opts = new; 

Protected Member Functions

virtual function string  do_psdisplay ( string prefix = "" )
rand static local virtual task   do_reset ( vmm_env :: restart_e kind )
rand static local virtual task   do_start ( )
rand static local virtual task   do_stop ( )
rand static local virtual task   do_vote ( )
task   power_on_reset ( )
task   reset_env ( vmm_env :: restart_e kind )
function void  restore_rng_state ( )
function void  save_rng_state ( )

Protected Attributes

protected int  step 
protected bit  __vmm_done_user 
protected int  __vmm_forks 
static protected string  __vmm_image 
static protected string  __vmm_prefix 
protected vmm_env :: restart_e  __vmm_restart 

Member Typedefs

 typedef enum  do_what_e 
 typedef enum  notifications_e 
 typedef enum  restart_e 


Member Function Documentation

  task
 vmm_env::cfg_dut

 (   ) 

  task
 vmm_env::cleanup

 (   ) 

  function void
 vmm_env::do_all

 (  vmm_env :: do_what_e what , vmm_env :: restart_e restart_kind = vmm_env::FIRM  ) 

 protected virtual function string
 vmm_env::do_psdisplay

 (  string prefix = ""  ) 

  task
 vmm_env::hw_reset

 (   ) 

 protected task
 vmm_env::power_on_reset

 (   ) 

  task
 vmm_env::power_up

 (   ) 

  task
 vmm_env::pre_test

 (   ) 

  task
 vmm_env::report

 (   ) 

  task
 vmm_env::reset_dut

 (   ) 

 protected task
 vmm_env::reset_env

 (  vmm_env :: restart_e kind  ) 

  task
 vmm_env::restart

 (  bit reconfig = 0  ) 

  task
 vmm_env::restart_test

 (   ) 

 protected function void
 vmm_env::restore_rng_state

 (   ) 

  task
 vmm_env::run

 (   ) 

  task
 vmm_env::start

 (   ) 

  task
 vmm_env::stop

 (   ) 

  function void
 vmm_env::build

 (   ) 

  function void
 vmm_env::gen_cfg

 (   ) 

  function void
 vmm_env::new

 (  string name = "Verif Env"  ) 

  function string
 vmm_env::psdisplay

 (  string prefix = ""  ) 

 protected function void
 vmm_env::save_rng_state

 (   ) 

  task
 vmm_env::wait_for_end

 (   ) 


Member Attribute Documentation

 event  attribute
 vmm_env::end_test

 vmm_consensus  attribute
 vmm_env::end_vote

 vmm_log  attribute
 vmm_env::log

 vmm_notify  attribute
 vmm_env::notify

 protected int  attribute
 vmm_env::step

 static vmm_opts  attribute
 vmm_env::_vmm_opts = new

 protected bit  attribute
 vmm_env::__vmm_done_user

 protected int  attribute
 vmm_env::__vmm_forks

 static protected string  attribute
 vmm_env::__vmm_image

 static protected string  attribute
 vmm_env::__vmm_prefix

 protected vmm_env :: restart_e  attribute
 vmm_env::__vmm_restart


Member Typedef Documentation

 typedef enum  vmm_env::do_what_e
DO_PRINT('h001)
DO_START('h002)
DO_STOP('h004)
DO_RESET('h008)
DO_VOTE('h010)
DO_ALL('hFFF)

 typedef enum  vmm_env::notifications_e
GEN_CFG(1)
BUILD
RESET_DUT
CFG_DUT
START
RESTART
WAIT_FOR_END
STOP
CLEANUP
REPORT
RESTARTED

 typedef enum  vmm_env::restart_e
HARD
SOFT
FIRM