Download VCS user guide
Transcript
Alternatively, you might also declare the scenario generator might
using VMM built-in parametrized implementations of the generators
which is described in “Parameterized Atomic and Scenario
Generators” on page 52.
Example 6-44
Declaring a Single-Stream Scenario Generator
class eth_frame extends vmm_data;
...
endclass
‘vmm_channel(eth_frame)
‘vmm_scenario_gen(eth_frame, "Ethernet Frames")
You connect the single-stream scenario generator to a single output
channel at construction time, or by assigning its
vmm_scenario_gen::out_chan class property. All generated
scenarios are injected in this output channel.
Example 6-45
Instantiating a Single-Stream Scenario Generator (Explicit
Phasing Environment)
class tb_env extends vmm_env;
eth_frame_scenario_gen gen;
eth_frame_channel gen_to_bfm;
...
virtual function void build();
super.build();
this.gen_to_bfm = new();
this.gen = new("gen", 0, this.gen_to_bfm);
endfunction
...
endclass
The macro also defines a single-stream scenario descriptor class
named class_name_scenario. This class contains a typespecific array of transaction descriptors that you randomize
according to the constraints in the scenario descriptor.
VMM User Guide
6-46
Related documents
VMM 1.2 Standard Library User Guide
WRL Research Report 90/7 1990 DECWRL/ Livermore
Delta Electronics VFD-PU06 User's Manual
Public Interface
Reference Manual
Deliverable number - Deliverable Name
Encore SIM EDITOR SOFTWARE User guide
300000 Template - KMI Support WIKI
Paper - Verilab
as a PDF
Compliance Checking for OVM Interface OVCs
fulltext - DiVA Portal