Download VCS user guide

Transcript
<class-name>_scenario::define_scenario()
Defines a new scenario.
SystemVerilog
function int unsigned
define_scenario(string name,
int unsigned max-len = 0);
OpenVera
Not supported.
Description
Defines a new scenario with the specified name, and the specified
maximum number of transactions or data descriptors. Returns a
unique scenario identifier that should be assigned to an int
unsigned property.
Example
Example B-52
class my_scenario extends atm_cell_scenario;
...
function new();
...
this.ATM = define_scenario("ATM read write", 6);
...
endfunction
...
endclass
VMM User Guide
B- 143