User guide

E-2
PLI Access Routines
Access Routine for Signal in a Generate Block
VCS API Routines
Access Routines for Reading and Writing to Memories
VCS comes with the a number of access routines for reading and
writing to a memory.
These access routines are as follows:
acc_setmem_int
Writes an integer value to specific bits in a Verilog memory word.
See "acc_setmem_int" on page E-4 for details.
acc_getmem_int
Reads an integer value from specific bits in a Verilog memory
word. See "acc_getmem_int" on page E-5 for details.
acc_clearmem_int
Clears a memory, that is, writes zeros to all bits. See
"acc_clearmem_int" on page E-6 for details.
acc_setmem_hexstr
Writes a hexadecimal string value to specific bits in a Verilog
memory word. See "acc_setmem_hexstr" on page E-11 for
details.
acc_getmem_hexstr
Reads a hexadecimal string value from specific bits in a Verilog
memory word. See "acc_getmem_hexstr" on page E-15 for
details.