aboutsummaryrefslogtreecommitdiffstats
path: root/atk16_fpga/ice40hx8k-evb.pcf
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2024-12-24 13:21:55 +0200
committerJan Tuomi <jan@jantuomi.fi>2024-12-24 13:49:39 +0200
commit822fac04e863623706298c4f44469ad3575667d2 (patch)
tree111a17f487173362b5ff056fa0967c5d889c97f0 /atk16_fpga/ice40hx8k-evb.pcf
parentaa93181f87e12189445342b181b91ea4b51c9434 (diff)
Add initial FPGA setup
Diffstat (limited to 'atk16_fpga/ice40hx8k-evb.pcf')
-rw-r--r--atk16_fpga/ice40hx8k-evb.pcf70
1 files changed, 70 insertions, 0 deletions
diff --git a/atk16_fpga/ice40hx8k-evb.pcf b/atk16_fpga/ice40hx8k-evb.pcf
new file mode 100644
index 0000000..540987f
--- /dev/null
+++ b/atk16_fpga/ice40hx8k-evb.pcf
@@ -0,0 +1,70 @@
+# Whenever possible, pin names have been taken from the official schematic
+# <https://github.com/OLIMEX/iCE40HX8K-EVB/blob/master/HARDWARE/REV-B/iCE40HX8K-EVB_Rev_B.pdf>
+
+# Clock
+set_io -nowarn SYSCLK J3 # GBIN6
+
+# LEDs
+set_io -nowarn LED1 M12
+set_io -nowarn LED2 R16
+
+# Buttons
+set_io -nowarn BUT1 K11
+set_io -nowarn BUT2 P13
+
+# SPI Flash
+set_io -nowarn CDONE M10
+set_io -nowarn CRESET N11
+set_io -nowarn SDO P12
+set_io -nowarn SDI P11
+set_io -nowarn SCK R11
+set_io -nowarn SS_B R12
+
+# Programming connector
+set_io -nowarn RxD L11
+set_io -nowarn TxD T16
+
+# SRAM
+set_io -nowarn SRAM_CS T6
+set_io -nowarn SRAM_OE L9
+set_io -nowarn SRAM_WE T7
+set_io -nowarn SA[0] N6
+set_io -nowarn SA[1] T1
+set_io -nowarn SA[2] P4
+set_io -nowarn SA[3] R2
+set_io -nowarn SA[4] N5
+set_io -nowarn SA[5] T2
+set_io -nowarn SA[6] P5
+set_io -nowarn SA[7] R3
+set_io -nowarn SA[8] R5
+set_io -nowarn SA[9] T3
+set_io -nowarn SA[10] R4
+set_io -nowarn SA[11] M7
+set_io -nowarn SA[12] N7
+set_io -nowarn SA[13] P6
+set_io -nowarn SA[14] M8
+set_io -nowarn SA[15] T5
+set_io -nowarn SA[16] R6
+set_io -nowarn SA[17] P8
+set_io -nowarn SD[0] T8
+set_io -nowarn SD[1] P7
+set_io -nowarn SD[2] N9
+set_io -nowarn SD[3] T9
+set_io -nowarn SD[4] M9
+set_io -nowarn SD[5] R9
+set_io -nowarn SD[6] K9
+set_io -nowarn SD[7] P9
+set_io -nowarn SD[8] R10
+set_io -nowarn SD[9] L10
+set_io -nowarn SD[10] P10
+set_io -nowarn SD[11] N10
+set_io -nowarn SD[12] T10
+set_io -nowarn SD[13] T11
+set_io -nowarn SD[14] T15
+set_io -nowarn SD[15] T14
+
+# JTAG
+set_io -nowarn TDI R14
+set_io -nowarn TMS R15
+set_io -nowarn TCK P14
+set_io -nowarn TDO P15