Coder Social home page Coder Social logo

tangnano9k-spinal.g8's Introduction

tangnano9k-spinal.g8

A Giter8 template of a simple Spinal project, for Tang Nano 9K board!

SpinalHDL + Tang Nano 9K!

  • An demo project in template(yes, Blinky), ready to run and flash
  • Build script for Linux, get all done under shell
    • Demonstrate the usage of gw_sh
  • Generate a project(.gprj) for Gowin IDE (expiremental)

Usage

requires sbt

$ sbt new andelf/tangnano9k-spinal.g8
[info] welcome to sbt 1.5.7 (N/A Java 17.0.1)
[info] set current project to new (in build file:/tmp/sbt_b9087229/new/)

A template to create a simple SpinalHDL project

name [My Spinal Project]: Blinky
classname [Blinky]:
version [0.1.0-SNAPSHOT]:
package [example.hello]: com.example

Template applied in /home/user/FPGA_Projects/./blinky

$ cd blinky
$ sbt "runMain com.example.Main"  # generate verilog under rtl/

Then you can open Blinky.gprj with Gowin IDE!

Or under Linux(refer /path/to/project/README.md):

$ make  # translate verilog, synth, PnR
$ make flash  # requires openFPGALoader

Non-IDE yosys + nextpnr

$ sbt new andelf/tangnano9k-spinal.g8 --branch yosys

Template license

Written in 2022 by andelf

To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this template to the public domain worldwide. This template is distributed without any warranty. See http://creativecommons.org/publicdomain/zero/1.0/.

tangnano9k-spinal.g8's People

Contributors

andelf avatar

Stargazers

Kevin Coleman avatar MiaBleem avatar buhe avatar

Watchers

 avatar  avatar  avatar

Forkers

yfblock

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.