Enabling Data Automation with OVM
- This declaration enables the required automation for mem_transfer fields
- Constructor must be defined and super.new(name); called by the derived class.
Slide 1
|
FLAG
|
DESCRIPTION
|
DEFAULT
|
|
OVM_ALL_ON
|
Turns on the COPY, COMPARE, PRINT, RECORD, PACK and DEEP flags
|
|
|
OVM_COPY / OVM_NOCOPY
|
setting COPY includes the field in copy() and clone() operations. NOCOPY excludes the field
|
OVM_COPY
|
|
OVM_COMPARE / OVM_NOCOMPARE
|
setting COMPARE includes the field in compare() operations. NOCOMPARE excludes the field
|
OVM_COMPARE
|
|
OVM_PRINT / OVM_NOPRINT
|
PRINT includes the field in print() and sprint() operations
|
OVM_PRINT
|
|
OVM_DEEP / OVM_SHALLOW / OVM_REFERENCE
( Recursion Policy )
|
DEEP – recurse into the sub-object and perform the operation on all its properties. SHALLOW – for copy, compare and clone, call the built-in shallow copy for the field. REFERENCE – do a simple object handle assignment
|
OVM_DEEP
|
|
Radix (for printing) (OVM_* syntax)
|
Provide a specific radix to use when printing integral fields (or arrays of integral fields). Available radix values are: BIN, DEC, OCT, HEX, STRING, TIME, ENUM, UNSIGNED
|
OVM_HEX
|
|
|
This Articles is written/submitted by puneet (Puneet Aggarwal). You can also contribute to Asicguru.com. Click here to start
|
Prev << Data Item
|
Next >> ovm-driver
|