User guide

17-6
Using the PLI
vcs_acc_user.h
For PLI applications whose functions call the special ACC routines
implemented exclusively for VCS.
You will find these header files at $VCS_HOME/platform/lib, where
platform is the platform you are using, such as
sun_sparc_solaris_5.7.
The header file for the VPI routines is $VCS_HOME/include/
vpi_user.h; see "Using VPI Routines" on page 17-29.
The PLI Table File
The PLI table file (commonly called the pli.tab file) has two purposes:
To associate user-defined system tasks and system functions
with functions in a PLI application, so VCS calls these functions
when it compiles or executes the system task or function.
To limit the scope and operation of the ACC routines called by the
debugging features. If this is all that you need to do in the PLI
table file, see "Specifying ACC Capabilities for PLI Functions" on
page 17-12 and "Specifying ACC Capabilities for VCS Debugging
Features" on page 17-17.
When writing a PLI application, after you write the functions for the
application, you need to write a PLI table file. This file contains a line
for each user-defined system task or system function your application
needs. Each line should contain the following information:
The name of the user-defined system task or system function.
This name begins with the dollar sign $.