Probable errors while installing ‘vsdflow’ and its solutions

Hey There,

Last week, I consulted around 20 colleges to install ‘vsdflow’ on their Linux Ubuntu and CentOS machines. There were many successful installations and runs which happened. But there were many errors while installing the utility. I would really apologize for the inconvenience that might have caused to you during installation and would like to ‘Thank You’ for bringing out the errors to us. I am collating all list of errors we have received and its solutions in below blog

First, let me re-iterate installation steps below:

Steps to install and run on UBUNTU:

1) sudo apt-get install git

2) git clone https://github.com/kunalg123/vsdflow.git

3) cd vsdflow

4) chmod 777 opensource_eda_tool_install.sh

5) sudo ./opensource_eda_tool_install.sh

6) ./vsdflow spi_slave_design_details.csv

7) ./vsdflow picorv32_design_details.csv

Steps to install and run on CENTOS:

1) sudo yum install git

2) git clone https://github.com/kunalg123/vsdflow.git

3) cd vsdflow

4) chmod 777 opensource_eda_tool_install_centos.sh

5) sudo ./opensource_eda_tool_install_centos.sh

6) ./vsdflow spi_slave_design_details.csv

7) ./vsdflow picorv32_design_details.csv

Steps to test ‘vsdflow’ on Ubuntu and CENTOS:

1) cd outdir_spi_slave

2) qflow display spi_slave

List of probable errors you might have observed:

“can’t find package csv”

To resolve this error, type below command on linux shell

For Ubuntu –

sudo apt-get install tcllib  – -assume-yes

For CentOS –

wget https://download-ib01.fedoraproject.org/pub/epel/7/x86_64/Packages/t/tcllib-1.14-1.el7.noarch.rpm

sudo rpm -Uvh tcllib-1.14-1.el7.noarch.rpm

sudo yum install tcllib

And then run

./vsdflow spi_slave_design_details.csv

./vsdflow picorv32_design_details.csv

“cmake: command not found”

If you are getting above error, then most likely, your placement tool (Graywolf) and STA tools (opensta and Opentimer) has not been installed correctly

There are 2 ways to resolve this error, type below command on linux shell

  • For Ubuntu and CentOS –

wget https://github.com/Kitware/CMake/releases/download/v3.13.0/cmake-3.13.0.tar.gz

tar -xvzf cmake-3.13.0.tar.gz

cd cmake-3.13.0/

sudo ./bootstrap –prefix=/usr/local

sudo make -j$(nproc)

sudo make install

Then install graywolf, qflow, Opensta and Opentimer individually

 

  • An automated solution to this:

Most likely, you are getting the above error, because step 5) to install opensource EDA tools was not run with ‘sudo’ option. So, re-run below step 5) again from ‘vsdflow’ directory and this error will go off

5) sudo ./opensource_eda_tool_install.sh à For Ubuntu

5) sudo ./opensource_eda_tool_install_centos.sh à For CentOS

Then, continue with step 6), 7) and remaining steps listed in beginning of this blog to test ‘vsdflow’ installation

“Cannot retrieve repository metadata (repomd.xml) for repository: apt.llvm.org_xenial_. Please verify its path and try again”

You are probably getting this error because your existing CentOS version is below 6.5, which are obsolete. The quickest way to get rid of this error is to upgrade CentOS version to 6.5 or later. There are other ways to solve this error, but I am very sure you might get some more errors because of old CentOS version. So, I would suggest upgrading to latest CentOS version

“error writing “file3”: no space left on device”

As the error name suggests, this is purely disk-space issue. So, a suggestion would be check the disk-space available after installing Ubuntu/CentOS, using below command

df -kh .

(Don’t miss the “.” in above command). See below image to see what you get with and without “.”

If the “Avail” column shows about 30GB space, we are good to start installation using steps mentioned in beginning of this blog

“./vsdflow is stuck at Info: Initializing number of threads, libraries…message”

This is because OpenSTA is not installed properly. The reason OpenSTA is not installed correctly is because “cmake” is not installed properly. And if “cmake” is not installed properly, there is high chance that “graywolf” and “qflow” has been not installed correctly. The best way to resolve this is error is to go to vsdflow directory and do step 5) using sudo command, like below:

5) sudo ./opensource_eda_tool_install.sh à For Ubuntu

5) sudo ./opensource_eda_tool_install_centos.sh à For CentOS

Then, continue with step 6), 7) and remaining steps listed in beginning of this blog to test ‘vsdflow’ installation

libc6-dev : Breaks: binutils (< 2.26) but 2.24-5ubuntu3 is to be installed

bash: ./vsdflow: /bin/tcsh: bad interpreter: No such file or directory”

This because, for some reasons, “tcsh” has not been installed correctly, that is because the apt is just being dumb. Use the below command to install

sudo apt-get remove binutils

5) sudo ./opensource_eda_tool_install.sh à For Ubuntu

5) sudo ./opensource_eda_tool_install_centos.sh à For CentOS

Finally, continue with step 6), 7) and remaining steps listed in beginning of this blog to test ‘vsdflow’ installation

Virtual box showing only 32-bit option

1) Go to BIOS Settings as per computer type (ex: sony-f2, hp : f10)

2) Enable Virtualization technology in Advanced settings

3) Save changes and exit

4) Restart the system

That’s all the errors I have received till today….If you get more errors while install ‘vsdflow’, please do email me at kunalpghosh@gmail.com and we will happy to resolve. Also, we will update this blog accordingly with your error

“The more we work to help others get ahead, the more we begin to enjoy the life we are living” – Joshua Becker

Posted in Concepts.

7 Comments

    • Hi
      Can you please email me the snapshot of the error? Most likely I think the error is coming because you might not be in outdir_spi_slave directory

Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.