Setting up Digital IC Environment: vcs2018, verdi2018
Following the guide: Setting Up Your Own Digital IC EDA Enviroment (Part 3): Installing EDA Tools (vcs2018, verdi2018, etc.) and Running Your First Project - scl keygen - CSDN Blog
Installation documentation and corresponding video tutorial are available. However, my system uses Ubuntu 18.04 (installation process detailed in another blog post: Installing Ubuntu on a USB Drive for Portable Use - Ubuntu Portable System - CSDN Blog), and the installation was more complex than described in typical guides. Below are issues encountered during setup.
Table of Contents
- Installing redhat-lsb
- lmgrd_synopsys error
- Running verdi command —> need to execute from /home/synopsys/verdi/Verdi_o-2018.09-SP2/bin/verdi directory
1. Error installing redhat-lsb.i686 via yum
Since yum is not compatible with Ubuntu, replaced it with #sudo apt_get install lsb-core, but faced an error similar to the one below (image reference from online source):
Reference link: Ubuntu 18.04 apt install xxx error E: Unmet dependencies. Try 'apt --fix-broken install' without specifying package name (or specify a workaround - vim : depends: vim-runtime (= 2:8.0.1453-1ubuntu1.13) but - CSDN Blog
Soultion:
sudo apt --fix-broken install
apt-get install lsb-core
2. lmgrd_synopsys error
Encountered an error similar to the following:
2:23:47 (lmgrd) -----------------------------------------------
2:23:47 (lmgrd) Please Note:
2:23:47 (lmgrd)
2:23:47 (lmgrd) This log is intended for debug purposes only.
2:23:47 (lmgrd) In order to capture accurate license
2:23:47 (lmgrd) usage data into an organized repository,
2:23:47 (lmgrd) please enable report logging. Use Macrovision's
2:23:47 (lmgrd) software license administration solution,
2:23:47 (lmgrd) FLEXnet Manager, to readily gain visibility
2:23:47 (lmgrd) into license usage data and to create
2:23:47 (lmgrd) insightful reports on critical information like
2:23:47 (lmgrd) license availability and usage. FLEXnet Manager
2:23:47 (lmgrd) can be fully automated to run these reports on
2:23:47 (lmgrd) schedule and can be used to track license
2:23:47 (lmgrd) servers and usage across a heterogeneous
2:23:47 (lmgrd) network of servers including Windows NT, Linux
2:23:47 (lmgrd) and UNIX. Contact Macrovision at
2:23:47 (lmgrd) www.macrovision.com for more details on how to
2:23:47 (lmgrd) obtain an evaluation copy of FLEXnet Manager
2:23:47 (lmgrd) for your enterprise.
2:23:47 (lmgrd)
2:23:47 (lmgrd) -----------------------------------------------
2:23:47 (lmgrd)
2:23:47 (lmgrd)
2:23:47 (lmgrd) The license server manager (lmgrd) running as root:
2:23:47 (lmgrd)
This is a potential security problem
2:23:47 (lmgrd)
and is not recommended.
[root@localhost Desktop]# 2:23:47 (lmgrd) Failed to open the TCP port number in the license.
The error likely results from port conflict. Run #firewall-cmd --zone=public --add-port=27000/tcp --permanent which shows warning: ALREADY_ENABLED: 3306:tcp. To resolve:
firewall-cmd --zone=public --remove-port=27000/tcp --permanent
firewall-cmd --zone=public --add-port=27000/tcp --permanent
firewall-cmd --reload
Note: # netstat -tln | grep 27000 # check if port 27000 is in use; if no output, it's free
sudo kill -9 27000 # terminate the process if needed
This command indicates "no such process", so it may not help.
3. Verdi command exceution —> need to run from /home/synopsys/verdi/Verdi_O-2018.09-SP2/bin directory
Error:
/home/synopsys/verdi/Verdi_O-2018.09-SP2/bin/verdi: 56: /home/synopsys/verdi/Verdi_O-2018.09-SP2/bin/verdi: Syntax error: "(" unexpected
Install libpng12:
mkdir libpng
cd libpng
wget https://ppa.launchpadcontent.net/linuxuprising/libpng12/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz
tar -xvf libpng_1.2.54.orig.tar.xz
cd libpng-1.2.54
./configure //this will fail (configure: error: zlib not installed), run:
sudo apt install zlib1g
sudo apt install zlib1g-dev
make
sudo make install
sudo ln -s /usr/local/lib/libpng12.so.0.54.0 /usr/lib/libpng12.so
sudo ln -s /usr/local/lib/libpng12.so.0.54.0 /usr/lib/libpng12.so.0
The ./configure step fails with "configure: error: zlib not installed". Install required packages:
sudo apt install zlib1g
sudo apt install zlib1g-dev