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 [email protected] 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

Registration for Ethical RISC-V IoT Workshop

Welcome to Ethical RISC-V IoT Workshop

The “Ethical RISC-V IoT Workshop” at IIIT Bangalore, organized in collaboration with VSD, is a structured, educational competition aimed at exploring real-world challenges in IoT and embedded systems. Participants progress through three stages: building an application, injecting and managing faults, and enhancing application security. The event spans from May 9 to June 15, 2024, culminating in a showcase of top innovations and an award ceremony. This hands-on hackathon emphasizes learning, testing, and securing applications in a collaborative and competitive environment.

Rules :
  1. Only for Indian Student whose college is registered under VTU
  2. Only team of 2 members can Register
  3. Use only VSDSquadron Mini resources for product development
Awards :
  1. Prize money for final 10 Team
  2. 3 Winner team’s Product will be evaluated for Incubation
  3. 7 consolation prizes
  4. Completion Certificate to final round qualifier
  5. Chance to build a Proud Secured RISC-V Platform for India

Date for Registration : 9th May - 22nd May, 2024
Hackathon Inauguration : 23rd May 2024

VSDSquadron (Educational Board)

VSDSquadron, a cutting-edge development board based on the RISC-V architecture that is fully open-source. This board presents an exceptional opportunity for individuals to learn about RISC-V and VLSI chip design utilizing only open-source tools, starting from the RTL and extending all the way to the GDSII. The possibilities for learning and advancement with this technology are limitless.

Furthermore, the RISC-V chips on these boards should be open for VLSI chip design learning, allowing you to explore PNR, standard cells, and layout design. And guess what? vsdsquadron is the perfect solution for all your needs! With its comprehensive documentation and scalable labs, thousands of students can learn and grow together.

VSD HDP (Hardware Design Program) Duration-10 Week

With VSD Hardware Design Program (VSD-HDP),  you have the opportunity to push the boundaries of what exist in open source and establish the new benchmark for tomorrow.

It will leverage your degree in Electrical or Computer Engineering to work with

  • Programmable logic
  • Analog/ digital IP
  • RISC-V
  • Architecture & microprocessors
  • ASICs and SoCs on high-density digital or RF circuit cards
  • Gain hands-on knowledge during design validation and system integration.

Sounds exciting to just get started with expert mentors, doesn’t it? But we are looking for the next generation of learners, inventors, rebels, risk takers, and pioneers.

“Spend your summer working in the future !!”

Outcomes of VSD Online Research IP Design Internship Program

  1. Job opportunities in Semiconductor Industry
  2. Research work can be submitted to VLSI International journals
  3. Participate in Semiconductor International Conference with Internship Research Work
  4. Paper Publications in IEEE Conference and SIG groups
  5. Tape out opportunity and IP Royalty
  6. Interact with world class Semiconductor designer and researchers
  7. Academic professions where more research projects are encouraged.
  8. All the above research and publication work will help colleges and institutes to improve accreditation levels.

Know More Information

VSD – Intelligent Assessment Technology (VSD-IAT)

VSD – Intelligent Assessment Technology (VSD-IAT) is expertly built training platform and is suited for designer requirements. Semiconductor companies understand the value of training automation and Engineer performance enhancement, and do not need to be convinced of the impact of a virtual platform for learning. VSD trainings are quick, relevant, and easy to access from any device at any time zone.

VSD Intern Webinars

VSD Interns made it happen !!

VSD is working towards creating innovative talent pool who are ready to develop design and products for the new tech world. VSD believes in “Learning by doing principle” , and always prepare the student to apply the knowledge learned in the workshops, webinars and courses. We always push our students to work on new designs, test it and work continuously till it becomes the best performing design. Any student who enrolls to VSD community starts working with small design and grows with us and develops a tapeout level design with complete honesty and dedication towards the Work !!

Check out VSD Interns Achievement!

VSDOpen Online Conference

Welcome to the World’s only online conference in Semiconductor Industry VSDOpen Conference. With enormous support and global presence of audience from different segments of industrial lobby and academia made a highly successful event. Evolution is change in the genetic makeup of a population over time, online conference is one kind evaluation everyone adapt soon. 

  • VSDOpen 2022 is an online conference to share open-source research with the community and promote  hardware design mostly done by the student community.
  • VSDOpen 2022 is based on the theme “How to lower the cost to learn, build, and tapeout chips ?”  , which will provide a platform to community to build stronger designs and strengthen the future of Chip design.
  • VSDOpen is envisioned to create a community based revolution in semiconductor hardware technology.
  • The open source attitude is required to bring out the talent and innovation from the community who are in remote part of world and have least access to the technologies.  And now Google support will help to bring the vision to execution by VSD team

VSD Online Course by Kunal Ghosh

VSD offers online course in complete spectrum of vlsi backend flow from RTL design, synthesis and Verification, SoC planning and design, Sign-off analysis, IP Design, CAD/EDA automation and basic UNIX/IT, Introduction to latest technology – RISC-V, Machine intelligence in EDA/CAD, VLSI Interview FAQ’s.

Current Reach – As of 2021, VSD and its partners have released 41 online VLSI courses and was successfully able to teach  ~35900 Unique students around 151 countries in 47 different languages, through its unique info-graphical and technology mediated learning methods.

Enquiry Form