tuna-f1sh / ws2812-core

verilog core for ws2812 leds

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WS2812 core

very simple WS2812 LED driver written in Verilog. Demonstrates timing is working.

  • Parameter NUM_LEDS sets the number of LEDs in the chain (up to 255)
  • Data is RGB format, 24 bits.
  • Data for each LED is loaded with the write signal
  • expects clock to be 12 MHz

ws2812

Makefile

make debug

Use iverilog to run the testbench and show the results with gtkwave

gtkwave

make formal

Use symbiyosys to formally prove certain aspects of the core

make prog

Synthesise and program bitstream to 8k dev board.

About

verilog core for ws2812 leds


Languages

Language:Verilog 91.3%Language:Makefile 8.7%