Download Public Interface
Transcript
A ONE_SHOT event, named GENERATED, should be indicated
immediately before adding a new instance to the output channel
This will allow other components in the verification environment
or tests to synchronize themselves with the generated output
stream.
class abc_eth_mac_frame_gen extends abc_xactor {
...
integer GENERATED;
task new(...)
{
...
this.GENERATED =
this.notify.configure(*,
this.notify.ONE_SHOT_TRIGGER);
}
...
while (1) {
...
this.notify.indicate(this.GENERATED, fr);
this.out_chan.put_t(fr);
}
...
}
The newly generated instance should be used as the status
information for the indicated GENERATED event
This will allow other components in the verification environment
or tests to gain access to the generated data without having to
extend a callback method. See the previous guideline for an
example.
A callback method shall be called after each instance is
generated
This will allow other components in the verification environment
or tests to record the generated data for response checking,
sample the generated data in a functional coverage model or
modify the generated data with directed stimulus or inject errors.
Stimulus and Generation: Generator Components
5-14
Related documents
Card Software User Manual
VMM 1.2 Standard Library User Guide
VCS user guide
MOPO FDO-970 - Spectra
Encore SIM EDITOR SOFTWARE User guide
DAS20 DAS 40 Manual
Quanta-Ray MOPO-HF - Spectra
Paper - Verilab
RAy2 Microwave Link
Verification Intellectual Property (IP) Modeling Architecture
Compliance Checking for OVM Interface OVCs
RC581 Configuration User Manual