User guide

E-17
PLI Access Routines
acc_getmem_bitstr
You use the acc_getmem_bitstr access routine to get a bit string,
including x and z values, from a Verilog memory.
acc_getmem_bitstr
Synopsis: Returns a hexadecimal string from a Verilog memory.
Syntax: acc_getmem_bitstr (memhand,bitStrValue,row,start,len)
Type Description
Returns: void
Type Name Description
Arguments: handle memhand Handle to memory
char * hexStrValue Pointer to a character array into which the
string is written
int row The memory array index
int start Bit number of the left-most bit in the memory
word where this routine starts reading the
string.
int length Specifies the total number of bits this routine
reads starting with the start bit.
Related
routines:
acc_setmem_int
acc_getmem_int
acc_setmem_hexstr
acc_getmem_hexstr
acc_setmem_bitstr
acc_clearmem_int
acc_handle_mem_by_fullname
acc_readmem
acc_getmem_range
acc_getmem_size
acc_getmem_word_int
acc_getmem_word_range