0
点赞
收藏
分享

微信扫一扫

VCS2018 linux 安装

爱动漫建模 2022-03-16 阅读 111

VCS linux 安装

自己去网上找2018版本的vcs 和verdi, 就不贴出来了,这里把安装过程中遇到的一些问题留作记录

声明:只做学术研究,不做商业用途,公司使用推荐购买正版


  6 sudo mkdir /tools/eda/synopsys/vcs
  7 sudo chown -R xxx/tools/eda/synopsys/vcs
  8 /tools/eda/installer  -batch_installer -source vcs_mx_vO-2018.09-SP2 -target  /tools/eda/synopsys/vcs

License 安装启动

  2 sudo mkdir /tools/eda/synopsys/scl
  3 sudo chown -R xxxx /tools/eda/synopsys/scl 
  4 /tools/eda/installer  -batch_installer -source scl_v2018.06-SP1 -target  /tools/eda/synopsys/scl
  5 
打开防火墙 27000端口
sudo firewall-cmd --zone=public --add-port=27000/tcp --permanent
sudo firewall-cmd --reload
启动license
lmgrd -c /tools/eda/synopsys/lic/Synopsys.dat
关闭licens
lmdown

LICENSE 问题

什么tcp 端口不对, licnese 找不到 ,都是license文件不对

v2018的lincense-gen 老版本只能生成到 30-dec-2020, 需要去网上找新的 scl_keygen.exe , 有的可以生成到31-dec-2030

1、why don’t work setting EXPIRE 12-dec-2050 ?? EXPIRE Wrong
答:只支持到31-dec-2020,表问我为啥,我也不造

安装vcs

配置环境变量

export VCS_HOME=/tools/eda/synopsys/vcs/vcs-mx/O-2018.09-SP2/
export PATH=$VCS_HOME/bin:$PATH

# export VCS_ARCH_OVERRIDE=linux

# export VERDI_HOME=/tools/eda/synopsys/verdi/
# export PATH=$VERDI_HOME/bin:$PATH

export SCL_HOME=/tools/eda/synopsys/scl/scl/2018.06-SP1/
export PATH=$SCL_HOME/linux64/bin:$PATH


export LM_LICENSE_FILE=27000@VM-4-8-centos
alias lmg="lmgrd -c /tools/eda/synopsys/lic/Synopsys.dat"
Error-[VCS_COM_UNE] Cannot find VCS compiler
  VCS compiler not found. Environment variable VCS_HOME 
  (/tools/eda/synopsys/vcs/vcs-mx/O-2018.09-SP2/linux) is selecting a 
  directory in which there isn't a compiler 
  '/tools/eda/synopsys/vcs/vcs-mx/O-2018.09-SP2/linux/bin/vcs1' for a machine 
  of this type 'linux'.
  Please check whether 'VCS_HOME' is incorrect; if not, see below.

 Perhaps vcs hasn't been installed for machine of type "linux".
 Or the installation has been damaged.
 To verify whether vcsO-2018.09 supports machine of type "Linux 3.10.0-1160.53.1.el7.x86_64",
 please look at ReleaseNotes for more details .
 We determine the machine type from uname; maybe uname is incorrect.
 You can fix installation problems by reinstalling from CDROM 
 or downloading it from the Synopsys ftp server. 
 For assistance, please contact vcs technical support
 at vcs_support@synopsys.com or call 1-800-VERILOG 

查看$VCS_HOME 路径只有linux64, 没有linux

[xxx@VM-4-8-centos vcs]$ l /tools/eda/synopsys/vcs/vcs-mx/O-2018.09-SP2/
total 1.7M
drwxr-xr-x  3 xxx root 4.0K Mar 15 18:27 admin
lrwxrwxrwx  1 xxx root    9 Mar  2  2019 amd64 -> ./linux64
drwxr-xr-x  6 xxx root 4.0K Mar 16 01:11 bin
drwxr-xr-x  6 xxx root 4.0K Mar  2  2019 doc
drwxr-xr-x 49 xxx root 4.0K Mar  2  2019 etc
drwxr-xr-x  4 xxx root 4.0K Mar  2  2019 gui
drwxr-xr-x  9 xxx root 4.0K Mar  2  2019 include
-rw-r--r--  1 xxx root 1.6M Mar 15 18:27 install.log
drwxr-xr-x  7 xxx root 4.0K Mar  2  2019 linux64
drwxr-xr-x  3 xxx root 4.0K Mar  2  2019 mmc
drwxr-xr-x 17 xxx root 4.0K Mar  2  2019 packages
lrwxrwxrwx  1 xxx root    9 Mar  2  2019 suse64 -> ./linux64
drwxr-xr-x  8 xxx root 4.0K Mar  2  2019 vcfca
drwxr-xr-x  4 xxx root 4.0K Mar  2  2019 vgcommon
drwxr-xr-x  3 xxx root 4.0K Mar  2  2019 vms     

which vcs 找到vcs路径 打开
/tools/eda/synopsys/vcs/vcs-mx/O-2018.09-SP2/bin/vcs
vim /tools/eda/synopsys/vcs/vcs-mx/O-2018.09-SP2/

 1200 #VCS_ARCH=`${UNAME}` 2>&1  # 把这行注释掉
 1201 VCS_ARCH="linux64"  #改成这行

重跑 成功

vcs top.v 
                         Chronologic VCS (TM)
       Version O-2018.09-SP2_Full64 -- Wed Mar 16 01:26:10 2022
               Copyright (c) 1991-2018 by Synopsys Inc.
                         ALL RIGHTS RESERVED

This program is proprietary and confidential information of Synopsys Inc.
and may be used and disclosed only as authorized in a license agreement
controlling such use and disclosure.

Parsing design file 'top.v'
Chronologic VCS simulator copyright 1991-2018
Contains Synopsys proprietary information.
Compiler version O-2018.09-SP2_Full64; Runtime version O-2018.09-SP2_Full64;  Mar 16 01:27 2022
hello world
$finish called from file "top.v", line 17.
$finish at simulation time                  900
           V C S   S i m u l a t i o n   R e p o r t 
Time: 900
CPU Time:      0.230 seconds;       Data structure size:   0.0Mb
Wed Mar 16 01:27:03 2022
举报

相关推荐

0 条评论