sciguy16 / iCEblink40-LP1K-examples

Simple binary counter example for the iCEblink40-LP1K evaluation board, using icestorm and nextpnr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple example Verilog code for the iCEblink40-LP1K evaluation board

This is a simple example program for the Lattice iCE40-LP1K written in Verilog and built using the open source toolchain.

Tools used

Examples

  • counter: Binary counter on the 4 LEDs
  • pwm: 26 kHz, 5-bit PWM ramp on an LED

Usage

  • Build the toolchain from source - I had problems using slightly older versions which were resolved by building them afresh
  • Hit make
  • Run make prog to run iCEburn to flash the board

Notes

It may be helpful to use the following udev rule to allow members of the 'uucp' group to access the board:

# /etc/udev/rules.d/99-iceblink.rules
# Set Group for iCEblink40
SUBSYSTEM=="usb", ATTRS{idVendor}=="1443", ATTRS{idProduct}=="0007", GROUP="uucp"

About

Simple binary counter example for the iCEblink40-LP1K evaluation board, using icestorm and nextpnr

License:MIT License


Languages

Language:Verilog 54.8%Language:Makefile 45.2%