Skip to content

lupyuen/gowin-blink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gowin-blink

Blink demo for GOWIN FPGA dev kit DK-START-GW1N4, based on GW1N-4 FPGA with 4K LUTs

http://www.gowinsemi.com/support/devkits_detail/1/

  • Check out my tutorial: "Program Your First FPGA With GOWIN GW1N-4"
    https://medium.com/@ly.lee/program-your-first-fpga-with-gowin-gw1n-4-b0d5c22b9fea

  • Download the files in this repo and open fpga_project in Gowin YunYuan IDE

  • Verilog code was reproduced from "SUG100-1.2E_Gowin YunYuan Software User Guide"

  • Floorplanner config based on "DK-START-GW1N4 User Guide" and "DK-START-GW1N4开发板原理图"

  • Official docs are at http://www.gowinsemi.com/support/database/


Programming the GOWIN FPGA

  1. Obtain a free developer licence from GOWIN. You will receive 2 licence files. Set the LM_LICENSE_FILE environment variable to the full path of the gowin_Synplifypro_????????????.lic licence file.

  2. In GOWIN YunYuan IDE, set the local licence file to the other gowin_????????????.lic licence file (not the same as the previous licence file).

  3. Set the FPGA device as follows:

  4. Our demo consists of a single Verilog file demo.v:

  5. Run the Synthesize step. Open the FloorPlanner and set the Ports to the following Locations (i.e. the FPGA pin numbers)

  6. Run the Place & Route step, then Program Device. Go to the Cable Settings screen and click Query. Make sure that the USB cable is connected AND the dev board is powered up via the AC adapter.

  7. Click the Program button to copy the program into static RAM. The Done LED lights up and the demo code starts running, flashing the 4 LEDs at the bottom edge of the dev board.

About

Blink demo for GOWIN FPGA dev kit DK-START-GW1N4

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published