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/
-
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 thegowin_Synplifypro_????????????.lic
licence file. -
In GOWIN YunYuan IDE, set the local licence file to the other
gowin_????????????.lic
licence file (not the same as the previous licence file). -
Set the FPGA device as follows:
-
Our demo consists of a single Verilog file
demo.v
: -
Run the
Synthesize
step. Open theFloorPlanner
and set the Ports to the following Locations (i.e. the FPGA pin numbers) -
Run the
Place & Route
step, thenProgram Device
. Go to theCable Settings
screen and clickQuery
. Make sure that the USB cable is connected AND the dev board is powered up via the AC adapter. -
Click the
Program
button to copy the program into static RAM. TheDone
LED lights up and the demo code starts running, flashing the 4 LEDs at the bottom edge of the dev board.