User guide
E-4
PLI Access Routines
acc_setmem_int
You use the acc_setmem_int access routine to write an integer
value to specific bits in a Verilog memory word.
acc_setmem_int
Synopsis: Writes an integer value to specific bits in a memory word.
Syntax: acc_setmem_int (memhand, value, row, start, length)
Type Description
Returns: void
Type Name Description
Arguments: handle memhand Handle to memory
int value The integer value written in binary format to
the bits in the word.
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
value.
int length Starting with the start bit, specifies the total
number of bits this routine writes to.
Related
routines:
acc_getmem_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