Synopsys VCS 是由 Synopsys 所推出的 verilog 模擬工具,目前 TSRI 所推出的最新版本為 2020.03,底下我們以此版本來進行安裝說明。
1. 下載
請下載底下檔案
vcs_2020.03_linux_1of3.tgz
vcs_2020.03_linux_2of3.tgz
vcs_2020.03_linux_3of3.tgz
2. 解壓縮/安裝
# tar xfva vcs_2020.03_linux_1of3.tgz -C /opt/EDA
# tar xfva vcs_2020.03_linux_2of3.tgz -C /opt/EDA
# tar xfva vcs_2020.03_linux_3of3.tgz -C /opt/EDA
3. 設定環境
VCS=/opt/EDA/vcs/cur/bin
export PATH=$PATH:$VCS
export LM_LICENSE_FILE=26585@lsncku
export VCS_HOME=/opt/EDA/vcs/cur
export VCS_ARCH_OVERRIDE=linux
4. 測試
$ vcs ha_gate.v test_ha.v
觀察其輸出有沒有錯誤訊息。
5. 故障排除
$ vcs ha_cont.v
/opt/EDA/vcs/cur/bin/vcs: 列 3833: dc:命令找不到
/opt/EDA/vcs/cur/bin/vcs: 列 11218: /usr/bin/time: 沒有此一檔案或目錄
/opt/EDA/vcs/cur/bin/vcs: 列 3833: dc:命令找不到
--> 安裝 dc、time 套件:apt-get install dc time
$ vcs
ERROR : Cannot find 'vcsMsgReport' script in /bin
Please make sure VCS_HOME is set correctly and continue..
--> 設定 VCS_HOME
$ vcs ha_cont.v
/opt/EDA/vcs/cur/bin/vcs: 列 11218: /usr/bin/time: 沒有此一檔案或目錄
CPU time: .033 seconds to compile
--> 安裝 time 套件:apt-get install time
$ vcs ha_gate.v test_ha.v
/opt/EDA/vcs/cur/linux/bin/vcs1: error while loading shared libraries: libelf.so.1: cannot open shared object file: No such file or directory
CPU time: .043 seconds to compile
--> 安裝 libelf1:i386
Hi,
回覆刪除Thank you for the post. May I ask what is the version of your Linux? Thank you.
fyr
回覆刪除https://www.synopsys.com/support/licensing-installation-computeplatforms/compute-platforms/release-specific-support.html