Giter Club home page Giter Club logo

winzig's Introduction

Winzig Logic Module

Winzig is a programmable logic module designed to be plugged into a solderless breadboard.

Winzig Logic Module

This repo contains schematics, pinouts and example gateware.

Find more information on the Winzig product page.

Programming

There are currently two ways to program Winzig:

  1. Remove the MMOD flash module, connect the Winzig MMOD socket to a device supported by ldprog and program the configuration SRAM. This is useful for development.
  2. Remove the MMOD flash module and program it with a GPIO or SPI-capable device. This is useful when you want the gateware to persist without power.

Blinky

Building the blinky example requires Yosys, nextpnr-ice40 and IceStorm.

Assuming they are installed, you can simply type make to build the gateware, which will be written to output/blinky.bin. You can then use ldprog to write the gateware to the device.

Writing blinky to SRAM

Connect the MMOD socket to the appropriate pins of an ldprog-supported device.

You will need to use the manual reset option (-m) with ldprog and press the Winzig reset button when prompted to do so. Alternatively, you can solder a wire to the CRESET pad on the back of Winzig to automate this step.

$ ldprog -m -s output/blinky.bin

Writing blinky to the flash MMOD

It should be possible to connect and program the MMOD using any device capable of GPIO. If using a Müsli or Raspberry Pi [Pico] you can use the ldprog tool:

$ ldprog -f output/blinky.bin

GPIO Header

Pin Signal
1 GPIO0
2 GPIO1
3 GPIO2
4 GPIO3
5 GPIO4
6 GPIO5
7 GND
8 PWR3V3 (out)

MMOD Socket

The MMOD socket can be used to program the FPGA SRAM or can be populated with an MMOD containing a bitstream.

Pin Signal
6 PWR3V3
5 GND
4 CSPI_SCK
3 CSPI_SI (MISO)
2 CSPI_SO (MOSI)
1 CSPI_SS

winzig's People

Contributors

inc avatar

Stargazers

 avatar Wolfgang Jung avatar  avatar Eli Lipsitz avatar splinedrive avatar Masanori Ogino avatar  avatar

Watchers

James Cloos avatar  avatar Machdyne UG avatar

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.