VCS安装



基于软件   ubuntu-14.04.2-desktop-amd64.iso/rhel-server-7.1-x86_64-dvd.iso/synopsys vcs-mx_vI-2014.03... 



 software: 
 installer v3.1 & scl v11.7 & vcs-mx_vI-2014.03 & ubuntu 14.04 

原始synopsis vcs是 RedHat Enterprise Linux 4.0 编译的,简称Linux RH 4),所以推荐使用 Linux RH 4安装。。。。



dir:
synopsys    
            installer_v3.1

            scl_v11.7
                      scl_v11.7_amd64.tar
                      scl_v11.7_common.tar
                      scl_v11.7_linux.tar
            vcs-mx_vI-2014.03
                       vcs-mx_vI-2014.03_amd64.tar
                       vcs-mx_vI-2014.03_common.tar
                       vcs-mx_vI-2014.03_linux.tar


Q:执行lmgrd得到错误信息,lmgrd: command not found
A:ubuntu下安装SCL11的问题,装好后运行lmgrd,会报告“no such file or directory”。此时文件当然是存在的。问题在于:lmgrd binary is expecting to find /lib/ld-lsb.so.3 but that ubuntu version has just /lib/ld-linux.so.2 by default.所以要安装lsb-core 和lsb-base包
去包管理里面search lsb,全部安装。问题解决。

sudo apt-get install -y  lsb-base lsb-core


Q:gcc版本太新
A:打 gcc -v 看最后一行
gcc version 4.8.1 (Ubuntu/Linaro 4.8.1-10ubuntu9)

你须要将 gcc 和 g++ 退级到 4.4

sudo apt-get install -y gcc-4.4 g++-4.4
sudo apt-get autoremove
sudo apt-get install -y gcc-4.4-locales g++-4.4-multilib gcc-4.4-doc libstdc++6-4.4-dbg
sudo apt-get install -y gcc-4.4-multilib libmudflap0-4.4-dev libgomp1-dbg libmudflap0-dbg
sudo apt-get install -y libcloog-ppl1 libppl-c4 libstdc++6-4.4-doc

cd /usr/bin
sudo rm gcc g++
sudo ln -s gcc-4.4 gcc
sudo ln -s g++-4.4 g++
 


 
Q:安装c shell
A: sudo apt-get install csh




Q:excute vcs run out error msg:   /bin/sh: Illegal option -h
A: 
sudo mv /bin/dash /bin/dash.backup
sudo ln -s /bin/bash /bin/dash



Q:how to configuration  environment variables
A:
 

#!/bin/bash
export VCS_HOME="/usr/synopsys/I-2014.03"
export  PATH="$PATH:/usr/synopsys/I-2014.03/bin"
export  PATH="$PATH:/usr/synopsys/11.7/linux/bin"
export LM_LICENSE_FILE="/usr/synopsys/license/synopsys.dat"

sudo chmod 777  /usr/synopsys/license/synopsys.dat
lmgrd -c $LM_LICENSE_FILE -l ~/syn_lic.log



Q:
hemmingway@ubuntu:~/synopsys$ dve
/usr/synopsys/I-2014.03/gui/dve/linux/bin/dve.exe: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory
A:
sudo apt-get install libX11.so.6
安装 ia32-libs  gtk... 一堆乱七八糟的....


./adb: error while loading shared libraries: libncurses.so.5:

from://http://stackoverflow.com/questions/10005907/eclipse-android-plugin-libncurses-so-5

sudo apt-get install libncurses5:i386


or
sudo apt-get install lib32ncurses5 lib32stdc++6


finally everything is ok.......
$ vcs
VCS MX compilation command help:
   (1) Unified use model for all design topologies :
       vcs [libname.]<Top Module_Or_Entity_Or_Config> [compile opts]
       
   (2) Two step use model for pure verilog design only :
       vcs <source_files> [compile opts]
       
   where frequently used [compile opts] are, 
      [-debug][-debug_all][-o <log_file_name>][+rad][-cm][-sdf][-P <pli tab>]
       
   For more information, 
       About the use model (1), Please refer chapter [4] in VCS MX User Guide or 
       About the use model (2), Please refer chapter [3] in VCS User Guide or 
       Type vcs -help 


  • 2
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 5
    评论
评论 5
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值