写在前面
主要是对安装过程中的出现的问题,进行记录分享
安装环境:64位 Ubuntu16.04.4.
安装时间:2021.4.11
安装包及破解软件:链接:https://pan.baidu.com/s/1-8w0dGDrqoDvw9fFO3P4bQ.
提取码:0zzy
安装教程: vcs安装记录 Ubuntu18.04.5.
VCS+Verdi 安装及破解过程(Ubuntu)【1】
1.安装前准备
安装VCS需要线安装一些工具
sudo apt-get install unrar csh lsb-core libelf-dev:i386 lib32ncurses5 g++-multilib g++-4.4-multilib
//unrar 用于解压
// csh 软件安装依赖
// lsb-core 后面激活需要用
// libelf-dev:i386 、lib32ncurses5 用于编译
//g++-multilib 、g++-4.4-multilib vcs安装需要gcc编译器版本为4.8
2.激活出现问题
2.1 Failed to open the TCP port number in the license问题:
如果激活遇到这个问题,可以在*****/synopsys/scl_11.9/amd64/bin路径下
Terminal输入:lmdown
然后会问y/n,输入y。然后等待一会儿就可以了,注意要等待一会儿
之后会结束这个端口,再次激活
2.2 lmgrd can’t make directory /usr/tmp/.flexlm when running server on Ubuntu问题:
这个就是缺少这个文件夹,创建一个并给权限就好了
sudo -i #切换到root权限
mkdir /usr/tmp/ #创建目录(Ubuntu下没有这个目录)
chmod 777 /usr/tmp/ #修改权限
2.3 license文件过期问题
这个问题花了我最多时间,在使用scl_11.9生成license文件,注意到文件有效期只到2020年12月31日,现在2021年了,这肯定是不能用的,需要修改license文件生成器的配置文件。
修改其中的setting.ini和Synopsys.src文件
setting.ini文件将原来2020年修改为2030年
Synopsys.src文件将所有的2020修改为2030,之后激活即可以了。
当到这一步的时候,就证明激活成功了!!
3.启动出现问题
3.1 启动VCS错误
Error-[VCS_COM_UNE] Cannot find VCS compiler
VCS compiler not found. Environment variable VCS_HOME
用vcs -help后,或者用vcs编译.v文件,发现并不能启动VCS,而且环境变量错误。
解决方法:vcs -full64 filename.v
3.2 执行vcs错误
collect2: error: ld returned 1 exit status
Makefile:104: recipe for target 'product_timestamp' failed
make: *** [product_timestamp] Error 1
首先保证gcc版本为4.8
linux下gcc、g++不同版本的安装和切换
添加选项:-cpp g+±4.8 -cc gcc-4.8 -LDFLAGS -Wl,–no-as-needed
vcs -full64 -cpp g++-4.8 -cc gcc-4.8 -LDFLAGS -Wl,--no-as-needed -sverilog -debug_all -timescale=1ns/1ps -f file.list -l com.logS