From 428e35404e1235f0f137fd3ead5247f4590f1906 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sun, 16 Sep 2018 13:15:18 +0200 Subject: [PATCH 1/2] Update apio_template --- README.md | 5 ++++- apio_template/install_apio.bat | 3 +-- apio_template/install_apio.sh | 5 ++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1ba9156..256b162 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ The TinyFPGA BX board is a tiny FPGA board with low cost per logic element and convenient USB bitstream programming capability. It measures just 18mm x 36mm and is a perfect fit for breadboards. The heart of the BX board is a iCE40LP8K-CM81 FPGA from Lattice. ## Getting Started on the BX -The [TinyFPGA BX User Guide](https://tinyfpga.com/bx/guide.html) will help you get up and running with the BX. +The [TinyFPGA BX User Guide](https://tinyfpga.com/bx/guide.html) will help you get up and running with the BX. For full details on the ICE40 series of FPGAs you can read the [ICE40 Family Handbook](http://www.latticesemi.com/~/media/LatticeSemi/Documents/Handbooks/iCE40FamilyHandbook.pdf). @@ -30,6 +30,9 @@ This is a template iCEcube2 project for developing your own designs to program o ### icestorm_template This is a template IceStorm project for developing your own designs to program onto the board. It takes care of pin and clock constraints. Just edit the TinyFPGA_BX.v file to add your designs module(s). Use `make` to build your project. +### apio_template +This is a template using [apio](https://github.com/FPGAwars/apio) project for developing your own designs to program onto the board. It takes care of pin and clock constraints. Just edit the TinyFPGA_BX.v file to add your designs module(s). Use `apio build` to build your project and `apio upload` to upload the bitstream to your board. + ## Project Log For more information on the development and production of the B-Series please read and follow the [TinyFPGA B-Series Project Page](https://hackaday.io/project/26848-tinyfpga-b-series) at hackaday.io. diff --git a/apio_template/install_apio.bat b/apio_template/install_apio.bat index 6bc155d..14c91e6 100644 --- a/apio_template/install_apio.bat +++ b/apio_template/install_apio.bat @@ -1,5 +1,4 @@ -pip install apio==0.4.0b3 tinyprog +pip install apio tinyprog apio install system scons icestorm drivers apio drivers --serial-enable @pause - diff --git a/apio_template/install_apio.sh b/apio_template/install_apio.sh index cf1d530..c55cbb8 100644 --- a/apio_template/install_apio.sh +++ b/apio_template/install_apio.sh @@ -1,4 +1,3 @@ -pip install apio==0.4.0b3 tinyprog -apio install system scons icestorm drivers +pip install apio tinyprog +apio install system scons icestorm apio drivers --serial-enable - From 657bd238e5f21b0dd75ee1f7abf865cfea6472d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sun, 16 Sep 2018 13:27:02 +0200 Subject: [PATCH 2/2] Add iverilog in the install_apio scripts --- apio_template/install_apio.bat | 2 +- apio_template/install_apio.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apio_template/install_apio.bat b/apio_template/install_apio.bat index 14c91e6..7ff133c 100644 --- a/apio_template/install_apio.bat +++ b/apio_template/install_apio.bat @@ -1,4 +1,4 @@ pip install apio tinyprog -apio install system scons icestorm drivers +apio install system scons icestorm iverilog drivers apio drivers --serial-enable @pause diff --git a/apio_template/install_apio.sh b/apio_template/install_apio.sh index c55cbb8..56c4091 100644 --- a/apio_template/install_apio.sh +++ b/apio_template/install_apio.sh @@ -1,3 +1,3 @@ pip install apio tinyprog -apio install system scons icestorm +apio install system scons icestorm iverilog apio drivers --serial-enable