#include <stdarg.h>
Data Structures | |
struct | t_vpi_time |
struct | t_vpi_delay |
struct | t_vpi_vecval |
struct | t_vpi_strengthval |
struct | t_vpi_value |
struct | t_vpi_systf_data |
struct | t_vpi_vlog_info |
struct | t_vpi_error_info |
struct | t_cb_data |
Defines | |
#define | PLI_VEXTERN extern |
#define | PROTO_PARAMS(params) params |
#define | XXTERN PLI_EXTERN PLI_DLLISPEC |
#define | EETERN PLI_EXTERN PLI_DLLESPEC |
#define | vpiAlways 1 |
#define | vpiAssignStmt 2 |
#define | vpiAssignment 3 |
#define | vpiBegin 4 |
#define | vpiCase 5 |
#define | vpiCaseItem 6 |
#define | vpiConstant 7 |
#define | vpiContAssign 8 |
#define | vpiDeassign 9 |
#define | vpiDefParam 10 |
#define | vpiDelayControl 11 |
#define | vpiDisable 12 |
#define | vpiEventControl 13 |
#define | vpiEventStmt 14 |
#define | vpiFor 15 |
#define | vpiForce 16 |
#define | vpiForever 17 |
#define | vpiFork 18 |
#define | vpiFuncCall 19 |
#define | vpiFunction 20 |
#define | vpiGate 21 |
#define | vpiIf 22 |
#define | vpiIfElse 23 |
#define | vpiInitial 24 |
#define | vpiIntegerVar 25 |
#define | vpiInterModPath 26 |
#define | vpiIterator 27 |
#define | vpiIODecl 28 |
#define | vpiMemory 29 |
#define | vpiMemoryWord 30 |
#define | vpiModPath 31 |
#define | vpiModule 32 |
#define | vpiNamedBegin 33 |
#define | vpiNamedEvent 34 |
#define | vpiNamedFork 35 |
#define | vpiNet 36 |
#define | vpiNetBit 37 |
#define | vpiNullStmt 38 |
#define | vpiOperation 39 |
#define | vpiParamAssign 40 |
#define | vpiParameter 41 |
#define | vpiPartSelect 42 |
#define | vpiPathTerm 43 |
#define | vpiPort 44 |
#define | vpiPortBit 45 |
#define | vpiPrimTerm 46 |
#define | vpiRealVar 47 |
#define | vpiReg 48 |
#define | vpiRegBit 49 |
#define | vpiRelease 50 |
#define | vpiRepeat 51 |
#define | vpiRepeatControl 52 |
#define | vpiSchedEvent 53 |
#define | vpiSpecParam 54 |
#define | vpiSwitch 55 |
#define | vpiSysFuncCall 56 |
#define | vpiSysTaskCall 57 |
#define | vpiTableEntry 58 |
#define | vpiTask 59 |
#define | vpiTaskCall 60 |
#define | vpiTchk 61 |
#define | vpiTchkTerm 62 |
#define | vpiTimeVar 63 |
#define | vpiTimeQueue 64 |
#define | vpiUdp 65 |
#define | vpiUdpDefn 66 |
#define | vpiUserSystf 67 |
#define | vpiVarSelect 68 |
#define | vpiWait 69 |
#define | vpiWhile 70 |
#define | vpiAttribute 105 |
#define | vpiBitSelect 106 |
#define | vpiCallback 107 |
#define | vpiDelayTerm 108 |
#define | vpiDelayDevice 109 |
#define | vpiFrame 110 |
#define | vpiGateArray 111 |
#define | vpiModuleArray 112 |
#define | vpiPrimitiveArray 113 |
#define | vpiNetArray 114 |
#define | vpiRange 115 |
#define | vpiRegArray 116 |
#define | vpiSwitchArray 117 |
#define | vpiUdpArray 118 |
#define | vpiContAssignBit 128 |
#define | vpiNamedEventArray 129 |
#define | vpiIndexedPartSelect 130 |
#define | vpiGenScopeArray 133 |
#define | vpiGenScope 134 |
#define | vpiGenVar 135 |
#define | vpiCondition 71 |
#define | vpiDelay 72 |
#define | vpiElseStmt 73 |
#define | vpiForIncStmt 74 |
#define | vpiForInitStmt 75 |
#define | vpiHighConn 76 |
#define | vpiLhs 77 |
#define | vpiIndex 78 |
#define | vpiLeftRange 79 |
#define | vpiLowConn 80 |
#define | vpiParent 81 |
#define | vpiRhs 82 |
#define | vpiRightRange 83 |
#define | vpiScope 84 |
#define | vpiSysTfCall 85 |
#define | vpiTchkDataTerm 86 |
#define | vpiTchkNotifier 87 |
#define | vpiTchkRefTerm 88 |
#define | vpiArgument 89 |
#define | vpiBit 90 |
#define | vpiDriver 91 |
#define | vpiInternalScope 92 |
#define | vpiLoad 93 |
#define | vpiModDataPathIn 94 |
#define | vpiModPathIn 95 |
#define | vpiModPathOut 96 |
#define | vpiOperand 97 |
#define | vpiPortInst 98 |
#define | vpiProcess 99 |
#define | vpiVariables 100 |
#define | vpiUse 101 |
#define | vpiExpr 102 |
#define | vpiPrimitive 103 |
#define | vpiStmt 104 |
#define | vpiActiveTimeFormat 119 |
#define | vpiInTerm 120 |
#define | vpiInstanceArray 121 |
#define | vpiLocalDriver 122 |
#define | vpiLocalLoad 123 |
#define | vpiOutTerm 124 |
#define | vpiPorts 125 |
#define | vpiSimNet 126 |
#define | vpiTaskFunc 127 |
#define | vpiBaseExpr 131 |
#define | vpiWidthExpr 132 |
#define | vpiUndefined -1 |
#define | vpiType 1 |
#define | vpiName 2 |
#define | vpiFullName 3 |
#define | vpiSize 4 |
#define | vpiFile 5 |
#define | vpiLineNo 6 |
#define | vpiTopModule 7 |
#define | vpiCellInstance 8 |
#define | vpiDefName 9 |
#define | vpiProtected 10 |
#define | vpiTimeUnit 11 |
#define | vpiTimePrecision 12 |
#define | vpiDefNetType 13 |
#define | vpiUnconnDrive 14 |
#define | vpiHighZ 1 |
#define | vpiPull1 2 |
#define | vpiPull0 3 |
#define | vpiDefFile 15 |
#define | vpiDefLineNo 16 |
#define | vpiDefDelayMode 47 |
#define | vpiDelayModeNone 1 |
#define | vpiDelayModePath 2 |
#define | vpiDelayModeDistrib 3 |
#define | vpiDelayModeUnit 4 |
#define | vpiDelayModeZero 5 |
#define | vpiDelayModeMTM 6 |
#define | vpiDefDecayTime 48 |
#define | vpiScalar 17 |
#define | vpiVector 18 |
#define | vpiExplicitName 19 |
#define | vpiDirection 20 |
#define | vpiInput 1 |
#define | vpiOutput 2 |
#define | vpiInout 3 |
#define | vpiMixedIO 4 |
#define | vpiNoDirection 5 |
#define | vpiConnByName 21 |
#define | vpiNetType 22 |
#define | vpiWire 1 |
#define | vpiWand 2 |
#define | vpiWor 3 |
#define | vpiTri 4 |
#define | vpiTri0 5 |
#define | vpiTri1 6 |
#define | vpiTriReg 7 |
#define | vpiTriAnd 8 |
#define | vpiTriOr 9 |
#define | vpiSupply1 10 |
#define | vpiSupply0 11 |
#define | vpiNone 12 |
#define | vpiUwire 13 |
#define | vpiExplicitScalared 23 |
#define | vpiExplicitVectored 24 |
#define | vpiExpanded 25 |
#define | vpiImplicitDecl 26 |
#define | vpiChargeStrength 27 |
#define | vpiArray 28 |
#define | vpiPortIndex 29 |
#define | vpiTermIndex 30 |
#define | vpiStrength0 31 |
#define | vpiStrength1 32 |
#define | vpiPrimType 33 |
#define | vpiAndPrim 1 |
#define | vpiNandPrim 2 |
#define | vpiNorPrim 3 |
#define | vpiOrPrim 4 |
#define | vpiXorPrim 5 |
#define | vpiXnorPrim 6 |
#define | vpiBufPrim 7 |
#define | vpiNotPrim 8 |
#define | vpiBufif0Prim 9 |
#define | vpiBufif1Prim 10 |
#define | vpiNotif0Prim 11 |
#define | vpiNotif1Prim 12 |
#define | vpiNmosPrim 13 |
#define | vpiPmosPrim 14 |
#define | vpiCmosPrim 15 |
#define | vpiRnmosPrim 16 |
#define | vpiRpmosPrim 17 |
#define | vpiRcmosPrim 18 |
#define | vpiRtranPrim 19 |
#define | vpiRtranif0Prim 20 |
#define | vpiRtranif1Prim 21 |
#define | vpiTranPrim 22 |
#define | vpiTranif0Prim 23 |
#define | vpiTranif1Prim 24 |
#define | vpiPullupPrim 25 |
#define | vpiPulldownPrim 26 |
#define | vpiSeqPrim 27 |
#define | vpiCombPrim 28 |
#define | vpiPolarity 34 |
#define | vpiDataPolarity 35 |
#define | vpiPositive 1 |
#define | vpiNegative 2 |
#define | vpiUnknown 3 |
#define | vpiEdge 36 |
#define | vpiNoEdge 0x00 |
#define | vpiEdge01 0x01 |
#define | vpiEdge10 0x02 |
#define | vpiEdge0x 0x04 |
#define | vpiEdgex1 0x08 |
#define | vpiEdge1x 0x10 |
#define | vpiEdgex0 0x20 |
#define | vpiPosedge (vpiEdgex1 | vpiEdge01 | vpiEdge0x) |
#define | vpiNegedge (vpiEdgex0 | vpiEdge10 | vpiEdge1x) |
#define | vpiAnyEdge (vpiPosedge | vpiNegedge) |
#define | vpiPathType 37 |
#define | vpiPathFull 1 |
#define | vpiPathParallel 2 |
#define | vpiTchkType 38 |
#define | vpiSetup 1 |
#define | vpiHold 2 |
#define | vpiPeriod 3 |
#define | vpiWidth 4 |
#define | vpiSkew 5 |
#define | vpiRecovery 6 |
#define | vpiNoChange 7 |
#define | vpiSetupHold 8 |
#define | vpiFullskew 9 |
#define | vpiRecrem 10 |
#define | vpiRemoval 11 |
#define | vpiTimeskew 12 |
#define | vpiOpType 39 |
#define | vpiMinusOp 1 |
#define | vpiPlusOp 2 |
#define | vpiNotOp 3 |
#define | vpiBitNegOp 4 |
#define | vpiUnaryAndOp 5 |
#define | vpiUnaryNandOp 6 |
#define | vpiUnaryOrOp 7 |
#define | vpiUnaryNorOp 8 |
#define | vpiUnaryXorOp 9 |
#define | vpiUnaryXNorOp 10 |
#define | vpiSubOp 11 |
#define | vpiDivOp 12 |
#define | vpiModOp 13 |
#define | vpiEqOp 14 |
#define | vpiNeqOp 15 |
#define | vpiCaseEqOp 16 |
#define | vpiCaseNeqOp 17 |
#define | vpiGtOp 18 |
#define | vpiGeOp 19 |
#define | vpiLtOp 20 |
#define | vpiLeOp 21 |
#define | vpiLShiftOp 22 |
#define | vpiRShiftOp 23 |
#define | vpiAddOp 24 |
#define | vpiMultOp 25 |
#define | vpiLogAndOp 26 |
#define | vpiLogOrOp 27 |
#define | vpiBitAndOp 28 |
#define | vpiBitOrOp 29 |
#define | vpiBitXorOp 30 |
#define | vpiBitXNorOp 31 |
#define | vpiBitXnorOp vpiBitXNorOp |
#define | vpiConditionOp 32 |
#define | vpiConcatOp 33 |
#define | vpiMultiConcatOp 34 |
#define | vpiEventOrOp 35 |
#define | vpiNullOp 36 |
#define | vpiListOp 37 |
#define | vpiMinTypMaxOp 38 |
#define | vpiPosedgeOp 39 |
#define | vpiNegedgeOp 40 |
#define | vpiArithLShiftOp 41 |
#define | vpiArithRShiftOp 42 |
#define | vpiPowerOp 43 |
#define | vpiConstType 40 |
#define | vpiDecConst 1 |
#define | vpiRealConst 2 |
#define | vpiBinaryConst 3 |
#define | vpiOctConst 4 |
#define | vpiHexConst 5 |
#define | vpiStringConst 6 |
#define | vpiIntConst 7 |
#define | vpiBlocking 41 |
#define | vpiCaseType 42 |
#define | vpiCaseExact 1 |
#define | vpiCaseX 2 |
#define | vpiCaseZ 3 |
#define | vpiNetDeclAssign 43 |
#define | vpiFuncType 44 |
#define | vpiIntFunc 1 |
#define | vpiRealFunc 2 |
#define | vpiTimeFunc 3 |
#define | vpiSizedFunc 4 |
#define | vpiSizedSignedFunc 5 |
#define | vpiSysFuncType vpiFuncType |
alias 1364-1995 system function subtypes to 1364-2001 function subtypes | |
#define | vpiSysFuncInt vpiIntFunc |
#define | vpiSysFuncReal vpiRealFunc |
#define | vpiSysFuncTime vpiTimeFunc |
#define | vpiSysFuncSized vpiSizedFunc |
#define | vpiUserDefn 45 |
#define | vpiScheduled 46 |
#define | vpiActive 49 |
#define | vpiAutomatic 50 |
#define | vpiCell 51 |
#define | vpiConfig 52 |
#define | vpiConstantSelect 53 |
#define | vpiDecompile 54 |
#define | vpiDefAttribute 55 |
#define | vpiDelayType 56 |
#define | vpiModPathDelay 1 |
#define | vpiInterModPathDelay 2 |
#define | vpiMIPDelay 3 |
#define | vpiIteratorType 57 |
#define | vpiLibrary 58 |
#define | vpiMultiArray 59 |
#define | vpiOffset 60 |
#define | vpiResolvedNetType 61 |
#define | vpiSaveRestartID 62 |
#define | vpiSaveRestartLocation 63 |
#define | vpiValid 64 |
#define | vpiSigned 65 |
#define | vpiLocalParam 70 |
#define | vpiModPathHasIfNone 71 |
#define | vpiIndexedPartSelectType 72 |
#define | vpiPosIndexed 1 |
#define | vpiNegIndexed 2 |
#define | vpiIsMemory 73 |
#define | vpiStop 66 |
#define | vpiFinish 67 |
#define | vpiReset 68 |
#define | vpiSetInteractiveScope 69 |
#define | VPI_MCD_STDOUT 0x00000001 |
#define | vpiScaledRealTime 1 |
#define | vpiSimTime 2 |
#define | vpiSuppressTime 3 |
#define | vpiSupplyDrive 0x80 |
#define | vpiStrongDrive 0x40 |
#define | vpiPullDrive 0x20 |
#define | vpiWeakDrive 0x08 |
#define | vpiLargeCharge 0x10 |
#define | vpiMediumCharge 0x04 |
#define | vpiSmallCharge 0x02 |
#define | vpiHiZ 0x01 |
#define | vpiBinStrVal 1 |
#define | vpiOctStrVal 2 |
#define | vpiDecStrVal 3 |
#define | vpiHexStrVal 4 |
#define | vpiScalarVal 5 |
#define | vpiIntVal 6 |
#define | vpiRealVal 7 |
#define | vpiStringVal 8 |
#define | vpiVectorVal 9 |
#define | vpiStrengthVal 10 |
#define | vpiTimeVal 11 |
#define | vpiObjTypeVal 12 |
#define | vpiSuppressVal 13 |
#define | vpiNoDelay 1 |
#define | vpiInertialDelay 2 |
#define | vpiTransportDelay 3 |
#define | vpiPureTransportDelay 4 |
#define | vpiForceFlag 5 |
#define | vpiReleaseFlag 6 |
#define | vpiCancelEvent 7 |
#define | vpiReturnEvent 0x1000 |
#define | vpi0 0 |
#define | vpi1 1 |
#define | vpiZ 2 |
#define | vpiX 3 |
#define | vpiH 4 |
#define | vpiL 5 |
#define | vpiDontCare 6 |
#define | vpiSysTask 1 |
#define | vpiSysFunc 2 |
#define | vpiCompile 1 |
#define | vpiPLI 2 |
#define | vpiRun 3 |
#define | vpiNotice 1 |
#define | vpiWarning 2 |
#define | vpiError 3 |
#define | vpiSystem 4 |
#define | vpiInternal 5 |
#define | cbValueChange 1 |
#define | cbStmt 2 |
#define | cbForce 3 |
#define | cbRelease 4 |
#define | cbAtStartOfSimTime 5 |
#define | cbReadWriteSynch 6 |
#define | cbReadOnlySynch 7 |
#define | cbNextSimTime 8 |
#define | cbAfterDelay 9 |
#define | cbEndOfCompile 10 |
#define | cbStartOfSimulation 11 |
#define | cbEndOfSimulation 12 |
#define | cbError 13 |
#define | cbTchkViolation 14 |
#define | cbStartOfSave 15 |
#define | cbEndOfSave 16 |
#define | cbStartOfRestart 17 |
#define | cbEndOfRestart 18 |
#define | cbStartOfReset 19 |
#define | cbEndOfReset 20 |
#define | cbEnterInteractive 21 |
#define | cbExitInteractive 22 |
#define | cbInteractiveScopeChange 23 |
#define | cbUnresolvedSystf 24 |
#define | cbAssign 25 |
#define | cbDeassign 26 |
#define | cbDisable 27 |
#define | cbPLIError 28 |
#define | cbSignal 29 |
Typedefs | |
typedef int | PLI_INT32 |
typedef unsigned int | PLI_UINT32 |
typedef short | PLI_INT16 |
typedef unsigned short | PLI_UINT16 |
typedef char | PLI_BYTE8 |
typedef unsigned char | PLI_UBYTE8 |
typedef PLI_UINT32 * | vpiHandle |
typedef t_vpi_time | s_vpi_time |
typedef t_vpi_time * | p_vpi_time |
typedef t_vpi_delay | s_vpi_delay |
typedef t_vpi_delay * | p_vpi_delay |
typedef t_vpi_vecval | s_vpi_vecval |
typedef t_vpi_vecval * | p_vpi_vecval |
typedef t_vpi_strengthval | s_vpi_strengthval |
typedef t_vpi_strengthval * | p_vpi_strengthval |
typedef t_vpi_value | s_vpi_value |
typedef t_vpi_value * | p_vpi_value |
typedef t_vpi_systf_data | s_vpi_systf_data |
typedef t_vpi_systf_data * | p_vpi_systf_data |
typedef t_vpi_vlog_info | s_vpi_vlog_info |
typedef t_vpi_vlog_info * | p_vpi_vlog_info |
typedef t_vpi_error_info | s_vpi_error_info |
typedef t_vpi_error_info * | p_vpi_error_info |
typedef t_cb_data | s_cb_data |
typedef t_cb_data * | p_cb_data |
Functions | |
XXTERN vpiHandle vpi_register_cb | PROTO_PARAMS ((p_cb_data cb_data_p)) |
XXTERN PLI_INT32 vpi_remove_cb | PROTO_PARAMS ((vpiHandle cb_obj)) |
XXTERN void vpi_get_cb_info | PROTO_PARAMS ((vpiHandle object, p_cb_data cb_data_p)) |
XXTERN vpiHandle vpi_register_systf | PROTO_PARAMS ((p_vpi_systf_datasystf_data_p)) |
XXTERN void vpi_get_systf_info | PROTO_PARAMS ((vpiHandle object, p_vpi_systf_datasystf_data_p)) |
XXTERN vpiHandle vpi_handle_by_name | PROTO_PARAMS ((PLI_BYTE8 *name, vpiHandle scope)) |
XXTERN vpiHandle vpi_handle_by_index | PROTO_PARAMS ((vpiHandle object, PLI_INT32 indx)) |
XXTERN vpiHandle vpi_handle | PROTO_PARAMS ((PLI_INT32 type, vpiHandle refHandle)) |
XXTERN vpiHandle vpi_handle_multi | PROTO_PARAMS ((PLI_INT32 type, vpiHandle refHandle1, vpiHandle refHandle2,...)) |
XXTERN vpiHandle vpi_scan | PROTO_PARAMS ((vpiHandle iterator)) |
XXTERN PLI_INT32 vpi_get | PROTO_PARAMS ((PLI_INT32 property, vpiHandle object)) |
XXTERN void vpi_get_delays | PROTO_PARAMS ((vpiHandle object, p_vpi_delay delay_p)) |
XXTERN void vpi_get_value | PROTO_PARAMS ((vpiHandle expr, p_vpi_value value_p)) |
XXTERN vpiHandle vpi_put_value | PROTO_PARAMS ((vpiHandle object, p_vpi_value value_p, p_vpi_time time_p, PLI_INT32 flags)) |
XXTERN void vpi_get_time | PROTO_PARAMS ((vpiHandle object, p_vpi_time time_p)) |
XXTERN PLI_UINT32 vpi_mcd_open | PROTO_PARAMS ((PLI_BYTE8 *fileName)) |
XXTERN PLI_UINT32 vpi_mcd_close | PROTO_PARAMS ((PLI_UINT32 mcd)) |
XXTERN PLI_BYTE8 *vpi_mcd_name | PROTO_PARAMS ((PLI_UINT32 cd)) |
XXTERN PLI_INT32 vpi_mcd_printf | PROTO_PARAMS ((PLI_UINT32 mcd, PLI_BYTE8 *format,...)) |
XXTERN PLI_INT32 vpi_printf | PROTO_PARAMS ((PLI_BYTE8 *format,...)) |
XXTERN PLI_INT32 vpi_compare_objects | PROTO_PARAMS ((vpiHandle object1, vpiHandle object2)) |
XXTERN PLI_INT32 vpi_chk_error | PROTO_PARAMS ((p_vpi_error_infoerror_info_p)) |
XXTERN PLI_INT32 vpi_free_object | PROTO_PARAMS ((vpiHandle object)) |
XXTERN PLI_INT32 vpi_get_vlog_info | PROTO_PARAMS ((p_vpi_vlog_infovlog_info_p)) |
XXTERN PLI_INT32 vpi_get_data | PROTO_PARAMS ((PLI_INT32 id, PLI_BYTE8 *dataLoc, PLI_INT32 numOfBytes)) |
XXTERN void *vpi_get_userdata | PROTO_PARAMS ((vpiHandle obj)) |
XXTERN PLI_INT32 vpi_put_userdata | PROTO_PARAMS ((vpiHandle obj, void *userdata)) |
XXTERN PLI_INT32 vpi_vprintf | PROTO_PARAMS ((PLI_BYTE8 *format, va_list ap)) |
XXTERN PLI_INT32 vpi_mcd_vprintf | PROTO_PARAMS ((PLI_UINT32 mcd, PLI_BYTE8 *format, va_list ap)) |
XXTERN PLI_INT32 vpi_flush | PROTO_PARAMS ((void)) |
XXTERN PLI_INT32 vpi_control | PROTO_PARAMS ((PLI_INT32 operation,...)) |
XXTERN vpiHandle vpi_handle_by_multi_index | PROTO_PARAMS ((vpiHandle obj, PLI_INT32 num_index, PLI_INT32 *index_array)) |
Variables | |
PLI_VEXTERN PLI_DLLESPEC void(*[]) | vlog_startup_routines () |
#define cbAfterDelay 9 |
#define cbAssign 25 |
#define cbAtStartOfSimTime 5 |
#define cbDeassign 26 |
#define cbDisable 27 |
#define cbEndOfCompile 10 |
#define cbEndOfReset 20 |
#define cbEndOfRestart 18 |
#define cbEndOfSave 16 |
#define cbEndOfSimulation 12 |
#define cbEnterInteractive 21 |
#define cbError 13 |
#define cbExitInteractive 22 |
#define cbForce 3 |
#define cbInteractiveScopeChange 23 |
#define cbNextSimTime 8 |
#define cbPLIError 28 |
#define cbReadOnlySynch 7 |
#define cbReadWriteSynch 6 |
#define cbRelease 4 |
#define cbSignal 29 |
#define cbStartOfReset 19 |
#define cbStartOfRestart 17 |
#define cbStartOfSave 15 |
#define cbStartOfSimulation 11 |
#define cbStmt 2 |
#define cbTchkViolation 14 |
#define cbUnresolvedSystf 24 |
#define cbValueChange 1 |
#define EETERN PLI_EXTERN PLI_DLLESPEC |
#define PLI_VEXTERN extern |
#define PROTO_PARAMS | ( | params | ) | params |
#define vpi0 0 |
#define vpi1 1 |
#define VPI_MCD_STDOUT 0x00000001 |
#define vpiActive 49 |
#define vpiActiveTimeFormat 119 |
#define vpiAddOp 24 |
#define vpiAlways 1 |
#define vpiAndPrim 1 |
#define vpiAnyEdge (vpiPosedge | vpiNegedge) |
#define vpiArgument 89 |
#define vpiArithLShiftOp 41 |
#define vpiArithRShiftOp 42 |
#define vpiArray 28 |
#define vpiAssignment 3 |
#define vpiAssignStmt 2 |
#define vpiAttribute 105 |
#define vpiAutomatic 50 |
#define vpiBaseExpr 131 |
#define vpiBegin 4 |
#define vpiBinaryConst 3 |
#define vpiBinStrVal 1 |
#define vpiBit 90 |
#define vpiBitAndOp 28 |
#define vpiBitNegOp 4 |
#define vpiBitOrOp 29 |
#define vpiBitSelect 106 |
#define vpiBitXnorOp vpiBitXNorOp |
#define vpiBitXNorOp 31 |
#define vpiBitXorOp 30 |
#define vpiBlocking 41 |
#define vpiBufif0Prim 9 |
#define vpiBufif1Prim 10 |
#define vpiBufPrim 7 |
#define vpiCallback 107 |
#define vpiCancelEvent 7 |
#define vpiCase 5 |
#define vpiCaseEqOp 16 |
#define vpiCaseExact 1 |
#define vpiCaseItem 6 |
#define vpiCaseNeqOp 17 |
#define vpiCaseType 42 |
#define vpiCaseX 2 |
#define vpiCaseZ 3 |
#define vpiCell 51 |
#define vpiCellInstance 8 |
#define vpiChargeStrength 27 |
#define vpiCmosPrim 15 |
#define vpiCombPrim 28 |
#define vpiCompile 1 |
#define vpiConcatOp 33 |
#define vpiCondition 71 |
#define vpiConditionOp 32 |
#define vpiConfig 52 |
#define vpiConnByName 21 |
#define vpiConstant 7 |
#define vpiConstantSelect 53 |
#define vpiConstType 40 |
#define vpiContAssign 8 |
#define vpiContAssignBit 128 |
#define vpiDataPolarity 35 |
#define vpiDeassign 9 |
#define vpiDecConst 1 |
#define vpiDecompile 54 |
#define vpiDecStrVal 3 |
#define vpiDefAttribute 55 |
#define vpiDefDecayTime 48 |
#define vpiDefDelayMode 47 |
#define vpiDefFile 15 |
#define vpiDefLineNo 16 |
#define vpiDefName 9 |
#define vpiDefNetType 13 |
#define vpiDefParam 10 |
#define vpiDelay 72 |
#define vpiDelayControl 11 |
#define vpiDelayDevice 109 |
#define vpiDelayModeDistrib 3 |
#define vpiDelayModeMTM 6 |
#define vpiDelayModeNone 1 |
#define vpiDelayModePath 2 |
#define vpiDelayModeUnit 4 |
#define vpiDelayModeZero 5 |
#define vpiDelayTerm 108 |
#define vpiDelayType 56 |
#define vpiDirection 20 |
#define vpiDisable 12 |
#define vpiDivOp 12 |
#define vpiDontCare 6 |
#define vpiDriver 91 |
#define vpiEdge 36 |
#define vpiEdge01 0x01 |
#define vpiEdge0x 0x04 |
#define vpiEdge10 0x02 |
#define vpiEdge1x 0x10 |
#define vpiEdgex0 0x20 |
#define vpiEdgex1 0x08 |
#define vpiElseStmt 73 |
#define vpiEqOp 14 |
#define vpiError 3 |
#define vpiEventControl 13 |
#define vpiEventOrOp 35 |
#define vpiEventStmt 14 |
#define vpiExpanded 25 |
#define vpiExplicitName 19 |
#define vpiExplicitScalared 23 |
#define vpiExplicitVectored 24 |
#define vpiExpr 102 |
#define vpiFile 5 |
#define vpiFinish 67 |
#define vpiFor 15 |
#define vpiForce 16 |
#define vpiForceFlag 5 |
#define vpiForever 17 |
#define vpiForIncStmt 74 |
#define vpiForInitStmt 75 |
#define vpiFork 18 |
#define vpiFrame 110 |
#define vpiFullName 3 |
#define vpiFullskew 9 |
#define vpiFuncCall 19 |
#define vpiFunction 20 |
#define vpiFuncType 44 |
#define vpiGate 21 |
#define vpiGateArray 111 |
#define vpiGenScope 134 |
#define vpiGenScopeArray 133 |
#define vpiGenVar 135 |
#define vpiGeOp 19 |
#define vpiGtOp 18 |
#define vpiH 4 |
#define vpiHexConst 5 |
#define vpiHexStrVal 4 |
#define vpiHighConn 76 |
#define vpiHighZ 1 |
#define vpiHiZ 0x01 |
#define vpiHold 2 |
#define vpiIf 22 |
#define vpiIfElse 23 |
#define vpiImplicitDecl 26 |
#define vpiIndex 78 |
#define vpiIndexedPartSelect 130 |
#define vpiIndexedPartSelectType 72 |
#define vpiInertialDelay 2 |
#define vpiInitial 24 |
#define vpiInout 3 |
#define vpiInput 1 |
#define vpiInstanceArray 121 |
#define vpiIntConst 7 |
#define vpiIntegerVar 25 |
#define vpiInTerm 120 |
#define vpiInterModPath 26 |
#define vpiInterModPathDelay 2 |
#define vpiInternal 5 |
#define vpiInternalScope 92 |
#define vpiIntFunc 1 |
#define vpiIntVal 6 |
#define vpiIODecl 28 |
#define vpiIsMemory 73 |
#define vpiIterator 27 |
#define vpiIteratorType 57 |
#define vpiL 5 |
#define vpiLargeCharge 0x10 |
#define vpiLeftRange 79 |
#define vpiLeOp 21 |
#define vpiLhs 77 |
#define vpiLibrary 58 |
#define vpiLineNo 6 |
#define vpiListOp 37 |
#define vpiLoad 93 |
#define vpiLocalDriver 122 |
#define vpiLocalLoad 123 |
#define vpiLocalParam 70 |
#define vpiLogAndOp 26 |
#define vpiLogOrOp 27 |
#define vpiLowConn 80 |
#define vpiLShiftOp 22 |
#define vpiLtOp 20 |
#define vpiMediumCharge 0x04 |
#define vpiMemory 29 |
#define vpiMemoryWord 30 |
#define vpiMinTypMaxOp 38 |
#define vpiMinusOp 1 |
#define vpiMIPDelay 3 |
#define vpiMixedIO 4 |
#define vpiModDataPathIn 94 |
#define vpiModOp 13 |
#define vpiModPath 31 |
#define vpiModPathDelay 1 |
#define vpiModPathHasIfNone 71 |
#define vpiModPathIn 95 |
#define vpiModPathOut 96 |
#define vpiModule 32 |
#define vpiModuleArray 112 |
#define vpiMultiArray 59 |
#define vpiMultiConcatOp 34 |
#define vpiMultOp 25 |
#define vpiName 2 |
#define vpiNamedBegin 33 |
#define vpiNamedEvent 34 |
#define vpiNamedEventArray 129 |
#define vpiNamedFork 35 |
#define vpiNandPrim 2 |
#define vpiNegative 2 |
#define vpiNegedge (vpiEdgex0 | vpiEdge10 | vpiEdge1x) |
#define vpiNegedgeOp 40 |
#define vpiNegIndexed 2 |
#define vpiNeqOp 15 |
#define vpiNet 36 |
#define vpiNetArray 114 |
#define vpiNetBit 37 |
#define vpiNetDeclAssign 43 |
#define vpiNetType 22 |
#define vpiNmosPrim 13 |
#define vpiNoChange 7 |
#define vpiNoDelay 1 |
#define vpiNoDirection 5 |
#define vpiNoEdge 0x00 |
#define vpiNone 12 |
#define vpiNorPrim 3 |
#define vpiNotice 1 |
#define vpiNotif0Prim 11 |
#define vpiNotif1Prim 12 |
#define vpiNotOp 3 |
#define vpiNotPrim 8 |
#define vpiNullOp 36 |
#define vpiNullStmt 38 |
#define vpiObjTypeVal 12 |
#define vpiOctConst 4 |
#define vpiOctStrVal 2 |
#define vpiOffset 60 |
#define vpiOperand 97 |
#define vpiOperation 39 |
#define vpiOpType 39 |
#define vpiOrPrim 4 |
#define vpiOutput 2 |
#define vpiOutTerm 124 |
#define vpiParamAssign 40 |
#define vpiParameter 41 |
#define vpiParent 81 |
#define vpiPartSelect 42 |
#define vpiPathFull 1 |
#define vpiPathParallel 2 |
#define vpiPathTerm 43 |
#define vpiPathType 37 |
#define vpiPeriod 3 |
#define vpiPLI 2 |
#define vpiPlusOp 2 |
#define vpiPmosPrim 14 |
#define vpiPolarity 34 |
#define vpiPort 44 |
#define vpiPortBit 45 |
#define vpiPortIndex 29 |
#define vpiPortInst 98 |
#define vpiPorts 125 |
#define vpiPosedge (vpiEdgex1 | vpiEdge01 | vpiEdge0x) |
#define vpiPosedgeOp 39 |
#define vpiPosIndexed 1 |
#define vpiPositive 1 |
#define vpiPowerOp 43 |
#define vpiPrimitive 103 |
#define vpiPrimitiveArray 113 |
#define vpiPrimTerm 46 |
#define vpiPrimType 33 |
#define vpiProcess 99 |
#define vpiProtected 10 |
#define vpiPull0 3 |
#define vpiPull1 2 |
#define vpiPulldownPrim 26 |
#define vpiPullDrive 0x20 |
#define vpiPullupPrim 25 |
#define vpiPureTransportDelay 4 |
#define vpiRange 115 |
#define vpiRcmosPrim 18 |
#define vpiRealConst 2 |
#define vpiRealFunc 2 |
#define vpiRealVal 7 |
#define vpiRealVar 47 |
#define vpiRecovery 6 |
#define vpiRecrem 10 |
#define vpiReg 48 |
#define vpiRegArray 116 |
#define vpiRegBit 49 |
#define vpiRelease 50 |
#define vpiReleaseFlag 6 |
#define vpiRemoval 11 |
#define vpiRepeat 51 |
#define vpiRepeatControl 52 |
#define vpiReset 68 |
#define vpiResolvedNetType 61 |
#define vpiReturnEvent 0x1000 |
#define vpiRhs 82 |
#define vpiRightRange 83 |
#define vpiRnmosPrim 16 |
#define vpiRpmosPrim 17 |
#define vpiRShiftOp 23 |
#define vpiRtranif0Prim 20 |
#define vpiRtranif1Prim 21 |
#define vpiRtranPrim 19 |
#define vpiRun 3 |
#define vpiSaveRestartID 62 |
#define vpiSaveRestartLocation 63 |
#define vpiScalar 17 |
#define vpiScalarVal 5 |
#define vpiScaledRealTime 1 |
#define vpiSchedEvent 53 |
#define vpiScheduled 46 |
#define vpiScope 84 |
#define vpiSeqPrim 27 |
#define vpiSetInteractiveScope 69 |
#define vpiSetup 1 |
#define vpiSetupHold 8 |
#define vpiSigned 65 |
#define vpiSimNet 126 |
#define vpiSimTime 2 |
#define vpiSize 4 |
#define vpiSizedFunc 4 |
#define vpiSizedSignedFunc 5 |
#define vpiSkew 5 |
#define vpiSmallCharge 0x02 |
#define vpiSpecParam 54 |
#define vpiStmt 104 |
#define vpiStop 66 |
#define vpiStrength0 31 |
#define vpiStrength1 32 |
#define vpiStrengthVal 10 |
#define vpiStringConst 6 |
#define vpiStringVal 8 |
#define vpiStrongDrive 0x40 |
#define vpiSubOp 11 |
#define vpiSupply0 11 |
#define vpiSupply1 10 |
#define vpiSupplyDrive 0x80 |
#define vpiSuppressTime 3 |
#define vpiSuppressVal 13 |
#define vpiSwitch 55 |
#define vpiSwitchArray 117 |
#define vpiSysFunc 2 |
#define vpiSysFuncCall 56 |
#define vpiSysFuncInt vpiIntFunc |
#define vpiSysFuncReal vpiRealFunc |
#define vpiSysFuncSized vpiSizedFunc |
#define vpiSysFuncTime vpiTimeFunc |
#define vpiSysFuncType vpiFuncType |
alias 1364-1995 system function subtypes to 1364-2001 function subtypes
#define vpiSysTask 1 |
#define vpiSysTaskCall 57 |
#define vpiSystem 4 |
#define vpiSysTfCall 85 |
#define vpiTableEntry 58 |
#define vpiTask 59 |
#define vpiTaskCall 60 |
#define vpiTaskFunc 127 |
#define vpiTchk 61 |
#define vpiTchkDataTerm 86 |
#define vpiTchkNotifier 87 |
#define vpiTchkRefTerm 88 |
#define vpiTchkTerm 62 |
#define vpiTchkType 38 |
#define vpiTermIndex 30 |
#define vpiTimeFunc 3 |
#define vpiTimePrecision 12 |
#define vpiTimeQueue 64 |
#define vpiTimeskew 12 |
#define vpiTimeUnit 11 |
#define vpiTimeVal 11 |
#define vpiTimeVar 63 |
#define vpiTopModule 7 |
#define vpiTranif0Prim 23 |
#define vpiTranif1Prim 24 |
#define vpiTranPrim 22 |
#define vpiTransportDelay 3 |
#define vpiTri 4 |
#define vpiTri0 5 |
#define vpiTri1 6 |
#define vpiTriAnd 8 |
#define vpiTriOr 9 |
#define vpiTriReg 7 |
#define vpiType 1 |
#define vpiUdp 65 |
#define vpiUdpArray 118 |
#define vpiUdpDefn 66 |
#define vpiUnaryAndOp 5 |
#define vpiUnaryNandOp 6 |
#define vpiUnaryNorOp 8 |
#define vpiUnaryOrOp 7 |
#define vpiUnaryXNorOp 10 |
#define vpiUnaryXorOp 9 |
#define vpiUnconnDrive 14 |
#define vpiUndefined -1 |
#define vpiUnknown 3 |
#define vpiUse 101 |
#define vpiUserDefn 45 |
#define vpiUserSystf 67 |
#define vpiUwire 13 |
#define vpiValid 64 |
#define vpiVariables 100 |
#define vpiVarSelect 68 |
#define vpiVector 18 |
#define vpiVectorVal 9 |
#define vpiWait 69 |
#define vpiWand 2 |
#define vpiWarning 2 |
#define vpiWeakDrive 0x08 |
#define vpiWhile 70 |
#define vpiWidth 4 |
#define vpiWidthExpr 132 |
#define vpiWire 1 |
#define vpiWor 3 |
#define vpiX 3 |
#define vpiXnorPrim 6 |
#define vpiXorPrim 5 |
#define vpiZ 2 |
#define XXTERN PLI_EXTERN PLI_DLLISPEC |
typedef struct t_vpi_delay * p_vpi_delay |
typedef struct t_vpi_error_info * p_vpi_error_info |
typedef struct t_vpi_strengthval * p_vpi_strengthval |
typedef struct t_vpi_systf_data * p_vpi_systf_data |
typedef struct t_vpi_time * p_vpi_time |
typedef struct t_vpi_value * p_vpi_value |
typedef struct t_vpi_vecval * p_vpi_vecval |
typedef struct t_vpi_vlog_info * p_vpi_vlog_info |
typedef char PLI_BYTE8 |
typedef short PLI_INT16 |
typedef int PLI_INT32 |
typedef unsigned char PLI_UBYTE8 |
typedef unsigned short PLI_UINT16 |
typedef unsigned int PLI_UINT32 |
typedef struct t_vpi_delay s_vpi_delay |
typedef struct t_vpi_error_info s_vpi_error_info |
typedef struct t_vpi_strengthval s_vpi_strengthval |
typedef struct t_vpi_systf_data s_vpi_systf_data |
typedef struct t_vpi_time s_vpi_time |
typedef struct t_vpi_value s_vpi_value |
typedef struct t_vpi_vecval s_vpi_vecval |
typedef struct t_vpi_vlog_info s_vpi_vlog_info |
typedef PLI_UINT32* vpiHandle |
XXTERN vpiHandle vpi_handle_by_multi_index PROTO_PARAMS | ( | (vpiHandle obj, PLI_INT32 num_index, PLI_INT32 *index_array) | ) |
XXTERN PLI_INT32 vpi_flush PROTO_PARAMS | ( | (void) | ) |
XXTERN PLI_INT32 vpi_mcd_vprintf PROTO_PARAMS | ( | (PLI_UINT32 mcd, PLI_BYTE8 *format, va_list ap) | ) |
XXTERN void* vpi_get_userdata PROTO_PARAMS | ( | (vpiHandle obj) | ) |
XXTERN PLI_INT32 vpi_get_data PROTO_PARAMS | ( | (PLI_INT32 id, PLI_BYTE8 *dataLoc, PLI_INT32 numOfBytes) | ) |
XXTERN PLI_INT32 vpi_get_vlog_info PROTO_PARAMS | ( | (p_vpi_vlog_infovlog_info_p) | ) |
XXTERN PLI_INT32 vpi_chk_error PROTO_PARAMS | ( | (p_vpi_error_infoerror_info_p) | ) |
XXTERN PLI_INT32 vpi_mcd_printf PROTO_PARAMS | ( | (PLI_UINT32 mcd, PLI_BYTE8 *format,...) | ) |
XXTERN PLI_BYTE8* vpi_mcd_name PROTO_PARAMS | ( | (PLI_UINT32 cd) | ) |
XXTERN PLI_UINT32 vpi_mcd_close PROTO_PARAMS | ( | (PLI_UINT32 mcd) | ) |
XXTERN PLI_UINT32 vpi_mcd_open PROTO_PARAMS | ( | (PLI_BYTE8 *fileName) | ) |
XXTERN void vpi_get_time PROTO_PARAMS | ( | (vpiHandle object, p_vpi_time time_p) | ) |
XXTERN vpiHandle vpi_put_value PROTO_PARAMS | ( | (vpiHandle object, p_vpi_value value_p, p_vpi_time time_p, PLI_INT32 flags) | ) |
XXTERN void vpi_get_value PROTO_PARAMS | ( | (vpiHandle expr, p_vpi_value value_p) | ) |
XXTERN void vpi_get_delays PROTO_PARAMS | ( | (vpiHandle object, p_vpi_delay delay_p) | ) |
XXTERN vpiHandle vpi_handle_multi PROTO_PARAMS | ( | (PLI_INT32 type, vpiHandle refHandle1, vpiHandle refHandle2,...) | ) |
XXTERN void vpi_get_systf_info PROTO_PARAMS | ( | (vpiHandle object, p_vpi_systf_datasystf_data_p) | ) |
XXTERN vpiHandle vpi_register_systf PROTO_PARAMS | ( | (p_vpi_systf_datasystf_data_p) | ) |
PLI_VEXTERN PLI_DLLESPEC void(*[]) vlog_startup_routines() |