Main Page
Classes
Macros
Modules
Interfaces
Globals
Files
Index
?
simple
reg expr
Hierarchy
Class List
Alphabetical List
vmm_scenario Class Reference
Inheritance list for class vmm_scenario:
vmm_data
vmm_scenario
vmm_ms_scenario
List of all members.
Typedef at line
665
of file
sv/std_lib/vmm.sv
.
Defined at line
1412
of file
sv/std_lib/vmm.sv
.
Public Member Functions
function uint
define_scenario
( string name, int unsigned max_len )
task
execute
( ref int n )
function
vmm_scenario
get_parent_scenario
( )
function void
new
(
vmm_log
log )
function string
psdisplay
( string prefix = )
function void
redefine_scenario
( int unsigned scenario_kind, string name, int unsigned max_len )
function string
scenario_name
( int unsigned scenario_kind )
function void
set_parent_scenario
(
vmm_scenario
parent )
Public Attributes
rand int unsigned
length
local int
max_length
= 0;
local int
next_scenario_kind
= 0;
local
vmm_scenario
parent
rand int unsigned
repeated
= 0;
static int unsigned
repeat_thresh
= 100;
int
scenario_id
rand int unsigned
scenario_kind
local string
scenario_names [int]
int
stream_id
Protected Member Functions
function uint
get_max_length
( )
Constraints
constraint
repetition ( )
constraint
vmm_scenario_valid ( )
Member Function Documentation
function uint
vmm_scenario::
define_scenario
( string name, int unsigned max_len )
Prototype at line
1452
of file
sv/std_lib/vmm.sv
.
Defined at line
42
of file
sv/std_lib/vmm_scenario.sv
.
task
vmm_scenario::
execute
( ref int n )
Superseding tasks
vmm_ms_scenario
::
execute
Prototype at line
1462
of file
sv/std_lib/vmm.sv
.
Defined at line
82
of file
sv/std_lib/vmm_scenario.sv
.
protected function uint
vmm_scenario::
get_max_length
( )
Prototype at line
1458
of file
sv/std_lib/vmm.sv
.
Defined at line
69
of file
sv/std_lib/vmm_scenario.sv
.
function
vmm_scenario
vmm_scenario::
get_parent_scenario
( )
Prototype at line
1461
of file
sv/std_lib/vmm.sv
.
Defined at line
78
of file
sv/std_lib/vmm_scenario.sv
.
function void
vmm_scenario::
new
(
vmm_log
log )
Superseded functions
vmm_data
::
new
Superseding functions
vmm_ms_scenario
::
new
Prototype at line
1443
of file
sv/std_lib/vmm.sv
.
Defined at line
25
of file
sv/std_lib/vmm_scenario.sv
.
function string
vmm_scenario::
psdisplay
( string prefix = )
Superseded functions
vmm_data
::
psdisplay
Superseding functions
vmm_ms_scenario
::
psdisplay
Prototype at line
1449
of file
sv/std_lib/vmm.sv
.
Defined at line
30
of file
sv/std_lib/vmm_scenario.sv
.
function void
vmm_scenario::
redefine_scenario
( int unsigned scenario_kind, string name, int unsigned max_len )
Prototype at line
1455
of file
sv/std_lib/vmm.sv
.
Defined at line
52
of file
sv/std_lib/vmm_scenario.sv
.
function string
vmm_scenario::
scenario_name
( int unsigned scenario_kind )
Prototype at line
1456
of file
sv/std_lib/vmm.sv
.
Defined at line
58
of file
sv/std_lib/vmm_scenario.sv
.
function void
vmm_scenario::
set_parent_scenario
(
vmm_scenario
parent )
Prototype at line
1460
of file
sv/std_lib/vmm.sv
.
Defined at line
73
of file
sv/std_lib/vmm_scenario.sv
.
Member Attribute Documentation
rand int unsigned attribute
vmm_scenario::
length
Defined at line
1423
of file
sv/std_lib/vmm.sv
.
local int attribute
vmm_scenario::
max_length
= 0
Defined at line
1415
of file
sv/std_lib/vmm.sv
.
local int attribute
vmm_scenario::
next_scenario_kind
= 0
Defined at line
1414
of file
sv/std_lib/vmm.sv
.
local
vmm_scenario
attribute
vmm_scenario::
parent
Defined at line
1417
of file
sv/std_lib/vmm.sv
.
rand int unsigned attribute
vmm_scenario::
repeated
= 0
Defined at line
1424
of file
sv/std_lib/vmm.sv
.
static int unsigned attribute
vmm_scenario::
repeat_thresh
= 100
Defined at line
1425
of file
sv/std_lib/vmm.sv
.
int attribute
vmm_scenario::
scenario_id
Superseded attributes
vmm_data
::
scenario_id
Defined at line
1420
of file
sv/std_lib/vmm.sv
.
rand int unsigned attribute
vmm_scenario::
scenario_kind
Defined at line
1422
of file
sv/std_lib/vmm.sv
.
local string attribute
vmm_scenario::
scenario_names[int]
Defined at line
1416
of file
sv/std_lib/vmm.sv
.
int attribute
vmm_scenario::
stream_id
Superseded attributes
vmm_data
::
stream_id
Defined at line
1419
of file
sv/std_lib/vmm.sv
.
Member Constraint Documentation
constraint
vmm_scenario::
repetition
constraint repetition {
repeated == 0;
}
Defined at line
1439
of file
sv/std_lib/vmm.sv
.
constraint
vmm_scenario::
vmm_scenario_valid
constraint vmm_scenario_valid {
scenario_kind >= 0;
scenario_kind < next_scenario_kind;
length >= 0;
length <= max_length;
repeated >= 0;
solve scenario_kind before length ;
}
Defined at line
1427
of file
sv/std_lib/vmm.sv
.
16 December 2008, Copyright © 2008 Synopsys, Inc.