下載、安裝、設定 Cadence Virtuoso EDA 工具
下載及驗證:
Cadence Virtuoso EDA 工具是業界佔有率相當高的 EDA 工具,主要功能在於繪製電路圖 (Schematic Entry)、符號圖 (Symbol)、佈局圖 (Layout)。除此之外,Cadence Virtuoso 亦可以直接呼叫外部工具來進行 Spice Simulation 以及 DRC/LVS驗證。
要安裝 Cadence Virtuoso EDA 工具,首先要下載 CIC 所提供的壓縮檔,以目前 (2020/03/12) 而言,其最新的版本是 IC_06.18.040,總共有五個壓縮檔要下載,如底下所示:
IC_06.18.040_linux_1of5.tgz
IC_06.18.040_linux_2of5.tgz
IC_06.18.040_linux_3of5.tgz
IC_06.18.040_linux_4of5.tgz
IC_06.18.040_linux_5of5.tgz
下載完畢後,請執行 gzip -t xxx.tgz 來測試所下載之壓縮檔是否有誤,如果沒有任何錯誤訊息的話,代表此壓縮檔格式正確,接下來可以進行安裝。
================================================================================
解壓縮及安裝:
建立安裝目錄
# mkdir -p /opt/EDA/cadence
解開壓縮檔
# tar xfva IC_06.18.040_linux_1of5.tgz -C /opt/EDA/cadence
# tar xfva IC_06.18.040_linux_2of5.tgz -C /opt/EDA/cadence
# tar xfva IC_06.18.040_linux_3of5.tgz -C /opt/EDA/cadence
# tar xfva IC_06.18.040_linux_4of5.tgz -C /opt/EDA/cadence
# tar xfva IC_06.18.040_linux_5of5.tgz -C /opt/EDA/cadence
解開之後,會出現
/opt/EDA/cadence/IC 目錄,在此目錄下即是已解開之 Virtuso EDA 工具。
================================================================================
設定 Virtuoso 環境
1. 要設定 Virtuoso,請看原廠設定手冊,其位置在
/opt/EDA/cadence/IC/cur/doc
目錄,我們要看有關 installation 或 setup 或 administrator's guide 之類的文件。以此例來說,在 doc 目錄下有一個名為 install 的子目錄,此目錄存放 Cadence Installation Guide,這是原廠的安裝手冊,任何設定上的問題,以此檔內敘述為主。
2. 設定 Virtuoso 執行路徑
由於我們的 PATH 變數還沒有設定 Virtuoso 的執行環境,如果執行
$ virtuoso
的話,會出現底下錯誤訊息:
bash: virtuoso: command not found
這是由於 virtuoso 目前沒有在 ~/.bashrc 的 PATH 變數中設定,
因此在 ~/.bashrc 中要加上底下設定:
Virtuoso="/opt/EDA/cadence/IC/cur/tools/bin"
icfb="/opt/EDA/cadence/IC/cur/tools/dfII/bin"
export PATH=$PATH:$Virtuoso:$icfb
####ENV for IC60 #####
CDS_LIC_FILE=5280@lsncku
CDS_INST_DIR=/opt/EDA/cadence/IC/cur
CDS_ROOT=/opt/EDA/cadence/IC/cur
CDS_HOME=/opt/EDA/cadence/IC/cur
CDS_Netlisting_Mode=Analog
CDSDIR=$CDS_INST_DIR/tools
#XKEYSYMDB=$CDS_INST_DIR/share/cdssetup/tdmX11/XKeysymDB
XNLSPATH=$CDS_INST_DIR/share/cdssetup/tdmX11/nls
CDS_AUTO_64BIT=ALL
OA_HOME=/opt/EDA/cadence/IC/cur/oa
export LM_LICENSE_FILE=5280@lsncku:1717@lsncku:27000@lsncku:26585@lsncku
設定完畢後,重新打開新的終端機視窗,在此視窗中執行
$ virtuoso
bash: /opt/EDA/cadence/IC/cur/tools/dfII/bin/virtuoso: /bin/ksh: bad interpreter: No such file or directory
上述的錯誤訊息是 virtuoso 找不到 ksh 這個 shell,請安裝 ksh 這個套件,再執行
========================================================================
修改 /opt/EDA/cadence/IC/cur/share/oa/bin/sysname
eecs@120:~$ virtuoso
2020/03/20 10:45:59 System is not a supported distribution
2020/03/20 10:45:59 An error occurred. We don't recognize OS
2020/03/20 10:45:59 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 10:45:59 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
virtuoso: ERROR: The command /opt/EDA/cadence/IC/cur/share/oa/bin/sysname returned an error status:
unknown
virtuoso: INFO: Note that OpenAccess (OA) requires running the Configure phase.
virtuoso: See the "OpenAccess Installation and Configuration Guide" before
virtuoso: you complete the configuration step. This manual is included with
virtuoso: the Cadence product documentation.
========================================================================
$ virtuoso
2020/03/20 10:49:20 System is not a supported distribution
2020/03/20 10:49:20 An error occurred. We don't recognize OS
2020/03/20 10:49:20 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 10:49:20 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libXrender.so.1: cannot open shared object file: No such file or directory
請安裝 libxrender1 套件
========================================================================
$ virtuoso
2020/03/20 11:16:55 System is not a supported distribution
2020/03/20 11:16:55 An error occurred. We don't recognize OS
2020/03/20 11:16:55 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:16:55 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
請安裝 libxt6 套件
========================================================================
$ virtuoso
2020/03/20 11:18:25 System is not a supported distribution
2020/03/20 11:18:25 An error occurred. We don't recognize OS
2020/03/20 11:18:25 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:18:25 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
請安裝 libx11-xcb1 套件
========================================================================
$ virtuoso
2020/03/20 11:19:51 System is not a supported distribution
2020/03/20 11:19:51 An error occurred. We don't recognize OS
2020/03/20 11:19:51 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:19:51 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libXss.so.1: cannot open shared object file: No such file or directory
請安裝 libxss1 套件
========================================================================
$ virtuoso
2020/03/20 11:21:02 System is not a supported distribution
2020/03/20 11:21:02 An error occurred. We don't recognize OS
2020/03/20 11:21:02 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:21:02 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libXft.so.2: cannot open shared object file: No such file or directory
請安裝 libxft2 套件
========================================================================
$ virtuoso
2020/03/20 11:22:02 System is not a supported distribution
2020/03/20 11:22:02 An error occurred. We don't recognize OS
2020/03/20 11:22:02 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:22:02 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
安裝 nvidia 驅動程式模組再重新開機
========================================================================
$ virtuoso
2020/03/20 11:45:12 System is not a supported distribution
2020/03/20 11:45:12 An error occurred. We don't recognize OS
2020/03/20 11:45:12 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:45:12 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
請安裝 libglu1-mesa 套件
========================================================================
$ virtuoso
2020/03/20 11:46:31 System is not a supported distribution
2020/03/20 11:46:31 An error occurred. We don't recognize OS
2020/03/20 11:46:31 WARNING This OS does not appear to be a Cadence supported Linux configuration.
2020/03/20 11:46:31 For more info, please run CheckSysConf in <cdsRoot/tools.lnx86/bin/checkSysConf <productId>
/opt/EDA/cadence/IC/cur/tools/dfII/bin/64bit/virtuoso: error while loading shared libraries: libdb-4.7.so: cannot open shared object file: No such file or directory
作底下連結
/usr/lib/x86_64-linux-gnu# ln -s libdb-5.3.so libdb-4.7.so
========================================================================
$ virtuoso
此時應該可以看到 virtuoso 視窗