28 typedef unsigned __int64 uint64_t;
29 typedef unsigned __int32 uint32_t;
30 typedef unsigned __int8 uint8_t;
31 typedef signed __int64 int64_t;
32 typedef signed __int32 int32_t;
33 typedef signed __int8 int8_t;
34 #elif defined(__MINGW32__)
36 #elif defined(__APPLE__)
38 #elif defined(__linux) || (defined(__APPLE__) && defined(__MACH__))
41 #include <sys/types.h>
46 #if (defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__))
47 #define DPI_DLLISPEC __declspec(dllimport)
55 #if (defined(_MSC_VER) || defined(__MINGW32__) || defined(__CYGWIN__))
56 #define DPI_DLLESPEC __declspec(dllexport)
67 #ifndef DPI_PROTOTYPES
68 #define DPI_PROTOTYPES
70 #define XXTERN DPI_EXTERN DPI_DLLISPEC
72 #define EETERN DPI_EXTERN DPI_DLLESPEC
105 #define SV_PACKED_DATA_NELEMS(WIDTH) (((WIDTH) + 31) >> 5)
111 #define SV_MASK(N) (~(-1 << (N)))
113 #define SV_GET_UNSIGNED_BITS(VALUE, N) \
114 ((N) == 32 ? (VALUE) : ((VALUE)&SV_MASK(N)))
116 #define SV_GET_SIGNED_BITS(VALUE, N) \
117 ((N) == 32 ? (VALUE) \
118 : (((VALUE) & (1 << (N))) ? ((VALUE) | ~SV_MASK(N)) \
119 : ((VALUE)&SV_MASK(N))))
236 int indx2,
int indx3);
244 int indx1,
int indx2);
246 int indx1,
int indx2,
int indx3);
256 int indx2,
int indx3);
268 int indx2,
int indx3);
274 int indx1,
int indx2);
276 int indx1,
int indx2,
int indx3);
283 int indx2,
int indx3);
376 #ifdef DPI_PROTOTYPES
377 #undef DPI_PROTOTYPES
XXTERN void svGetLogicArrElem2VecVal(svLogicVecVal *d, const svOpenArrayHandle s, int indx1, int indx2)
XXTERN svScope svGetScopeFromName(const char *scopeName)
XXTERN void svPutLogicArrElem3VecVal(const svOpenArrayHandle d, const svLogicVecVal *s, int indx1, int indx2, int indx3)
XXTERN const char * svGetNameFromScope(const svScope)
XXTERN int svSizeOfArray(const svOpenArrayHandle)
XXTERN int svIncrement(const svOpenArrayHandle h, int d)
XXTERN int svLeft(const svOpenArrayHandle h, int d)
XXTERN void svPutLogicArrElem2VecVal(const svOpenArrayHandle d, const svLogicVecVal *s, int indx1, int indx2)
XXTERN void svPutPartselBit(svBitVecVal *d, const svBitVecVal s, int i, int w)
XXTERN void * svGetArrElemPtr1(const svOpenArrayHandle, int indx1)
XXTERN int svDimensions(const svOpenArrayHandle h)
XXTERN void svGetBitArrElemVecVal(svBitVecVal *d, const svOpenArrayHandle s, int indx1,...)
XXTERN const char * svDpiVersion(void)
XXTERN void * svGetUserData(const svScope scope, void *userKey)
XXTERN void svGetPartselLogic(svLogicVecVal *d, const svLogicVecVal *s, int i, int w)
XXTERN svBit svGetBitselBit(const svBitVecVal *s, int i)
XXTERN svBit svGetBitArrElem(const svOpenArrayHandle s, int indx1,...)
XXTERN svLogic svGetLogicArrElem3(const svOpenArrayHandle s, int indx1, int indx2, int indx3)
XXTERN void svGetLogicArrElemVecVal(svLogicVecVal *d, const svOpenArrayHandle s, int indx1,...)
XXTERN void svGetBitArrElem2VecVal(svBitVecVal *d, const svOpenArrayHandle s, int indx1, int indx2)
struct TVpiVecval s_vpi_vecval
XXTERN void svPutBitArrElem2(const svOpenArrayHandle d, svBit value, int indx1, int indx2)
XXTERN void svGetBitArrElem1VecVal(svBitVecVal *d, const svOpenArrayHandle s, int indx1)
XXTERN int svIsDisabledState(void)
XXTERN void svPutBitselLogic(svLogicVecVal *d, int i, svLogic s)
XXTERN void svGetBitArrElem3VecVal(svBitVecVal *d, const svOpenArrayHandle s, int indx1, int indx2, int indx3)
XXTERN int svSize(const svOpenArrayHandle h, int d)
XXTERN int svPutUserData(const svScope scope, void *userKey, void *userData)
XXTERN svBit svGetBitArrElem3(const svOpenArrayHandle s, int indx1, int indx2, int indx3)
XXTERN void svPutLogicArrElem3(const svOpenArrayHandle d, svLogic value, int indx1, int indx2, int indx3)
XXTERN void svPutBitArrElem3(const svOpenArrayHandle d, svBit value, int indx1, int indx2, int indx3)
XXTERN void svGetLogicArrElem1VecVal(svLogicVecVal *d, const svOpenArrayHandle s, int indx1)
XXTERN void svPutBitArrElem(const svOpenArrayHandle d, svBit value, int indx1,...)
XXTERN svLogic svGetLogicArrElem1(const svOpenArrayHandle s, int indx1)
XXTERN void svGetLogicArrElem3VecVal(svLogicVecVal *d, const svOpenArrayHandle s, int indx1, int indx2, int indx3)
XXTERN typedef void * svScope
s_vpi_vecval svLogicVecVal
XXTERN void svPutLogicArrElem2(const svOpenArrayHandle d, svLogic value, int indx1, int indx2)
XXTERN void * svGetArrayPtr(const svOpenArrayHandle)
XXTERN void svPutLogicArrElem(const svOpenArrayHandle d, svLogic value, int indx1,...)
XXTERN void * svGetArrElemPtr(const svOpenArrayHandle, int indx1,...)
XXTERN svLogic svGetLogicArrElem(const svOpenArrayHandle s, int indx1,...)
XXTERN svLogic svGetBitselLogic(const svLogicVecVal *s, int i)
XXTERN void * svGetArrElemPtr3(const svOpenArrayHandle, int indx1, int indx2, int indx3)
XXTERN int svHigh(const svOpenArrayHandle h, int d)
XXTERN void svPutBitArrElemVecVal(const svOpenArrayHandle d, const svBitVecVal *s, int indx1,...)
XXTERN void svGetPartselBit(svBitVecVal *d, const svBitVecVal *s, int i, int w)
XXTERN void svPutBitArrElem1(const svOpenArrayHandle d, svBit value, int indx1)
XXTERN svScope svGetScope(void)
XXTERN void * svGetArrElemPtr2(const svOpenArrayHandle, int indx1, int indx2)
XXTERN int svRight(const svOpenArrayHandle h, int d)
XXTERN void svPutBitArrElem2VecVal(const svOpenArrayHandle d, const svBitVecVal *s, int indx1, int indx2)
XXTERN void svPutLogicArrElemVecVal(const svOpenArrayHandle d, const svLogicVecVal *s, int indx1,...)
XXTERN svScope svSetScope(const svScope scope)
XXTERN void svAckDisabledState(void)
XXTERN int svLow(const svOpenArrayHandle h, int d)
XXTERN int svGetCallerInfo(const char **fileName, int *lineNumber)
XXTERN void svPutBitArrElem3VecVal(const svOpenArrayHandle d, const svBitVecVal *s, int indx1, int indx2, int indx3)
XXTERN typedef void * svOpenArrayHandle
XXTERN svLogic svGetLogicArrElem2(const svOpenArrayHandle s, int indx1, int indx2)
XXTERN void svPutLogicArrElem1(const svOpenArrayHandle d, svLogic value, int indx1)
XXTERN svBit svGetBitArrElem1(const svOpenArrayHandle s, int indx1)
XXTERN void svPutLogicArrElem1VecVal(const svOpenArrayHandle d, const svLogicVecVal *s, int indx1)
XXTERN void svPutBitArrElem1VecVal(const svOpenArrayHandle d, const svBitVecVal *s, int indx1)
struct TVpiVecval * p_vpi_vecval
XXTERN void svPutPartselLogic(svLogicVecVal *d, const svLogicVecVal s, int i, int w)
XXTERN svBit svGetBitArrElem2(const svOpenArrayHandle s, int indx1, int indx2)
XXTERN void svPutBitselBit(svBitVecVal *d, int i, svBit s)