Skip to content

osresearch/up5k

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2eef12a · May 24, 2021

History

84 Commits
May 24, 2021
Jan 24, 2019
Dec 29, 2018
Dec 29, 2018
Apr 10, 2019
May 24, 2021
Dec 16, 2018
Apr 9, 2019
Apr 9, 2019
Apr 10, 2019
Apr 10, 2019
Apr 10, 2019
Dec 29, 2018
Dec 29, 2018
Jan 24, 2019
Jan 24, 2019
Feb 17, 2019
Feb 17, 2019
Dec 28, 2018
Dec 28, 2018
Dec 28, 2018
Dec 28, 2018
Dec 29, 2018
Dec 29, 2018
Dec 29, 2018
Dec 28, 2018
Dec 28, 2018
Jan 19, 2019
Jan 22, 2019
Dec 17, 2018
Apr 10, 2019
Jan 24, 2019

Repository files navigation

Upduino v2 RGB LEd

Upduino v2 examples with icestorm

Several demos showing how to use the icestorm toolchain with the Upduino (ice40 UltraPlus 5k) FPGA dev board.

Demo Description
blink Flash the RED LED in a pulse-pulse, pulse-pulse pattern
pulse Smoothly ramp the RGB LED through a color change pattern
serial Print a repeating message on the serial port at 3 Mbs
seral-echo Read from the serial port, echo it back at 3 Mbs
spram-demo Read from the serial port, buffer in SPRAM, echo it slowly

To flash them, run sudo make blink.flash. You will probably need to be root to flash the board and restore the /dev/ttyUSB0 device driver after iceprog switches it into SIO mode.

Schematics and pinout

Schematics for the upduino: https://github.com/gtjennings1/UPDuino_v2_0

Upduino v2 pinout by Matt Mets

Note that the upduino_v2.pcf file disagrees with the serial port in the pinout and schematic. The pins were determined through experimentation and seem to work (and the ones in the pinout do not).

UltraPlus 5K overview

Block diagram

Overview: http://www.latticesemi.com/Products/FPGAandCPLD/iCE40UltraPlus

Datasheet: http://www.latticesemi.com/-/media/LatticeSemi/Documents/DataSheets/iCE/iCE40-UltraPlus-Family-Data-Sheet.ashx

DSP Block

The eight DSP blocks can do 16x16 multiply and 32-bit accumulate operations. They can be combined to make 32x32 multipliers, etc.