element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
FPGA
  • Technologies
  • More
FPGA
Blog Sipeed Lichee Tang Nano 4K Gowin FPGA - Board review.
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
FPGA requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: maxpowerr
  • Date Created: 19 Jul 2022 11:24 PM Date Created
  • Views 35071 views
  • Likes 11 likes
  • Comments 3 comments
  • fpga
  • sipeed
  • gowin
Related
Recommended

Sipeed Lichee Tang Nano 4K Gowin FPGA - Board review.

maxpowerr
maxpowerr
19 Jul 2022

1. Introduction

While browsing the Internet, I came across one interesting FPGA board. The board has a GW1NSR-LV4C FPGA chip from the Chinese company GoWin Semiconductor Corp, this company was founded in 2014. The headquarters and main development office is located in China. Also, the board was equipped with a DVP camera interface and an HDMI interface, a built-in USB-JTAG debugger and a Cortex-M3 core with 4608 LUT. In addition, this board had a very tempting price of $14, so I decided to buy it for my experiments.

2. Board Description

The board came to me in a transparent plastic case inside which were two pin strips, a USB Type-C wire and the board itself.

Sipeed Lichee Tang Nano 4K GowinSipeed Lichee Tang Nano 4K GowinSipeed Lichee Tang Nano 4K Gowin

Tang Nano 4K Board Specifications:

Hardware_Overview

Tang Nano 4K Specifications

Tang Nano 4K Board Pinout Diagram

All documents for this board are located here at this link: Board Manual

3. IDE License

In order to work with this board, you need to download and install the GOWIN EDA development environment. But here various difficulties may arise. Therefore, I will write in detail how to do it. I'll show you how to install a development environment for Windows, but there are versions for LInux as well.

   1. Register on the website www.gowinsemi.com

        Register_Gowinsemi

   2. Downloading the GOWIN EDA development environment.

        Gowin EDA Download

    There are two versions (at the time of publication of the article):

  • Gowin V1.9.8.03 Education Edition is a heavily cut version for educational institutions. Does not require a license.
  • Gowin V1.9.8.06 Standard Edition is a standard full-featured item. Requires a license. The license is free, but it is impossible to get it on the official site. The form on the site does not work.

   3. How to get a license. There are several options.

    a) There is a so-called floating license. The server ip and port are shown below. But she has two drawbacks. The first disadvantage of the Float license is only support IDE version before 1.9.8 and the second disadvantage is that it requires a permanent connection to the network to use it.

      Float license

    b) The second way is to find an official representative company that can issue a license. One of these representatives is Sipeed, which I contacted. Here is a link to the form and email address where you can send an email: https://wiki.sipeed.com/hardware/en/tang/Tang-Nano-Doc/install-the-ide.html#Get-license-from-sipeed

     Get_License

But there is one peculiarity here. There is a column in the form where you need to specify the MAC address of your network card, otherwise the license will not work. For many, this can be intimidating for security reasons. Since the MAC address is a unique identifier assigned to each network card. In addition, if you want to install the IDE on another computer and work on it, you will not be able to do this.

But there is one way to avoid this. In the device manager in Network adapters(1), you need to select a Network card(2) and press the right mouse button and select Properties(3) from the pop-up menu.

      Device Maneger

In the properties window of the network card, go to the Advanced(1) tab, select the Network Address(2) item and in the right part, the Value(3) item will appear where you can enter any MAC address.

      Network Address

After filling out the form and sending it to the specified e-mail address, in a few days you will receive an email containing two license files, one license for the version of the IDE below 1.9.8 and the other for the version above 1.9.8. These licenses are issued for a period of one year.

      License

4. IDE Overview

