User guide

E-81
PLI Access Routines
This routine only affects encrypted Verilog files. Encrypted SDF files,
for example, are not affected.
Returns
No return value.
Example D-40 Example of vcsSpSetPliProtectionFlag
vcsSpStateID esp = vcsSpInitialize();
vcsSpSetPliProtectionFlag(esp, 0); /* disable PLI protection
*/
Caution
Turning off PLI protection will allow users of your modules to access
object names, values, etc. In essence, the source code for your
module could be substantially reconstructed using the CLI commands
and ACC routines.
vcsSpWriteChar
Syntax
void vcsSpSetPliProtectionFlag(vcsSpStateID esp, int
enable)
Synopsis
This routine writes one character to the protected file.
If encoding is enabled (see "vcsSpEncodeOn" on page E-69) the
specified character is encrypted as it is written to the output file.
If encoding is disabled (see "vcsSpEncodeOff" on page E-68) the
specified character is written as-is to the output file (no encryption.)