User guide
xiii
Using LMTV SmartModel Window Commands . . . . . . . . . . . . . . 16-10
Entering Commands Using the SWIFT Command Channel . . . . 16-13
Using the CLI to Access the Command Channel. . . . . . . . . . 16-15
Loading Memories at the Start of Runtime . . . . . . . . . . . . . . . . . 16-15
Compiling and Simulating a Model . . . . . . . . . . . . . . . . . . . . . . . 16-16
Changing the Timing of a Model . . . . . . . . . . . . . . . . . . . . . . 16-16
17. Using the PLI
Writing a PLI Application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-3
Functions in a PLI Application . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-4
Header Files for PLI Applications . . . . . . . . . . . . . . . . . . . . . . . . 17-5
The PLI Table File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-6
PLI Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-9
ACC Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-11
Specifying ACC Capabilities for PLI Functions. . . . . . . . . 17-12
Specifying ACC Capabilities for VCS Debugging Features 17-17
Using the PLI Table File. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-20
Enabling ACC Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-21
Globally Enabling ACC Capabilities. . . . . . . . . . . . . . . . . . . . 17-21
Enabling ACC Write Capabilities Using the Configuration File 17-22
Using Only the ACC Capabilities that You Need . . . . . . . . . . 17-25
Learning What ACC Capabilities are Used . . . . . . . . . . . 17-25
Compiling to Enable Only the ACC Capabilities You Need 17-27
Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-28
Using VPI Routines . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17-29