User guide

25-6
Source Protection
To do so include the +autoprotect, +auto2protect or
+auto3protect option on the vcs command line. The difference
between these options is where VCS begins to encrypt the Verilog
source description in modules and UDPs. This difference is as
follows:
+autoprotect
The +autoprotect option encrypts the module port list (or UDP
terminal list) in addition to the body of the module (or UDP.)
+auto2protect
The +auto2protect option does not encrypt the module port list
(UDP terminal list). Instead encryption begins after the semicolon
following the port or terminal list. This difference produces a
syntactically correct module or UDP header statement.
+auto3protect
The +auto3protect option does what the +auto2protect option
does except that it does not encrypt parameter declarations that
precede the first port declaration.
When you include the +auto2protect
option, VirSim and third party
tools are able to parse the encrypted source files without decoding
the encrypted source description that follows these lists. For this
reason Synopsys recommends the use of +auto2protect
option
instead of +autoprotect option.
When you include the +auto2protect option:
VCS creates new files for the Verilog source files you specify on
the vcs command line.