How To Install arachne-pnr on Fedora 36

In this tutorial we learn how to install arachne-pnr in Fedora 36. arachne-pnr is Place and route for FPGA compilation

Introduction

In this tutorial we learn how to install arachne-pnr on Fedora 36.

What is arachne-pnr

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.

We can use yum or dnf to install arachne-pnr on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install arachne-pnr.

Install arachne-pnr on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install arachne-pnr using dnf by running the following command:

sudo dnf -y install arachne-pnr

Install arachne-pnr on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install arachne-pnr using yum by running the following command:

sudo yum -y install arachne-pnr

How To Uninstall arachne-pnr on Fedora 36

To uninstall only the arachne-pnr package we can use the following command:

sudo dnf remove arachne-pnr

arachne-pnr Package Contents on Fedora 36

/usr/bin/arachne-pnr
/usr/lib/.build-id
/usr/lib/.build-id/51
/usr/lib/.build-id/51/2452ac9c5a3caba8b4ffb0c93cbb172bba37e0
/usr/share/arachne-pnr
/usr/share/arachne-pnr/chipdb-1k.bin
/usr/share/arachne-pnr/chipdb-384.bin
/usr/share/arachne-pnr/chipdb-5k.bin
/usr/share/arachne-pnr/chipdb-8k.bin
/usr/share/arachne-pnr/chipdb-lm4k.bin
/usr/share/doc/arachne-pnr
/usr/share/doc/arachne-pnr/README.md
/usr/share/licenses/arachne-pnr
/usr/share/licenses/arachne-pnr/COPYING

References

Summary

In this tutorial we learn how to install arachne-pnr on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).