Logo Search packages:      
Sourcecode: verilator version File versions  Download package

verilated_dpi.cpp File Reference


Detailed Description

Verilator: DPI implementation code.

This file must be compiled and linked against all objects created from Verilator or called by Verilator that use the DPI.

Code available from: http://www.veripool.org/verilator

Definition in file verilated_dpi.cpp.

#include "verilatedos.h"
#include "verilated_imp.h"
#include "vltstd/svdpi.h"

Go to the source code of this file.

Defines

#define _VERILATED_DPI_CPP_
#define _VL_SVDPI_CONTEXT_WARN()   VL_PRINTF("%%Warning: DPI C Function called by Verilog DPI import with missing 'context' keyword.\n");
#define _VL_SVDPI_UNIMP()   vl_fatal(__FILE__,__LINE__,"",(string("%%Error: Unsupported DPI function: ")+VL_FUNC).c_str())
#define DPI_PROTOTYPES
#define EETERN   DPI_EXTERN DPI_DLLESPEC
#define XXTERN   DPI_EXTERN DPI_DLLESPEC

Functions

void svAckDisabledState ()
int svDimensions (const svOpenArrayHandle h)
const char * svDpiVersion ()
void * svGetArrayPtr (const svOpenArrayHandle)
void * svGetArrElemPtr (const svOpenArrayHandle, int indx1,...)
void * svGetArrElemPtr1 (const svOpenArrayHandle, int indx1)
void * svGetArrElemPtr2 (const svOpenArrayHandle, int indx1, int indx2)
void * svGetArrElemPtr3 (const svOpenArrayHandle, int indx1, int indx2, int indx3)
svBit svGetBitArrElem (const svOpenArrayHandle s, int indx1,...)
svBit svGetBitArrElem1 (const svOpenArrayHandle s, int indx1)
void svGetBitArrElem1VecVal (svBitVecVal *d, const svOpenArrayHandle s, int indx1)
svBit svGetBitArrElem2 (const svOpenArrayHandle s, int indx1, int indx2)
void svGetBitArrElem2VecVal (svBitVecVal *d, const svOpenArrayHandle s, int indx1, int indx2)
svBit svGetBitArrElem3 (const svOpenArrayHandle s, int indx1, int indx2, int indx3)
void svGetBitArrElem3VecVal (svBitVecVal *d, const svOpenArrayHandle s, int indx1, int indx2, int indx3)
void svGetBitArrElemVecVal (svBitVecVal *d, const svOpenArrayHandle s, int indx1,...)
svBit svGetBitselBit (const svBitVecVal *s, int i)
svLogic svGetBitselLogic (const svLogicVecVal *s, int i)
int svGetCallerInfo (const char **fileNamepp, int *lineNumberp)
svLogic svGetLogicArrElem (const svOpenArrayHandle s, int indx1,...)
svLogic svGetLogicArrElem1 (const svOpenArrayHandle s, int indx1)
void svGetLogicArrElem1VecVal (svLogicVecVal *d, const svOpenArrayHandle s, int indx1)
svLogic svGetLogicArrElem2 (const svOpenArrayHandle s, int indx1, int indx2)
void svGetLogicArrElem2VecVal (svLogicVecVal *d, const svOpenArrayHandle s, int indx1, int indx2)
svLogic svGetLogicArrElem3 (const svOpenArrayHandle s, int indx1, int indx2, int indx3)
void svGetLogicArrElem3VecVal (svLogicVecVal *d, const svOpenArrayHandle s, int indx1, int indx2, int indx3)
void svGetLogicArrElemVecVal (svLogicVecVal *d, const svOpenArrayHandle s, int indx1,...)
const char * svGetNameFromScope (const svScope scope)
void svGetPartselBit (svBitVecVal *d, const svBitVecVal *s, int i, int w)
void svGetPartselLogic (svLogicVecVal *d, const svLogicVecVal *s, int i, int w)
svScope svGetScope ()
svScope svGetScopeFromName (const char *scopeName)
void * svGetUserData (const svScope scope, void *userKey)
int svHigh (const svOpenArrayHandle h, int d)
int svIncrement (const svOpenArrayHandle h, int d)
int svIsDisabledState ()
int svLeft (const svOpenArrayHandle h, int d)
int svLength (const svOpenArrayHandle h, int d)
int svLow (const svOpenArrayHandle h, int d)
void svPutBitArrElem (const svOpenArrayHandle d, svBit value, int indx1,...)
void svPutBitArrElem1 (const svOpenArrayHandle d, svBit value, int indx1)
void svPutBitArrElem1VecVal (const svOpenArrayHandle d, const svBitVecVal *s, int indx1)
void svPutBitArrElem2 (const svOpenArrayHandle d, svBit value, int indx1, int indx2)
void svPutBitArrElem2VecVal (const svOpenArrayHandle d, const svBitVecVal *s, int indx1, int indx2)
void svPutBitArrElem3 (const svOpenArrayHandle d, svBit value, int indx1, int indx2, int indx3)
void svPutBitArrElem3VecVal (const svOpenArrayHandle d, const svBitVecVal *s, int indx1, int indx2, int indx3)
void svPutBitArrElemVecVal (const svOpenArrayHandle d, const svBitVecVal *s, int indx1,...)
void svPutBitselBit (svBitVecVal *d, int i, svBit s)
void svPutBitselLogic (svLogicVecVal *d, int i, svLogic s)
void svPutLogicArrElem (const svOpenArrayHandle d, svLogic value, int indx1,...)
void svPutLogicArrElem1 (const svOpenArrayHandle d, svLogic value, int indx1)
void svPutLogicArrElem1VecVal (const svOpenArrayHandle d, const svLogicVecVal *s, int indx1)
void svPutLogicArrElem2 (const svOpenArrayHandle d, svLogic value, int indx1, int indx2)
void svPutLogicArrElem2VecVal (const svOpenArrayHandle d, const svLogicVecVal *s, int indx1, int indx2)
void svPutLogicArrElem3 (const svOpenArrayHandle d, svLogic value, int indx1, int indx2, int indx3)
void svPutLogicArrElem3VecVal (const svOpenArrayHandle d, const svLogicVecVal *s, int indx1, int indx2, int indx3)
void svPutLogicArrElemVecVal (const svOpenArrayHandle d, const svLogicVecVal *s, int indx1,...)
void svPutPartselBit (svBitVecVal *d, const svBitVecVal s, int i, int w)
void svPutPartselLogic (svLogicVecVal *d, const svLogicVecVal s, int i, int w)
int svPutUserData (const svScope scope, void *userKey, void *userData)
int svRight (const svOpenArrayHandle h, int d)
svScope svSetScope (const svScope scope)
int svSizeOfArray (const svOpenArrayHandle)


Generated by  Doxygen 1.6.0   Back to index