GithubHelp home page GithubHelp logo

lupyuen / gowin-blink Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 0.0 1.85 MB

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

License: MIT License

Verilog 4.87% Stata 0.01% Forth 74.26% HTML 20.84% Tcl 0.01% Coq 0.01%
fpga gowin dk-start-gw1n4 gw1n-4

gowin-blink's Introduction

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.

gowin-blink's People

Contributors

lupyuen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gowin-blink's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.