Gowin EDA is an easy-to-use IDE that provides a one-stop solution from design entry to validation. The IDE uses its own Gowin Synthesis to synthesize projects. As tools there are:

  • Programmer - to download the bitstream files to the chip.(SUG502)
  • IP Core Generator - is used to generate hard and soft IP addresses that you can call to implement the required functionality.(SUG100E)
  • Analysis Oscilloscope - it is a digital signal analyzer.(SUG114)
  • Physical Constraints Editor (Gowin FloorPlanner) - reading and editing the attributes and locations of I/O, Primitive, Block (BSRAM and DSP). It also supports the generation of new placement and constraints files according to your configuration. These files define the I/O attributes, primitives and locations, etc.(SUG935E)
  • Timing Constraints Editor - supports multiple timing constraints commands, including clock constraints, I/O constraints, path constraints, and clock report editing.(SUG940E)
  • Schematic Viewer - Schematic Viewer uses common component symbols to build circuits, including adders, multipliers, registers, and gates, non-gates, and inverters, etc.(SUG100E)

I will not focus on the interface, it is described in sufficient detail in the documentation(SUG100E). We find an example of blinking an LED and assemble it. Examples can be found at: https://github.com/sipeed/TangNano-4K-example. There are several examples such as flashing an LED, outputting an image from a camera connected to a DVP to HDMI, and outputting a test image via HDMI. Since flashing the LED is too boring and I don't have a camera, I decided to choose the third option for demonstration.

   GitHub Example

We open the example and see on the Design (1) tab the files of our project and in the Design Summaru (2) window a brief description of our microcircuit.

   image

On the Process tab, click Synthesize(1). We look at the console (3) and make sure that the synthesis was successful. You can also open Synthesis Report(1) and see a detailed report. I highlighted only the summary report(2) in which you can see that only 459 logic elements are used, which is only 10%.

   image

Next, click the Place & Route(1) item and also look at the console (3) and make sure that the process went well. There is also a detailed report(2) on the placement process here.

   image

We can also look at the FloorPlanner(1) item on the Process(2) tab and see what elements are being used.

   image

To do this, in the FloorPlanner window in the Chip Array tab, right-click and select Show Multi-View.

   image

And we will see how the logical elements were used.

   image

Next, to upload the finished project file to the board. Click on Program Device.

   image

The programmer window opens. It is already configured by default on our FPGA chip. Click the Programm icon and at the bottom make sure that the download process was successful.

Difficulties may arise here due to a long cable or USB port. I did not detect a cable inserted into the USB on the front panel of the system unit. When I plugged the cable into the motherboard's USB port, everything worked.

   image

After uploading the file to the board, we connect the HDMI cable to the TV and observe the result.

   image

 

Summary

The board is an interesting very cheap and efficient chip. I liked the development environment, it's quite fast. All examples worked great. I also liked the presence of a DVP interface for the camera and an HDMI output. I have a couple of projects where this board can be applied, so I will continue to try to experiment with it.

  • Sign in to reply

Top Comments

  • michaelkellett
    michaelkellett over 2 years ago +1
    You can get this board and its siblings from Aliexpress: www.aliexpress.com/.../1005003152104886.html The bundles of the Nano 9k with LCD look attractive, as well as the plain board. The FPGA on…
  • Crusty
    Crusty over 1 year ago

    For any experimenter just starting out on FPGA development this can be a difficult board to connect to your computers USB output to programme.

    After many failed attempts on Windows OS I finally used an RPi 4 and LushayLabs open FPGA environment which can be setup on Visual Studio Code. After a great deal of problems I have finally got the Tang Nano 9k to load. It appears that the tang Nano appreciates being plugged into a powered USB hub after which OPENFPGALOADER found the device and programmed it with led counter example. It's taken me a year to track this down so I hope it can help others. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 2 years ago

    You can get this board and its siblings from Aliexpress:

    www.aliexpress.com/.../1005003152104886.html

    The bundles of the Nano 9k with LCD look attractive, as well as the plain board.

    The FPGA on the 4k is interesting in that it is the cheapest fpga based SOC available. It's a Cortex M3 with a real FPGA.

    Gowin's documentation can be a bit lacking - you may need to plough  through a lot of stuff, and even reverse engineer example code, to get to (for example) the internal connections of FPGA to built in RAM.

    SInce it so hard to get parts and X seem to have given up on low cost parts it's probably wirth the effort.

    MK

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jc2048
    jc2048 over 2 years ago

    Thank you for the useful blog. That's a very interesting board for the price.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube