1.安装VCS2016 2.使用正确的破解工具
3.设置环境变量
备注:
1.设置VCS的环境变量时,不要选amd64或linux64
个人的环境变量和路径设置如下:
添加VCS相关路径
sudo vim ~/.bashrc #VCS2016
#这里不要选amd64 或linux64,否者运行失败!!!!!
#原因估计是与系统兼容性问题 export PATH="/FPGA/vcs2016/bin:"$PATH export VCS_HOME="/FPGA/vcs2016"
alias vcs="vcs -full64" //系统是64bit的,添加-full64
2.修改/etc/sysctl.d/10-ptrace.conf
kernel.yama.ptrace_scope = 0
3.测试vcs是否成功
vcs -full64 -sverilog test.sv -R
4.测试结果打印正常
../simv up to date
Chronologic VCS simulator copyright 1991-2016
Contains Synopsys proprietary information.
Compiler version L-2016.06_Full64; Runtime version L-2016.06_Full64; Oct 29 18:02 2018
this is my first test!!
V C S S i m u l a t i o n R e p o r t
Time: 0 cpu Time: 0.270 seconds; Data structure size: 0.0Mb
Mon Oct 29 18:02:13 2018
CPU time: .159 seconds to compile + .224 seconds to elab + .248 seconds to link + .459 seconds in simulation