|HOME |ABOUT |ARTICLES |ACK |FEEDBACK |TOC |LINKS |BLOG |JOBS |


Tutorials



PRE RUN N ON THE FLY



There are two ways to generate data:
1.Pre-run generation
2.On-the-fly generation



Pre-Run Generation



-Specman Elite solves the constraints for each field under sys and randomly generates values for them when the ‚~@~XTest‚~@~Y command is issued.
-Pre-run generation is automatic for every struct and unit whose instance is under sys.
-Structs and units generated in this way are static in nature.
-User can also suppress pre-run generation using ‚~@~\!‚~@~] (do not generate)
-Advantage: Quickly shows what the generator will produce




On-The-Fly Generation



-Is activated explicitly using gen action.
-Can be used to generate fields or method variables.
-Saves memory when generated structs are disposable.
-Is recommended for generating stimulus data structs.
-Cannot be used to generate units.
-On-the-fly generation is done with the gen action, which can be called from methods or TCMs. gen expression [keeping {constraint-block}];
-Lets the generator react to the DUT current state


Index
Introduction
E Basics
Data Types
Operators
Struct
Units
List
Methods
Concurrency Actions
Constraints
Extend
When And Like
Events
Temporal Expressions
Temporal Operators 1
Temporal Operators 2
Synchronizing With The Simulator
Wait And Sync
Physical Virual Feilds
Packing N Unpacking
Pre Run N On The Fly
Coverage
Commands
Extendable Methods
Non Extendable Methods
And Gate Evc

Report a Bug or Comment on This section - Your input is what keeps Testbench.in improving with time!





<< PREVIOUS PAGE

TOP

NEXT PAGE >>

copyright © 2007-2017 :: all rights reserved www.testbench.in::Disclaimer