vmm_env Class Reference

Inheritance list for class vmm_env:

List of all members.
Typedef at line 672 of file sv/std_lib/vmm.sv.
Defined at line 1903 of file sv/std_lib/vmm.sv.

Public Member Functions

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

Public Attributes

event  end_test 
vmm_consensus  end_vote 
vmm_log  log 
vmm_notify  notify 
local bit  reset_rng_state 
local bit  soft_restart 
local bit  soft_restartable 
local int  step 
local string  thread_rng_state_after_new 
local string  thread_rng_state_after_pre_test 
local string  thread_rng_state_before_start 
static vmm_opts  _vmm_opts = new; 

Protected Member Functions

task  do_reset ( restart_e kind )
task  do_start ( )
task  do_stop ( )
task  do_vote ( )
virtual function string  do_psdisplay ( string prefix = )
task  power_on_reset ( )
task  reset_env ( restart_e kind )
function void  restore_rng_state ( )
function void  save_rng_state ( )

Protected Attributes

protected bit  __vmm_done_user 
protected int  __vmm_forks 
static protected string  __vmm_image 
static protected string  __vmm_prefix 
protected restart_e  __vmm_restart 

Enum Typedefs

 typedef enum  do_what_e 
 typedef enum  notifications_e 
 typedef enum  restart_e 


Member Function Documentation

  task
 vmm_env::cleanup

 (   ) 


Prototype at line 1962 of file sv/std_lib/vmm.sv.
Defined at line 270 of file sv/std_lib/vmm_env.sv.

 protected virtual task
 vmm_env::do_reset

 (  restart_e kind  ) 


Prototype at line 1995 of file sv/std_lib/vmm.sv.
Defined at line 397 of file sv/std_lib/vmm_env.sv.

 protected virtual task
 vmm_env::do_start

 (   ) 


Prototype at line 1993 of file sv/std_lib/vmm.sv.
Defined at line 387 of file sv/std_lib/vmm_env.sv.

 protected virtual task
 vmm_env::do_stop

 (   ) 


Prototype at line 1994 of file sv/std_lib/vmm.sv.
Defined at line 392 of file sv/std_lib/vmm_env.sv.

 protected virtual task
 vmm_env::do_vote

 (   ) 


Prototype at line 1992 of file sv/std_lib/vmm.sv.
Defined at line 382 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::report

 (   ) 


Prototype at line 1965 of file sv/std_lib/vmm.sv.
Defined at line 353 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::restart

 (  bit reconfig = 0  ) 


Prototype at line 1963 of file sv/std_lib/vmm.sv.
Defined at line 285 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::restart_test

 (   ) 


Prototype at line 1964 of file sv/std_lib/vmm.sv.
Defined at line 331 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::start

 (   ) 


Prototype at line 1959 of file sv/std_lib/vmm.sv.
Defined at line 219 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::stop

 (   ) 


Prototype at line 1961 of file sv/std_lib/vmm.sv.
Defined at line 255 of file sv/std_lib/vmm_env.sv.

  function void
 vmm_env::build

 (   ) 


Prototype at line 1956 of file sv/std_lib/vmm.sv.
Defined at line 155 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::cfg_dut

 (   ) 


Prototype at line 1958 of file sv/std_lib/vmm.sv.
Defined at line 199 of file sv/std_lib/vmm_env.sv.

  function void
 vmm_env::do_all

 (  do_what_e what, restart_e restart_kind = vmm_envFIRM  ) 


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

 protected virtual function string
 vmm_env::do_psdisplay

 (  string prefix =  ) 


Prototype at line 1991 of file sv/std_lib/vmm.sv.
Defined at line 377 of file sv/std_lib/vmm_env.sv.

  function void
 vmm_env::gen_cfg

 (   ) 


Prototype at line 1955 of file sv/std_lib/vmm.sv.
Defined at line 141 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::hw_reset

 (   ) 


Prototype at line 1950 of file sv/std_lib/vmm.sv.
Defined at line 100 of file sv/std_lib/vmm_env.sv.

  function void
 vmm_env::new

 (  string name = Verif Env  ) 


 Superseding functions 
 vmm_ral_env :: new 


Prototype at line 1937 of file sv/std_lib/vmm.sv.
Defined at line 24 of file sv/std_lib/vmm_env.sv.

 protected task
 vmm_env::power_on_reset

 (   ) 


Prototype at line 1949 of file sv/std_lib/vmm.sv.
Defined at line 95 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::power_up

 (   ) 


Prototype at line 1952 of file sv/std_lib/vmm.sv.
Defined at line 104 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::pre_test

 (   ) 


Prototype at line 1954 of file sv/std_lib/vmm.sv.
Defined at line 109 of file sv/std_lib/vmm_env.sv.

  function string
 vmm_env::psdisplay

 (  string prefix =  ) 


Prototype at line 1943 of file sv/std_lib/vmm.sv.
Defined at line 68 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::reset_dut

 (   ) 


Prototype at line 1957 of file sv/std_lib/vmm.sv.
Defined at line 174 of file sv/std_lib/vmm_env.sv.

 protected task
 vmm_env::reset_env

 (  restart_e kind  ) 


Prototype at line 1947 of file sv/std_lib/vmm.sv.
Defined at line 87 of file sv/std_lib/vmm_env.sv.

 protected function void
 vmm_env::restore_rng_state

 (   ) 


Prototype at line 1968 of file sv/std_lib/vmm.sv.
Defined at line 368 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::run

 (   ) 


Prototype at line 1945 of file sv/std_lib/vmm.sv.
Defined at line 75 of file sv/std_lib/vmm_env.sv.

 protected function void
 vmm_env::save_rng_state

 (   ) 


Prototype at line 1967 of file sv/std_lib/vmm.sv.
Defined at line 359 of file sv/std_lib/vmm_env.sv.

  task
 vmm_env::wait_for_end

 (   ) 


Prototype at line 1960 of file sv/std_lib/vmm.sv.
Defined at line 240 of file sv/std_lib/vmm_env.sv.


Member Attribute Documentation

 event  attribute
 vmm_env::end_test


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

 vmm_consensus  attribute
 vmm_env::end_vote


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

 vmm_log  attribute
 vmm_env::log


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

 vmm_notify  attribute
 vmm_env::notify


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

 local bit  attribute
 vmm_env::reset_rng_state


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

 local bit  attribute
 vmm_env::soft_restart


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

 local bit  attribute
 vmm_env::soft_restartable


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

 local int  attribute
 vmm_env::step


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

 local string  attribute
 vmm_env::thread_rng_state_after_new


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

 local string  attribute
 vmm_env::thread_rng_state_after_pre_test


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

 local string  attribute
 vmm_env::thread_rng_state_before_start


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

 static vmm_opts  attribute
 vmm_env::_vmm_opts = new


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

 protected bit  attribute
 vmm_env::__vmm_done_user


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

 protected int  attribute
 vmm_env::__vmm_forks


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

 static protected string  attribute
 vmm_env::__vmm_image


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

 static protected string  attribute
 vmm_env::__vmm_prefix


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

 protected restart_e  attribute
 vmm_env::__vmm_restart


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


Member Enum Typedef Documentation

 typedef enum
 vmm_env::do_what_e
DO_PRINT = 1
DO_START = 2
DO_STOP = 4
DO_RESET = 8
DO_VOTE = 16
DO_ALL = 4095


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

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


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

 typedef enum
 vmm_env::restart_e
HARD
SOFT
FIRM


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