Programming an FPGA with a FOSS toolchain

This is a quick guide on how to program a Sipeed Tang Nano 9K (GOWIN GW1NR-9) using a fully open source toolchain for FPGA programming. I will use Arch Linux but you may find some of the required packages available in your distro’s package repository as well. Install Yosys and OpenFPGALoader from the official Arch repository with pacman : sudo pacman -S yosys openfpgaloader Now you will need to…