User guide

25-23
Source Protection
Creating A Test Case
Here is a quick way to create a small test case:
1. Remove -o option if you are using it.
2. Add the-Xman=4 option to your vcs command line (in addition to
whatever other options you are using) and run VCS.
VCS will not actually compile your design, instead it generates a
file called tokens.v.
3. Rename the tokens.v file to tokens.orig
4. Run the following command line:
vcs tokens.orig
5. Cut out the problem module from tokens.orig and paste it into a
new file, say test.v.
6. Run the following command line:
vcs -Xman=4 test.v -v tokens.orig
This will create a new tokens.v file
7. Run the following command line again:
vcs tokens.v
Do this to verify that the problem still exists.
8. Zip the tokens.v file
9. FTP the tokens.v.gz file to us:
a. Connect to our FTP site by entering:
ftp ftp.synopsys.com