This project shall provide a starting point for new FPGA projects using the Lattice Semiconductor iCEstick Evaluation Kit which incorporates the iCE40HX1K-TQ144.
You can simply fork this repo and use it as the framework for your code.
Additions and bugfixes are very welcome.
Happy Hacking!
Install the community/iverilog
community/gtkwave
aur/verilator
, aur/yosys-git
, aur/arachne-pnr-git
and aur/icestorm-git
packages.
If you have yaourt
installed you can run:
yaourt -S iverilog gtkwave verilator yosys-git arachne-pnr-git icestorm-git
If you don't have permissions to use iceprog
your user may need to be added to the
group owning the device (e.g. uucp
).
If you are running a Debian based system (e.g. Debian, Ubuntu, Linux Mint) yout can run the following commands:
sudo apt-get install build-essential clang bison flex libreadline-dev \
gawk tcl-dev libffi-dev git mercurial graphviz \
xdot pkg-config python python3 libftdi-dev
sudo apt-get install iverilog gtkwave
sudo dnf install make automake gcc gcc-c++ kernel-devel clang bison \
flex readline-devel gawk tcl-devel libffi-devel git mercurial \
graphviz python-xdot pkgconfig python python3 libftdi-devel
sudo dnf install iverilog gtkwave
git clone https://github.com/cliffordwolf/yosys.git yosys
git clone https://github.com/cseed/arachne-pnr.git arachne-pnr
git clone https://github.com/cliffordwolf/icestorm.git icestorm
make -C yosys
make -C arachne-pnr
make -C icestorm
sudo make -C yosys install
sudo make -C arachne-pnr install
sudo make -C icestorm install