Skip to content

Instantly share code, notes, and snippets.

View cibomahto's full-sized avatar

Matthew Mets cibomahto

View GitHub Profile
@cibomahto
cibomahto / Makefile
Created November 30, 2018 06:33
"Trammell Mode" RGB blink pattern for UPDuino v2.0
chip.bin: chip.v blink.v upduino_v2.pcf
yosys -q -p "synth_ice40 -blif chip.blif" chip.v blink.v correction_lut.v
arachne-pnr -d 5k -P sg48 -p upduino_v2.pcf chip.blif -o chip.txt
icepack chip.txt chip.bin
.PHONY: flash
flash:
iceprog chip.bin
.PHONY: clean