svdpi.h 函数支持 - 2023.2 简体中文

Vivado Design Suite 用户指南: 逻辑仿真 (UG900)

Document ID
UG900
Release Date
2023-10-18
Version
2023.2 简体中文

在以下目录中提供了 svdpi.h 头文件:<vivado installation>/data/xsim/include

支持以下 svdpi.h 函数:

svBit svGetBitselBit(const svBitVecVal* s, int i); 
svLogic svGetBitselLogic(const svLogicVecVal* s, int i);
void svPutBitselBit(svBitVecVal* d, int i, svBit s);
void svPutBitselLogic(svLogicVecVal* d, int i, svLogic s);
void svGetPartselBit(svBitVecVal* d, const svBitVecVal* s, int i, int w); 
void svGetPartselLogic(svLogicVecVal* d, const svLogicVecVal* s, int i, int w); 
void svPutPartselBit(svBitVecVal* d, const svBitVecVal s, int i, int w); 
void svPutPartselLogic(svLogicVecVal* d, const svLogicVecVal s, int i, int w);
const char* svDpiVersion();
    svScope svGetScope();
    svScope svSetScope(const svScope scope);
    const char* svGetNameFromScope(const svScope);
    int svPutUserData(const svScope scope, void*userKey, void* userData);
    void* svGetUserData(const svScope scope, void* userKey);