备忘录之 —— .bashrc(IC工具篇)
好久没有使用这些IC工具了,装在自己的虚拟机中的Linux系统里面,现在想要卸载掉,想起之前自己辛辛苦苦的折腾这些工具配置,如果直接删除,感觉未免有点对不起自己的劳动成果,或许以后再也用不到了,就当是作为一种纪念吧。啥都不说了,先贴出代码:
# .bashrc # Source global definitions if [ -f /etc/bashrc ]; then . /etc/bashrc fi # User specific aliases and functions # edit by iove ################################################## # alias ################################################## alias g="gvim" alias ls="ls --color" alias vi="vim" alias gb="gvim /home/iove/.bashrc" alias sb="source /home/iove/.bashrc" alias clr="clear" alias gv="gvim /home/iove/.vimrc" alias cd='cdl' alias p='pwd' alias l='ls' alias ..='cd ..' function cdl() { builtin cd "$@" # pwd ls } ################################################## # License Env ################################################## export LM_LICENSE_FILE=/home/iove/eda/synopsys/license/synopsys.dat export SNPSLMD_LICENSE_FILE=/home/iove/eda/synopsys/license/synopsys.dat ################################################## # display ################################################# export DISPLAY=unix:0 export VCS_ARCH_OVERRIDE=linux ################################################## # VCS 2014.03 ################################################# #export PATH="/home/iove/eda/synopsys/vcs/2014.03/bin:"$PATH export VCS_HOME="/home/iove/eda/synopsys/vcs/2014.03" export PATH=$PATH:$VCS_HOME/bin alias vcs="vcs &" alias dve="dve &" export UVM_HOME="/home/iove/eda/synopsys/vcs/2014.03/etc/uvm-1.1" ################################################## # nLint 2013.09 ################################################# export SNS_HOME="/home/iove/eda/synopsys/nlint/2013.09" export PATH="/home/iove/eda/synopsys/nlint/2013.09/bin:"$PATH export LM_LICENSE_FILE=/home/iove/eda/synopsys/nlint/2013.09/tools/nlint.dat alias lm="/home/iove/eda/synopsys/nlint/2013.09/tools/lmgrd -c /home/iove/eda/synopsys/nlint/2013.09/tools/nlint.dat" alias nlint="nLint -gui &" ################################################# # DC 2014.09 ################################################# export PATH="/home/iove/eda/synopsys/syn/2014.09/bin:"$PATH export DC_HOME="/home/iove/eda/synopsys/syn/2014.09" alias dc="dc_shell &" alias dv="design_vision &" alias dt="dc_shell-t &" #################################################### # PT 2014.06 ################################################### export PATH="/home/iove/eda/synopsys/pt/2014.06/bin:"$PATH export PT_HOME="/home/iove/eda/synopsys/pt/2014.06" alias pt="primetime &" #################################################### # ICC 2014.09 ################################################### export PATH="/home/iove/eda/synopsys/icc/2014.09/bin:"$PATH export ICC_HOME="/home/iove/eda/synopsys/icc/2014.09" alias icc="icc_shell &" #################################################### # tx 2014.09 ################################################### export PATH="/home/iove/eda/synopsys/tx/2014.09/bin:"$PATH export ICC_HOME="/home/iove/eda/synopsys/tx/2014.09" alias tx="tmax &" #################################################### # coreTools 2014.12 ################################################### export PATH="/home/iove/eda/synopsys/coretools/2014.12/bin:"$PATH export CORE_TOOLS_HOME="/home/iove/eda/synopsys/coretools/2014.12" alias coreas="coreAssembler &" alias corebd="coreBuilder &" alias corecfg="coreConfiguration &" alias corecs="coreConsultant &" #################################################### # Verdi 2014.03 ################################################### export PATH="/home/iove/eda/synopsys/verdi/2014.03/bin:"$PATH export NOVAS_HOME="/home/iove/eda/synopsys/verdi/2014.03" export LD_LIBRARY_PATH="/home/iove/eda/synopsys/verdi/2014.03/share/PLI/VCS/LINUX/" alias vd="verdi &" alias vf="verdi -f filelist.f &" #################################################### # formality 2014.09 ################################################### export PATH="/home/iove/eda/synopsys/fm/2014.09/bin:"$PATH export FORMALITY_HOME="/home/iove/eda/synopsys/fm/2014.09" alias fm="fm_shell &" #################################################### # hspice 2014.09 ################################################### export PATH="/home/iove/eda/synopsys/hspice/2014.09/hspice/bin:"$PATH export HSPICE_HOME="/home/iove/eda/synopsys/hspice/2014.09" alias hs="hspice &" #################################################### # leda 2014.03 ################################################### export LEDA_PATH="/home/iove/eda/synopsys/leda/2014.03/bin:"$PATH export LEDA_HOME="/home/iove/eda/synopsys/leda/2014.03" alias leda="leda" #################################################### # synplify 2014.03 ################################################### export PATH="/home/iove/eda/synopsys/fpga/2014.03/bin:"$PATH export FPGA_HOME="/home/iove/eda/synopsys/fpga/2014.03" alias sp="synplify &" alias sp1="synplify_premier &" alias sp2="synplify_pro &" alias sp3="synplify_premier_dp &" alias run="./run" alias clean="./clean" alias ex="exit" #################################################### # vivado 2014.4 ################################################### export PATH="/home/iove/eda/xilinx/Vivado/2014.4/bin:"$PATH export VIVADO_HOME="/home/iove/eda/xilinx/Vivado/2014.4" alias vivado="vivado &" alias sysgen="sysgen &" #################################################### # vivado_hls 2014.4 ################################################### export PATH="/home/iove/eda/xilinx/Vivado_HLS/2014.4/bin:"$PATH export VIVADO_HLS_HOME="/home/iove/eda/xilinx/Vivado_HLS/2014.4" alias hls="vivado_hls &" #################################################### # xilinx_Doc_Nav 2014.4 ################################################### export PATH="/home/iove/eda/xilinx/DocNav:"$PATH export DOCNAV_HOME="/home/iove/eda/xilinx/DocNav" alias docnav="docnav &" #################################################### # vivado_sdk 2014.4 ################################################### export PATH="/home/iove/eda/xilinx/SDK/2014.4/bin:"$PATH export XSDK_HOME="/home/iove/eda/xilinx/SDK/2014.4" alias sdk="xsdk &" ################################################### # vivado_manage 2014.4 ################################################### alias xic="/home/iove/eda/xilinx/xic/./xic &" ################################################## # Firefox ################################################## alias fb="firefox www.baidu.com &"
OK,你就静静的躺着吧,哈哈~
对了,忘了写上了,启动nlint之前需要先开启独立的licence命令——lmgrd,这也是前面提到的折腾我比较长的时间,花了个把月才破解这个nLint工具。历史原因,习惯了使用nLint,当时主流的还是nLint,还没有适应leda。因为所有这些IC工具都是付费的,一个工具一年的使用费用少则上十万,因此,广大的IC工作者们不得不选择破解这条艰辛的道路,由于知识版权的保护,整个IC行业都是处在一种闭源的开发环境之中,不像Web开发领域那样自由和活跃。
刚才试着启动了一下lmgrd,结果显示如下:
[iove@mylinux 2014.03]$ lmgrd [iove@mylinux 2014.03]$ 20:09:55 (lmgrd) ----------------------------------------------- 20:09:55 (lmgrd) Please Note: 20:09:55 (lmgrd) 20:09:55 (lmgrd) This log is intended for debug purposes only. 20:09:55 (lmgrd) There are many details in licensing policies 20:09:55 (lmgrd) that are not reported in the information logged 20:09:55 (lmgrd) here, so if you use this log file for any kind 20:09:55 (lmgrd) of usage reporting you will generally produce 20:09:55 (lmgrd) incorrect results. 20:09:55 (lmgrd) 20:09:55 (lmgrd) ----------------------------------------------- 20:09:55 (lmgrd) 20:09:55 (lmgrd) 20:09:55 (lmgrd) FLEXlm (v9.23) started on mylinux (linux) (2/11/2017) 20:09:55 (lmgrd) Copyright (c) 1988-2004 by Macrovision Corporation. All rights reserved. 20:09:55 (lmgrd) US Patents 5,390,297 and 5,671,412. 20:09:55 (lmgrd) World Wide Web: http://www.macrovision.com 20:09:55 (lmgrd) License file(s): /home/iove/eda/synopsys/nlint/2013.09/tools/nlint.dat 20:09:55 (lmgrd) lmgrd tcp-port 27000 20:09:55 (lmgrd) Starting vendor daemons ... 20:09:55 (lmgrd) Started snslmgrd (internet tcp_port 36779 pid 6511) 20:09:55 (snslmgrd) FLEXnet Licensing version v11.6.0.0 build 60117 amd64_re3 20:09:55 (snslmgrd) lmgrd version 9.2, snslmgrd version 11.6 20:09:55 (snslmgrd) Server started on mylinux for: nLint 20:09:55 (snslmgrd) nLint_either nLint_mixed nLint_sv 20:09:55 (snslmgrd) nLint_verilog nLint_vhdl hdlin 20:09:55 (snslmgrd) hdlin_mixed hdlin_verilog hdlin_vhdl 20:09:55 (snslmgrd) EXTERNAL FILTERS are OFF 20:09:55 (lmgrd) snslmgrd using TCP-port 36779
启动nlint之后的显示结果:
[iove@mylinux 2014.03]$ nlint [1] 6520 [iove@mylinux 2014.03]$ logDir = /home/iove/eda/synopsys/leda/2014.03/nLintLog rcfile = /home/iove/eda/synopsys/nlint/2013.09/etc/nLint.rc nLint - A HDL Design Rule Checker, Release 2013.09 (Linux x86_64/64bit) 08/30/2013 (C) 1996 - 2013 by Synopsys, Inc. All Rights Reserved. www.synopsys.com This computer program constitutes or contains trade secrets and confidential information of Synopsys, Inc. or its licensors. This computer program is protected by copyright law and international treaties. 20:10:04 (snslmgrd) TCP_NODELAY NOT enabled 20:10:04 (snslmgrd) OUT: "nLint" iove@mylinux 20:10:04 (snslmgrd) nLint checked out feature: "nLint" (2013.09) USER : iove@127.0.0.1 Loading RS files ... Load RS file /home/iove/eda/synopsys/nlint/2013.09/etc/nLint.rs Merging RS files ... 20:10:09 (snslmgrd) IN: "nLint" iove@mylinux [1]+ Done nLint -gui
久违的界面啊gui ——
其实平时都很少使用GUI的啦,主要还是直接对代码进行nLint检查,而不是直接输入nlint打开GUI界面。
哎,就这么一不小心启动了一会,久违的内存问题又来了,关闭nLint工具之后,虚拟机中内存一直耗着,直接体现在windows中的内存飙升,关闭之后过了很久很久,才在windows中逐渐释放,CPU的风扇就一直在呼呼响,哈哈~
这个虚拟机的bug亟待解决。