arachne-pnr command not found

In this troubleshooting guide we learn how to fix arachne-pnr command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

arachne-pnr: command not found

or when using sudo you get the following error message

sudo: arachne-pnr: command not found

Solutions to arachne-pnr: command not found

How To Fix arachne-pnr: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu arachne-pnr is provided by arachne-pnr package.

arachne-pnr is:

Arachne-pnr implements the place and route step of the hardware compilation process for FPGAs. It accepts as input a technology-mapped netlist in BLIF format, as output by the Yosys synthesis suite for example. It currently targets the Lattice Semiconductor iCE40 family of FPGAs. Its output is a textual bitstream representation for assembly by the IceStorm icepack command. The output of icepack is a binary bitstream which can be uploaded to a hardware device.

Together, Yosys, arachne-pnr and IceStorm provide an fully open-source Verilog-to-bistream tool chain for iCE40 1K and 8K FPGA development.

The authors of arachne-pnr have now prepared its successor ’nextpnr'.

To fix this problem, we can install more using the command below.

sudo apt-get -y install arachne-pnr

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install arachne-pnr.

sudo apt -y install arachne-pnr

Or if you have aptitude installed you can use the following command.

sudo aptitude install arachne-pnr

Summary

In this tutorial we learn how to fix arachne-pnr command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.