Macro Definitions

Summary
Macro Definitions
Macros
CL_USE_DPI_CIf defined, some functions are delegated to C functions via DPI-C.
Simulator SelectionThese macros enable a set of Supported Features based on the selected simulator.
Supported FeaturesThese macros enable an individual feature of a simulator.

Macros

CL_USE_DPI_C

If defined, some functions are delegated to C functions via DPI-C.  If not defined, only SystemVerilog is used.  This macro is not defined by default.

Simulator Selection

These macros enable a set of Supported Features based on the selected simulator.  Only one simulator should be enabled at one time.

CL_USE_INCISIVEUse Incisive Enterpirse Simulator from Cadence Design Systems.
CL_USE_MODELSIMUse ModelSim from Mentor Graphics.
CL_USE_QUESTAUse Questa from Mentor Graphics.
CL_USE_VCSUse VCS from Synopsys.

Supported Features

These macros enable an individual feature of a simulator.

CL_SUPPORT_COUNTBITSIf defiend, $countbits bit vector system function is used.  See Section 20.9 of IEEE 1800-2012.
CL_SUPPORT_COUNTONESIf defiend, $countones bit vector system function is used.  See Section 20.9 of IEEE 1800-2012.
CL_SUPPORT_FATAL_SEVERITY_TASKIf defined, $fatal elaboration system task is used.  See Section 20.11 of IEEE 1800-2012.
CL_SUPPORT_PARAMETERIZED_NESTED_CLASSIf defined, a parameterized nested class is used.  See Section 8.25 of IEEE 1800-2012.
CL_SUPPORT_POP_FROM_AN_EMPTY_QUEUEIf defined, a pop from an empty queue is supported.  See Section 7.10.2.4 and 7.10.2.5 of IEEE 1800-2012.
CL_SUPPORT_RANDOMIZEIf defined, constrained random value generation is supported.  See Section 18 of IEEE 1800-2012.
These macros enable an individual feature of a simulator.