User guide
E-16
PLI Access Routines
acc_setmem_bitstr
You use the acc_setmem_bitstr access routine for writing a string
of binary bits (including x and z) to a Verilog memory.
This routine takes a value argument that is a bit string of any size, which can
include the x and z values, and puts its corresponding binary representation
into the memory word indexed by row, starting at the bit number start.
acc_setmem_bitstr
Synopsis: Writes a string of binary bits to a word in a Verilog memory.
Syntax: acc_setmem_bitstr (memhand, bitStrValue, row, start)
Type Description
Returns: void
Type Name Description
Arguments: handle memhand Handle to memory
char * bitStrValue Bit string
int row The memory array index
int start Bit number of the left-most bit in the memory
word where this routine starts writing the
string.
Related
routines:
acc_setmem_int
acc_getmem_int
acc_setmem_hexstr
acc_getmem_hexstr
acc_getmem_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