User guide
xvi
int vc_getMemoryInteger(vc_handle, U indx). . . . . . . . . . 18-62
void vc_putMemoryInteger(vc_handle, U indx, int) . . . . . 18-64
void vc_get4stMemoryVector(vc_handle, U indx,
vec32 *). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-64
void vc_put4stMemoryVector(vc_handle, U indx,
vec32 *). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-66
void vc_get2stMemoryVector(vc_handle, U indx, U *) . . . 18-67
void vc_put2stMemoryVector(vc_handle, U indx, U *) . . . 18-67
void vc_putMemoryValue(vc_handle, U indx, char *). . . . 18-68
void vc_putMemoryValueF(vc_handle, U indx, char, char *) 18-68
char *vc_MemoryString(vc_handle, U indx) . . . . . . . . . . . 18-69
char *vc_MemoryStringF(vc_handle, U indx, char). . . . . 18-70
void vc_FillWithScalar(vc_handle, scalar) . . . . . . . . . . . . 18-72
char *vc_argInfo(vc_handle) . . . . . . . . . . . . . . . . . . . . . . 18-74
int vc_Index(vc_handle, U, ...) . . . . . . . . . . . . . . . . . . . . . 18-75
U vc_mdaSize(vc_handle, U). . . . . . . . . . . . . . . . . . . . . . 18-76
Summary of Access Routines . . . . . . . . . . . . . . . . . . . . . . . . 18-77
Enabling C/C++ Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-81
Mixing Direct And Abstract Access . . . . . . . . . . . . . . . . . . . . 18-83
Specifying the DirectC.h File . . . . . . . . . . . . . . . . . . . . . . . . . 18-83
Useful Compile-Time Options . . . . . . . . . . . . . . . . . . . . . . . . 18-84
Environment Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18-85
Extended BNF for External Function Declarations . . . . . . . . . . . 18-85
19. Using the VCS / SystemC Cosimulation Interface
Usage Scenario Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19-4
Supported Port Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . 19-5