User guide
25-3
Source Protection
Encrypting Source Files
Encrypt Using Compiler Directives
You use compiler directives and command line options to encrypt
source and SDF files. VCS creates copies of your files with encrypted
contents. The following sections describe how you encrypt Verilog
source and SDF files:
• The section “Encrypting Specified Regions” on page 25-4
describes how you can specify what part of your source
description you want VCS to encrypt.
• The section “Encrypting The Entire Source Description” on page
25-5 describes how you can encrypt all the contents of your source
description.
• The section “Encrypting SDF Files” on page 25-9 describes the
source protection options for SDF files.
• The section “Specifying Encrypted Filename Extensions” on page
25-10 specifies how you can override the default filename
extensions for encrypted files. The default extension is .vp.
• The section “Specifying Encrypted File Locations” on page 25-10
describes how you can specify the location of the encrypted files
that VCS creates. The default is the same directory as the original
source or SDF file.
• The section “Multiple Runs and Error Handling” on page 25-10
describes how you can circumvent problems that can occur when
you perform multiple encryptions of the same files or encounter
error conditions.