0000-icicle-edu_fpga.patch

mail@pastecode.io avatar
unknown
diff
4 years ago
1.1 kB
3
Indexable
Never
Add patch to support EDU CIAA FPGA board

 Signed-off-by: Martin Ribelotta <martinribelotta@gmail.com>

diff --git a/boards/ice40-edu-fpga-defines.sv b/boards/ice40-edu-fpga-defines.sv
new file mode 100644
index 0000000..b1ee4a3
--- /dev/null
+++ b/boards/ice40-edu-fpga-defines.sv
@@ -0,0 +1,2 @@
+// Defines for iCE40-HX8K breakout board
+//`define SPI_FLASH
diff --git a/boards/ice40-edu-fpga.mk b/boards/ice40-edu-fpga.mk
new file mode 100644
index 0000000..3dd699c
--- /dev/null
+++ b/boards/ice40-edu-fpga.mk
@@ -0,0 +1,6 @@
+ARCH     = ice40
+SPEED    = hx
+DEVICE   = 8k
+PACKAGE  = tq144:4k
+FREQ_OSC = 12
+PROGMEM  = ram
diff --git a/boards/ice40-edu-fpga.pcf b/boards/ice40-edu-fpga.pcf
new file mode 100644
index 0000000..f5bad10
--- /dev/null
+++ b/boards/ice40-edu-fpga.pcf
@@ -0,0 +1,15 @@
+set_io clk       94
+set_io flash_clk 70
+set_io flash_csn 71
+set_io flash_io0 67
+set_io flash_io1 68
+set_io leds[0]   1
+set_io leds[1]   2
+set_io leds[2]   3
+set_io leds[3]   4
+set_io leds[4]   104
+set_io leds[5]   105
+set_io leds[6]   106
+set_io leds[7]   107
+set_io uart_rx   55
+set_io uart_tx   56