DEV Community

Cover image for Developing for Sipeed Tang Nano FPGA Board on my Manjaro Linux machine

Developing for Sipeed Tang Nano FPGA Board on my Manjaro Linux machine

Love to hack on anything low level: FPGAs, device drivers, bare metal, game engines, microcontrollers. (he/him)
・3 min read


From the view point of a electronics hobbyist and maker, all the FPGA development environments I've tried so far has been heavily stuck in the stone age. Or at least it feels like that when compared to much more user and hobbyist friendly devices such as Arduinos, ESP32s etc. Not only do they have a thriving community, the tooling itself is free to use and does not require any license.

This is not so much so in the world of FPGAs. However, the new-ish Sipeed Tang Nano is at least very cheap so I decided go give it a go. It features a GW1N-LV1QN48C6/I5 with 1152 LUT4s, 1 PLL, and a total of 72Kbit SRAM. Gowin is a young chinese manufacturer of FPGAs. I also got the TFT screen to go along with it.

For all my daily work I use Manjaro Linux, but this diary should be applicable to all Linux distros. :)


Lets first get the tedious documentation out of the way. This is where I fetched all the documentation I could find:

Some useful github repos:

Sipeed wiki:

The IDE can be downloaded here (currently named "云源软件 for linux(V1.9.7.06Beta,综合器仅含GowinSynthesis)"):
Direct link:

There are various documents and tools hosted here:
Though the site is very slow and not user friendly, so you could instead get them from my repo :)


Unfortunately, their IDE requires a license. In my experience the node locked ("Local Only") is the easiest one to set up, especially on a Linux machine, as opposed to a floating license ("Shared type"), which requires a floating license server to be configured and running. The Sipeed documentation states that the intended way to get the IDE running is to use their license that they obtained from Gowin and spoof a local MAC address in order to fool the license check. This is probably a license violation, and not at all user friendly. I did not bother with that approach, although one might find success in following eg. this tutorial to add a dummy network interface, and not muck up the computer configuration.

A simpler way is to apply for a license directly with Gowin. The computer MAC address can be found with ip link show and has the format 12:34:56:78:9a:bc. It took 24 hours before I got a reply back from Gowin with the license. This is, in my opinion, the easier route, although they seem to have an eager sales department, given the number of email replies they sent me.


After obtaining the license, I started the IDE and pointed to the downloaded license file. When trying to run the IDE I had to point to the libraries distributed with their Programmer tool, using this command: LD_LIBRARY_PATH=Programmer/bin IDE/bin/gw_ide This worked, and to my amazement they have done away with the Synplify synthesizer! I think this is a good step towards freeing up the world of FPGA development.


An IDE up and running concludes this first part of my Sipeed dev diary. My goal is to make this FPGA into a tiny graphics card interfacing the TFT screen. Let me know any FPGAs you actually think are maker friendly :)

Discussion (0)