User guide

E-5
PLI Access Routines
acc_getmem_int
You use the acc_getmem_int access routine to return an integer
value for certain bits in a Verilog memory word.
acc_getmem_int
Synopsis: Returns an integer value for specific bits in a memory word.
Syntax: acc_getmem_int (memhand, row, start, length)
Type Description
Returns: int Integer value of the bits in the memory word.
Type Name Description
Arguments: handle memhand Handle to memory
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
value.
int length Specifies the total number of bits this routine
reads starting with the start bit.
Related
routines:
acc_setmem_int
acc_setmem_hexstr
acc_getmem_hexstr
acc_setmem_bitstr
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