Tang Nano development boards provide an affordable and accessible entry point into FPGA development. This guide will walk you through everything you need to get started.

Choosing Your Tang Nano Board

Three main options are available: Tang Nano 1K (GW1N-1, ~$8) - best for beginners and simple projects. Tang Nano 4K (GW1N-4, ~$15) - more resources for complex projects with LCD interface. Tang Nano 9K (GW1NR-9, ~$18) - video applications with HDMI and camera interface.

Software Installation

Step 1: Download Gowin Cloud Designer

Visit Gowin Semiconductor's website and download the latest version of Gowin Cloud Designer (GCD). The software is free and supports Windows and Linux.

Step 2: Install USB Drivers

Windows users need to install USB drivers for the onboard programmer. The driver installer is included with GCD. Linux users may need to add udev rules for USB device access.

Step 3: Verify Installation

Connect your Tang Nano board via USB-C cable. Open GCD and check that the programmer can detect the board (Tools > Programmer).

Your First Project: LED Blink

Create Project

  • File > New > FPGA Project. 2. Select your device (e.g., GW1N-LV1QN48C6/I5 for Tang Nano 1K). 3. Choose project location and name.
  • Write Verilog Code

    Create a simple LED blink module with counter-based timing. Target the onboard 24MHz clock and drive one of the user LEDs.

    Synthesize and Program

  • Run synthesis (Processing > Synthesize). 2. Run place and route (Processing > Place & Route). 3. Generate bitstream (Processing > Generate Bitstream). 4. Program device (Tools > Programmer).
  • Expanding Your Skills

    Once you've mastered the basics, try these projects: Button debouncing and edge detection, UART serial communication, Seven-segment display driving, PWM generation for LED dimming, Simple state machines.

    Resources and Support

    Official Gowin documentation, Community forums and GitHub repositories, Video tutorials on YouTube, Example projects included with GCD.