From 87146ac924836449077c4744535f8bf149fb4637 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 25 Mar 2018 13:20:35 +0200 Subject: [PATCH 01/21] Added support for Upduino 1,2 and custom daughter board for them. --- app/resources/boards/fpga101/info.json | 12 +++++++ app/resources/boards/fpga101/pinout.json | 1 + app/resources/boards/fpga101/pinout.pcf | 44 +++++++++++++++++++++++ app/resources/boards/fpga101/rules.json | 8 +++++ app/resources/boards/upduino/info.json | 12 +++++++ app/resources/boards/upduino/pinout.json | 1 + app/resources/boards/upduino/pinout.pcf | 38 ++++++++++++++++++++ app/resources/boards/upduino/rules.json | 2 ++ app/resources/boards/upduino2/info.json | 12 +++++++ app/resources/boards/upduino2/pinout.json | 1 + app/resources/boards/upduino2/pinout.pcf | 38 ++++++++++++++++++++ app/resources/boards/upduino2/rules.json | 2 ++ 12 files changed, 171 insertions(+) create mode 100644 app/resources/boards/fpga101/info.json create mode 100644 app/resources/boards/fpga101/pinout.json create mode 100644 app/resources/boards/fpga101/pinout.pcf create mode 100644 app/resources/boards/fpga101/rules.json create mode 100644 app/resources/boards/upduino/info.json create mode 100644 app/resources/boards/upduino/pinout.json create mode 100644 app/resources/boards/upduino/pinout.pcf create mode 100644 app/resources/boards/upduino/rules.json create mode 100644 app/resources/boards/upduino2/info.json create mode 100644 app/resources/boards/upduino2/pinout.json create mode 100644 app/resources/boards/upduino2/pinout.pcf create mode 100644 app/resources/boards/upduino2/rules.json diff --git a/app/resources/boards/fpga101/info.json b/app/resources/boards/fpga101/info.json new file mode 100644 index 000000000..423ae6189 --- /dev/null +++ b/app/resources/boards/fpga101/info.json @@ -0,0 +1,12 @@ +{ + "label": "FPGA 101 Workshop Badge Board", + "datasheet": "https://github.com/mmicko/workshop_badge", + "interface": "FTDI", + "FPGAResources": { + "ffs": 5280, + "luts": 5280, + "pios": 39, + "plbs": 660, + "brams": 30 + } +} diff --git a/app/resources/boards/fpga101/pinout.json b/app/resources/boards/fpga101/pinout.json new file mode 100644 index 000000000..16bacf9d3 --- /dev/null +++ b/app/resources/boards/fpga101/pinout.json @@ -0,0 +1 @@ +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VSYNC", "value": "11"}, {"type": "output", "name": "LCD_HSYNC", "value": "9"}, {"type": "output", "name": "LCD_RESET", "value": "2"}, {"type": "output", "name": "LCD_DAT[7]", "value": "6"}, {"type": "output", "name": "LCD_DAT[6]", "value": "44"}, {"type": "output", "name": "LCD_DAT[5]", "value": "4"}, {"type": "output", "name": "LCD_DAT[4]", "value": "3"}, {"type": "output", "name": "LCD_DAT[3]", "value": "48"}, {"type": "output", "name": "LCD_DAT[2]", "value": "45"}, {"type": "output", "name": "LCD_DAT[1]", "value": "47"}, {"type": "output", "name": "LCD_DAT[0]", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "input", "name": "BUTTONS[0]", "value": "23"}, {"type": "input", "name": "BUTTONS[1]", "value": "25"}, {"type": "input", "name": "BUTTONS[2]", "value": "26"}, {"type": "input", "name": "BUTTONS[3]", "value": "27"}, {"type": "input", "name": "BUTTONS[4]", "value": "21"}, {"type": "input", "name": "BUTTONS[5]", "value": "12"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "inout", "name": "PMOD_0", "value": "32"}, {"type": "inout", "name": "PMOD_1", "value": "31"}, {"type": "inout", "name": "PMOD_2", "value": "34"}, {"type": "inout", "name": "PMOD_3", "value": "43"}, {"type": "inout", "name": "PMOD_4", "value": "36"}, {"type": "inout", "name": "PMOD_5", "value": "42"}, {"type": "inout", "name": "PMOD_6", "value": "38"}, {"type": "inout", "name": "PMOD_7", "value": "28"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/fpga101/pinout.pcf b/app/resources/boards/fpga101/pinout.pcf new file mode 100644 index 000000000..500423493 --- /dev/null +++ b/app/resources/boards/fpga101/pinout.pcf @@ -0,0 +1,44 @@ +# 12 MHz clock +set_io --warn-no-port CLK 35 # input + +# LCD connector +set_io --warn-no-port LCD_CLK 18 # output +set_io --warn-no-port LCD_DEN 19 # output +set_io --warn-no-port LCD_VSYNC 11 # output +set_io --warn-no-port LCD_HSYNC 9 # output +set_io --warn-no-port LCD_RESET 2 # output +set_io --warn-no-port LCD_DAT[7] 6 # output +set_io --warn-no-port LCD_DAT[6] 44 # output +set_io --warn-no-port LCD_DAT[5] 4 # output +set_io --warn-no-port LCD_DAT[4] 3 # output +set_io --warn-no-port LCD_DAT[3] 48 # output +set_io --warn-no-port LCD_DAT[2] 45 # output +set_io --warn-no-port LCD_DAT[1] 47 # output +set_io --warn-no-port LCD_DAT[0] 46 # output +set_io --warn-no-port LCD_PWM 13 # output + +# Buttons +set_io --warn-no-port BUTTONS[0] 23 # input +set_io --warn-no-port BUTTONS[1] 25 # input +set_io --warn-no-port BUTTONS[2] 26 # input +set_io --warn-no-port BUTTONS[3] 27 # input +set_io --warn-no-port BUTTONS[4] 21 # input +set_io --warn-no-port BUTTONS[5] 12 # input + +# Audio jack +set_io --warn-no-port AUDIO 37 # output + +# PMOD connector +set_io --warn-no-port PMOD_0 32 +set_io --warn-no-port PMOD_1 31 +set_io --warn-no-port PMOD_2 34 +set_io --warn-no-port PMOD_3 43 +set_io --warn-no-port PMOD_4 36 +set_io --warn-no-port PMOD_5 42 +set_io --warn-no-port PMOD_6 38 +set_io --warn-no-port PMOD_7 28 + +# RGB LED Driver +set_io --warn-no-port LED_RED_N 39 # output +set_io --warn-no-port LED_GRN_N 40 # output +set_io --warn-no-port LED_BLU_N 41 # output diff --git a/app/resources/boards/fpga101/rules.json b/app/resources/boards/fpga101/rules.json new file mode 100644 index 000000000..ebe4763cf --- /dev/null +++ b/app/resources/boards/fpga101/rules.json @@ -0,0 +1,8 @@ +{ + "input" : [ + { + "port" : "clk", + "pin": "35" + } + ] +} \ No newline at end of file diff --git a/app/resources/boards/upduino/info.json b/app/resources/boards/upduino/info.json new file mode 100644 index 000000000..f3a6c2c43 --- /dev/null +++ b/app/resources/boards/upduino/info.json @@ -0,0 +1,12 @@ +{ + "label": "Gnarly Grey UPDuino Board", + "datasheet": "https://github.com/gtjennings1/UPDuino_v1_0", + "interface": "FTDI", + "FPGAResources": { + "ffs": 5280, + "luts": 5280, + "pios": 39, + "plbs": 660, + "brams": 30 + } +} diff --git a/app/resources/boards/upduino/pinout.json b/app/resources/boards/upduino/pinout.json new file mode 100644 index 000000000..4bb1d9fae --- /dev/null +++ b/app/resources/boards/upduino/pinout.json @@ -0,0 +1 @@ +[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/upduino/pinout.pcf b/app/resources/boards/upduino/pinout.pcf new file mode 100644 index 000000000..46de65b23 --- /dev/null +++ b/app/resources/boards/upduino/pinout.pcf @@ -0,0 +1,38 @@ +# Left side +set_io --warn-no-port PIN_2 2 +set_io --warn-no-port PIN_46 46 +set_io --warn-no-port PIN_47 47 +set_io --warn-no-port PIN_45 45 +set_io --warn-no-port PIN_48 48 +set_io --warn-no-port PIN_3 3 +set_io --warn-no-port PIN_4 4 +set_io --warn-no-port PIN_44 44 +set_io --warn-no-port PIN_6 6 +set_io --warn-no-port PIN_9 9 +set_io --warn-no-port PIN_11 11 +set_io --warn-no-port PIN_18 18 +set_io --warn-no-port PIN_19 19 +set_io --warn-no-port PIN_13 13 +set_io --warn-no-port PIN_21 21 +set_io --warn-no-port PIN_12 12 + +# Right side +set_io --warn-no-port PIN_28 28 +set_io --warn-no-port PIN_38 38 +set_io --warn-no-port PIN_42 42 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_43 43 +set_io --warn-no-port PIN_34 34 +set_io --warn-no-port PIN_37 37 +set_io --warn-no-port PIN_31 31 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_32 32 +set_io --warn-no-port PIN_27 27 +set_io --warn-no-port PIN_26 26 +set_io --warn-no-port PIN_25 25 +set_io --warn-no-port PIN_23 23 + +# RGB LED Driver +set_io --warn-no-port LED_RED_N 39 # output +set_io --warn-no-port LED_GRN_N 40 # output +set_io --warn-no-port LED_BLU_N 41 # output diff --git a/app/resources/boards/upduino/rules.json b/app/resources/boards/upduino/rules.json new file mode 100644 index 000000000..7a73a41bf --- /dev/null +++ b/app/resources/boards/upduino/rules.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file diff --git a/app/resources/boards/upduino2/info.json b/app/resources/boards/upduino2/info.json new file mode 100644 index 000000000..6278cec40 --- /dev/null +++ b/app/resources/boards/upduino2/info.json @@ -0,0 +1,12 @@ +{ + "label": "Gnarly Grey UPDuino v2.0 Board", + "datasheet": "https://github.com/gtjennings1/UPDuino_v1_0", + "interface": "FTDI", + "FPGAResources": { + "ffs": 5280, + "luts": 5280, + "pios": 39, + "plbs": 660, + "brams": 30 + } +} diff --git a/app/resources/boards/upduino2/pinout.json b/app/resources/boards/upduino2/pinout.json new file mode 100644 index 000000000..4bb1d9fae --- /dev/null +++ b/app/resources/boards/upduino2/pinout.json @@ -0,0 +1 @@ +[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/upduino2/pinout.pcf b/app/resources/boards/upduino2/pinout.pcf new file mode 100644 index 000000000..46de65b23 --- /dev/null +++ b/app/resources/boards/upduino2/pinout.pcf @@ -0,0 +1,38 @@ +# Left side +set_io --warn-no-port PIN_2 2 +set_io --warn-no-port PIN_46 46 +set_io --warn-no-port PIN_47 47 +set_io --warn-no-port PIN_45 45 +set_io --warn-no-port PIN_48 48 +set_io --warn-no-port PIN_3 3 +set_io --warn-no-port PIN_4 4 +set_io --warn-no-port PIN_44 44 +set_io --warn-no-port PIN_6 6 +set_io --warn-no-port PIN_9 9 +set_io --warn-no-port PIN_11 11 +set_io --warn-no-port PIN_18 18 +set_io --warn-no-port PIN_19 19 +set_io --warn-no-port PIN_13 13 +set_io --warn-no-port PIN_21 21 +set_io --warn-no-port PIN_12 12 + +# Right side +set_io --warn-no-port PIN_28 28 +set_io --warn-no-port PIN_38 38 +set_io --warn-no-port PIN_42 42 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_43 43 +set_io --warn-no-port PIN_34 34 +set_io --warn-no-port PIN_37 37 +set_io --warn-no-port PIN_31 31 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_32 32 +set_io --warn-no-port PIN_27 27 +set_io --warn-no-port PIN_26 26 +set_io --warn-no-port PIN_25 25 +set_io --warn-no-port PIN_23 23 + +# RGB LED Driver +set_io --warn-no-port LED_RED_N 39 # output +set_io --warn-no-port LED_GRN_N 40 # output +set_io --warn-no-port LED_BLU_N 41 # output diff --git a/app/resources/boards/upduino2/rules.json b/app/resources/boards/upduino2/rules.json new file mode 100644 index 000000000..7a73a41bf --- /dev/null +++ b/app/resources/boards/upduino2/rules.json @@ -0,0 +1,2 @@ +{ +} \ No newline at end of file From bef3e73ea58cf3e36626a809be4ebee7add9cd16 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 25 Mar 2018 13:50:47 +0200 Subject: [PATCH 02/21] Adde iCEBreaker --- app/resources/boards/iCEBreaker/info.json | 12 ++++ app/resources/boards/iCEBreaker/pinout.json | 1 + app/resources/boards/iCEBreaker/pinout.pcf | 64 +++++++++++++++++++++ app/resources/boards/iCEBreaker/rules.json | 8 +++ 4 files changed, 85 insertions(+) create mode 100644 app/resources/boards/iCEBreaker/info.json create mode 100644 app/resources/boards/iCEBreaker/pinout.json create mode 100644 app/resources/boards/iCEBreaker/pinout.pcf create mode 100644 app/resources/boards/iCEBreaker/rules.json diff --git a/app/resources/boards/iCEBreaker/info.json b/app/resources/boards/iCEBreaker/info.json new file mode 100644 index 000000000..3be8984cb --- /dev/null +++ b/app/resources/boards/iCEBreaker/info.json @@ -0,0 +1,12 @@ +{ + "label": "ICEBreaker FPGA", + "datasheet": "https://github.com/icebreaker-fpga/icebreaker", + "interface": "FTDI", + "FPGAResources": { + "ffs": 5280, + "luts": 5280, + "pios": 39, + "plbs": 660, + "brams": 30 + } +} diff --git a/app/resources/boards/iCEBreaker/pinout.json b/app/resources/boards/iCEBreaker/pinout.json new file mode 100644 index 000000000..91f4420c5 --- /dev/null +++ b/app/resources/boards/iCEBreaker/pinout.json @@ -0,0 +1 @@ +[{"type": "inout", "name": "CLK", "value": "35"}, {"type": "inout", "name": "RX", "value": "6"}, {"type": "inout", "name": "TX", "value": "9"}, {"type": "inout", "name": "BTN_N", "value": "10"}, {"type": "inout", "name": "LEDR_N", "value": "11"}, {"type": "inout", "name": "LEDG_N", "value": "37"}, {"type": "inout", "name": "LED_RED_N", "value": "39"}, {"type": "inout", "name": "LED_GRN_N", "value": "40"}, {"type": "inout", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}, {"type": "inout", "name": "P1A1", "value": "4"}, {"type": "inout", "name": "P1A2", "value": "2"}, {"type": "inout", "name": "P1A3", "value": "47"}, {"type": "inout", "name": "P1A4", "value": "45"}, {"type": "inout", "name": "P1A7", "value": "3"}, {"type": "inout", "name": "P1A8", "value": "48"}, {"type": "inout", "name": "P1A9", "value": "46"}, {"type": "inout", "name": "P1A10", "value": "44"}, {"type": "inout", "name": "P1B1", "value": "43"}, {"type": "inout", "name": "P1B2", "value": "38"}, {"type": "inout", "name": "P1B3", "value": "34"}, {"type": "inout", "name": "P1B4", "value": "31"}, {"type": "inout", "name": "P1B7", "value": "42"}, {"type": "inout", "name": "P1B8", "value": "36"}, {"type": "inout", "name": "P1B9", "value": "32"}, {"type": "inout", "name": "P1B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}, {"type": "inout", "name": "LED1", "value": "27"}, {"type": "inout", "name": "LED2", "value": "25"}, {"type": "inout", "name": "LED3", "value": "21"}, {"type": "inout", "name": "BTN2", "value": "19"}, {"type": "inout", "name": "LED5", "value": "26"}, {"type": "inout", "name": "LED4", "value": "23"}, {"type": "inout", "name": "BTN1", "value": "20"}, {"type": "inout", "name": "BTN3", "value": "18"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker/pinout.pcf b/app/resources/boards/iCEBreaker/pinout.pcf new file mode 100644 index 000000000..c6837d78c --- /dev/null +++ b/app/resources/boards/iCEBreaker/pinout.pcf @@ -0,0 +1,64 @@ +# 12 MHz clock +set_io --warn-no-port CLK 35 + +# RS232 +set_io --warn-no-port RX 6 +set_io --warn-no-port TX 9 + +# LEDs and Button +set_io --warn-no-port BTN_N 10 +set_io --warn-no-port LEDR_N 11 +set_io --warn-no-port LEDG_N 37 + +# RGB LED Driver +set_io --warn-no-port LED_RED_N 39 +set_io --warn-no-port LED_GRN_N 40 +set_io --warn-no-port LED_BLU_N 41 + +# SPI Flash +set_io --warn-no-port FLASH_SCK 15 +set_io --warn-no-port FLASH_SSB 16 +set_io --warn-no-port FLASH_IO0 14 +set_io --warn-no-port FLASH_IO1 17 +set_io --warn-no-port FLASH_IO2 12 +set_io --warn-no-port FLASH_IO3 13 + +# PMOD 1A +set_io --warn-no-port P1A1 4 +set_io --warn-no-port P1A2 2 +set_io --warn-no-port P1A3 47 +set_io --warn-no-port P1A4 45 +set_io --warn-no-port P1A7 3 +set_io --warn-no-port P1A8 48 +set_io --warn-no-port P1A9 46 +set_io --warn-no-port P1A10 44 + +# PMOD 1B +set_io --warn-no-port P1B1 43 +set_io --warn-no-port P1B2 38 +set_io --warn-no-port P1B3 34 +set_io --warn-no-port P1B4 31 +set_io --warn-no-port P1B7 42 +set_io --warn-no-port P1B8 36 +set_io --warn-no-port P1B9 32 +set_io --warn-no-port P1B10 28 + +# PMOD 2 +set_io --warn-no-port P2_1 27 +set_io --warn-no-port P2_2 25 +set_io --warn-no-port P2_3 21 +set_io --warn-no-port P2_4 19 +set_io --warn-no-port P2_7 26 +set_io --warn-no-port P2_8 23 +set_io --warn-no-port P2_9 20 +set_io --warn-no-port P2_10 18 + +# LEDs and Buttons (PMOD 2) +set_io --warn-no-port LED1 27 +set_io --warn-no-port LED2 25 +set_io --warn-no-port LED3 21 +set_io --warn-no-port BTN2 19 +set_io --warn-no-port LED5 26 +set_io --warn-no-port LED4 23 +set_io --warn-no-port BTN1 20 +set_io --warn-no-port BTN3 18 diff --git a/app/resources/boards/iCEBreaker/rules.json b/app/resources/boards/iCEBreaker/rules.json new file mode 100644 index 000000000..ebe4763cf --- /dev/null +++ b/app/resources/boards/iCEBreaker/rules.json @@ -0,0 +1,8 @@ +{ + "input" : [ + { + "port" : "clk", + "pin": "35" + } + ] +} \ No newline at end of file From 774b8d9bbd3ba7a4ecc9dade217361dc7dbefd95 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 25 Mar 2018 15:41:55 +0200 Subject: [PATCH 03/21] Added PID 6014 devices since used on some boards --- app/scripts/services/drivers.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/scripts/services/drivers.js b/app/scripts/services/drivers.js index f132414f7..68b686409 100644 --- a/app/scripts/services/drivers.js +++ b/app/scripts/services/drivers.js @@ -107,6 +107,8 @@ angular.module('icestudio') function enableLinuxDriversFTDI() { var rules = ''; rules += 'ATTRS{idVendor}==\\"0403\\", ATTRS{idProduct}==\\"6010\\", '; + rules += 'MODE=\\"0660\\", GROUP=\\"plugdev\\", TAG+=\\"uaccess\\"\n'; + rules += 'ATTRS{idVendor}==\\"0403\\", ATTRS{idProduct}==\\"6014\\", '; rules += 'MODE=\\"0660\\", GROUP=\\"plugdev\\", TAG+=\\"uaccess\\"'; configureLinuxDrivers([ 'echo \'' + rules + '\' > /etc/udev/rules.d/80-fpga-ftdi.rules' From aa375e7771a282559462f30f9b4e4bdd23719bb1 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 25 Mar 2018 16:35:10 +0200 Subject: [PATCH 04/21] Proper RGB ports --- app/resources/boards/fpga101/pinout.json | 2 +- app/resources/boards/fpga101/pinout.pcf | 6 +++--- app/resources/boards/upduino/pinout.json | 2 +- app/resources/boards/upduino/pinout.pcf | 6 +++--- app/resources/boards/upduino2/pinout.json | 2 +- app/resources/boards/upduino2/pinout.pcf | 6 +++--- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/resources/boards/fpga101/pinout.json b/app/resources/boards/fpga101/pinout.json index 16bacf9d3..a3c5882d8 100644 --- a/app/resources/boards/fpga101/pinout.json +++ b/app/resources/boards/fpga101/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VSYNC", "value": "11"}, {"type": "output", "name": "LCD_HSYNC", "value": "9"}, {"type": "output", "name": "LCD_RESET", "value": "2"}, {"type": "output", "name": "LCD_DAT[7]", "value": "6"}, {"type": "output", "name": "LCD_DAT[6]", "value": "44"}, {"type": "output", "name": "LCD_DAT[5]", "value": "4"}, {"type": "output", "name": "LCD_DAT[4]", "value": "3"}, {"type": "output", "name": "LCD_DAT[3]", "value": "48"}, {"type": "output", "name": "LCD_DAT[2]", "value": "45"}, {"type": "output", "name": "LCD_DAT[1]", "value": "47"}, {"type": "output", "name": "LCD_DAT[0]", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "input", "name": "BUTTONS[0]", "value": "23"}, {"type": "input", "name": "BUTTONS[1]", "value": "25"}, {"type": "input", "name": "BUTTONS[2]", "value": "26"}, {"type": "input", "name": "BUTTONS[3]", "value": "27"}, {"type": "input", "name": "BUTTONS[4]", "value": "21"}, {"type": "input", "name": "BUTTONS[5]", "value": "12"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "inout", "name": "PMOD_0", "value": "32"}, {"type": "inout", "name": "PMOD_1", "value": "31"}, {"type": "inout", "name": "PMOD_2", "value": "34"}, {"type": "inout", "name": "PMOD_3", "value": "43"}, {"type": "inout", "name": "PMOD_4", "value": "36"}, {"type": "inout", "name": "PMOD_5", "value": "42"}, {"type": "inout", "name": "PMOD_6", "value": "38"}, {"type": "inout", "name": "PMOD_7", "value": "28"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}] \ No newline at end of file +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VSYNC", "value": "11"}, {"type": "output", "name": "LCD_HSYNC", "value": "9"}, {"type": "output", "name": "LCD_RESET", "value": "2"}, {"type": "output", "name": "LCD_DAT[7]", "value": "6"}, {"type": "output", "name": "LCD_DAT[6]", "value": "44"}, {"type": "output", "name": "LCD_DAT[5]", "value": "4"}, {"type": "output", "name": "LCD_DAT[4]", "value": "3"}, {"type": "output", "name": "LCD_DAT[3]", "value": "48"}, {"type": "output", "name": "LCD_DAT[2]", "value": "45"}, {"type": "output", "name": "LCD_DAT[1]", "value": "47"}, {"type": "output", "name": "LCD_DAT[0]", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "input", "name": "BUTTONS[0]", "value": "23"}, {"type": "input", "name": "BUTTONS[1]", "value": "25"}, {"type": "input", "name": "BUTTONS[2]", "value": "26"}, {"type": "input", "name": "BUTTONS[3]", "value": "27"}, {"type": "input", "name": "BUTTONS[4]", "value": "21"}, {"type": "input", "name": "BUTTONS[5]", "value": "12"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "inout", "name": "PMOD_0", "value": "32"}, {"type": "inout", "name": "PMOD_1", "value": "31"}, {"type": "inout", "name": "PMOD_2", "value": "34"}, {"type": "inout", "name": "PMOD_3", "value": "43"}, {"type": "inout", "name": "PMOD_4", "value": "36"}, {"type": "inout", "name": "PMOD_5", "value": "42"}, {"type": "inout", "name": "PMOD_6", "value": "38"}, {"type": "inout", "name": "PMOD_7", "value": "28"}, {"type": "output", "name": "LED_GRN_N", "value": "39"}, {"type": "output", "name": "LED_BLU_N", "value": "40"}, {"type": "output", "name": "LED_RED_N", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/fpga101/pinout.pcf b/app/resources/boards/fpga101/pinout.pcf index 500423493..023f94a11 100644 --- a/app/resources/boards/fpga101/pinout.pcf +++ b/app/resources/boards/fpga101/pinout.pcf @@ -39,6 +39,6 @@ set_io --warn-no-port PMOD_6 38 set_io --warn-no-port PMOD_7 28 # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 # output -set_io --warn-no-port LED_GRN_N 40 # output -set_io --warn-no-port LED_BLU_N 41 # output +set_io --warn-no-port LED_GRN_N 39 # output +set_io --warn-no-port LED_BLU_N 40 # output +set_io --warn-no-port LED_RED_N 41 # output \ No newline at end of file diff --git a/app/resources/boards/upduino/pinout.json b/app/resources/boards/upduino/pinout.json index 4bb1d9fae..87a30f01b 100644 --- a/app/resources/boards/upduino/pinout.json +++ b/app/resources/boards/upduino/pinout.json @@ -1 +1 @@ -[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}] \ No newline at end of file +[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_GRN_N", "value": "39"}, {"type": "output", "name": "LED_BLU_N", "value": "40"}, {"type": "output", "name": "LED_RED_N", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/upduino/pinout.pcf b/app/resources/boards/upduino/pinout.pcf index 46de65b23..38c78d43b 100644 --- a/app/resources/boards/upduino/pinout.pcf +++ b/app/resources/boards/upduino/pinout.pcf @@ -33,6 +33,6 @@ set_io --warn-no-port PIN_25 25 set_io --warn-no-port PIN_23 23 # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 # output -set_io --warn-no-port LED_GRN_N 40 # output -set_io --warn-no-port LED_BLU_N 41 # output +set_io --warn-no-port LED_GRN_N 39 # output +set_io --warn-no-port LED_BLU_N 40 # output +set_io --warn-no-port LED_RED_N 41 # output diff --git a/app/resources/boards/upduino2/pinout.json b/app/resources/boards/upduino2/pinout.json index 4bb1d9fae..87a30f01b 100644 --- a/app/resources/boards/upduino2/pinout.json +++ b/app/resources/boards/upduino2/pinout.json @@ -1 +1 @@ -[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}] \ No newline at end of file +[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_GRN_N", "value": "39"}, {"type": "output", "name": "LED_BLU_N", "value": "40"}, {"type": "output", "name": "LED_RED_N", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/upduino2/pinout.pcf b/app/resources/boards/upduino2/pinout.pcf index 46de65b23..38c78d43b 100644 --- a/app/resources/boards/upduino2/pinout.pcf +++ b/app/resources/boards/upduino2/pinout.pcf @@ -33,6 +33,6 @@ set_io --warn-no-port PIN_25 25 set_io --warn-no-port PIN_23 23 # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 # output -set_io --warn-no-port LED_GRN_N 40 # output -set_io --warn-no-port LED_BLU_N 41 # output +set_io --warn-no-port LED_GRN_N 39 # output +set_io --warn-no-port LED_BLU_N 40 # output +set_io --warn-no-port LED_RED_N 41 # output From 945ab3570cf08bd49806f75eae8395145338b19a Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sun, 25 Mar 2018 17:45:13 +0200 Subject: [PATCH 05/21] Added iCEBreaker-bitsy and update iCEBreaker --- .../boards/iCEBreaker-bitsy/info.json | 12 +++++ .../boards/iCEBreaker-bitsy/pinout.json | 1 + .../boards/iCEBreaker-bitsy/pinout.pcf | 50 +++++++++++++++++++ .../boards/iCEBreaker-bitsy/rules.json | 8 +++ app/resources/boards/iCEBreaker/pinout.json | 2 +- app/resources/boards/iCEBreaker/pinout.pcf | 18 +++---- 6 files changed, 81 insertions(+), 10 deletions(-) create mode 100644 app/resources/boards/iCEBreaker-bitsy/info.json create mode 100644 app/resources/boards/iCEBreaker-bitsy/pinout.json create mode 100644 app/resources/boards/iCEBreaker-bitsy/pinout.pcf create mode 100644 app/resources/boards/iCEBreaker-bitsy/rules.json diff --git a/app/resources/boards/iCEBreaker-bitsy/info.json b/app/resources/boards/iCEBreaker-bitsy/info.json new file mode 100644 index 000000000..748c6940e --- /dev/null +++ b/app/resources/boards/iCEBreaker-bitsy/info.json @@ -0,0 +1,12 @@ +{ + "label": "ICEBreaker bitsy FPGA", + "datasheet": "https://github.com/icebreaker-fpga/icebreaker", + "interface": "FTDI", + "FPGAResources": { + "ffs": 5280, + "luts": 5280, + "pios": 39, + "plbs": 660, + "brams": 30 + } +} diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.json b/app/resources/boards/iCEBreaker-bitsy/pinout.json new file mode 100644 index 000000000..40f11f19b --- /dev/null +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.json @@ -0,0 +1 @@ +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "inout", "name": "J7", "value": "46"}, {"type": "inout", "name": "J8", "value": "47"}, {"type": "inout", "name": "J9", "value": "44"}, {"type": "inout", "name": "J10", "value": "48"}, {"type": "inout", "name": "J11", "value": "45"}, {"type": "inout", "name": "J12", "value": "2"}, {"type": "inout", "name": "J13", "value": "46"}, {"type": "inout", "name": "J20", "value": "3"}, {"type": "inout", "name": "J29", "value": "25"}, {"type": "inout", "name": "J30", "value": "23"}, {"type": "inout", "name": "J31", "value": "27"}, {"type": "inout", "name": "J32", "value": "26"}, {"type": "inout", "name": "J33", "value": "28"}, {"type": "inout", "name": "J34", "value": "31"}, {"type": "inout", "name": "J35", "value": "32"}, {"type": "inout", "name": "J36", "value": "34"}, {"type": "inout", "name": "J37", "value": "36"}, {"type": "inout", "name": "J44", "value": "6"}, {"type": "inout", "name": "J45", "value": "9"}, {"type": "inout", "name": "J46", "value": "20"}, {"type": "inout", "name": "J47", "value": "19"}, {"type": "inout", "name": "J48", "value": "18"}, {"type": "inout", "name": "J49", "value": "21"}, {"type": "input", "name": "USB_P", "value": "43"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "input", "name": "USB_N", "value": "42"}, {"type": "input", "name": "BTN_N", "value": "10"}, {"type": "output", "name": "LEDR_N", "value": "11"}, {"type": "output", "name": "LEDG_N", "value": "37"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf new file mode 100644 index 000000000..ab97fb5b1 --- /dev/null +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf @@ -0,0 +1,50 @@ +# 12 MHz clock +set_io --warn-no-port CLK 35 # input + +set_io --warn-no-port J7 46 +set_io --warn-no-port J8 47 +set_io --warn-no-port J9 44 +set_io --warn-no-port J10 48 +set_io --warn-no-port J11 45 +set_io --warn-no-port J12 2 +set_io --warn-no-port J13 46 +set_io --warn-no-port J20 3 +set_io --warn-no-port J29 25 +set_io --warn-no-port J30 23 +set_io --warn-no-port J31 27 +set_io --warn-no-port J32 26 +set_io --warn-no-port J33 28 +set_io --warn-no-port J34 31 +set_io --warn-no-port J35 32 +set_io --warn-no-port J36 34 +set_io --warn-no-port J37 36 +set_io --warn-no-port J44 6 +set_io --warn-no-port J45 9 +set_io --warn-no-port J46 20 +set_io --warn-no-port J47 19 +set_io --warn-no-port J48 18 +set_io --warn-no-port J49 21 + +# USB +set_io --warn-no-port USB_P 43 # input +set_io --warn-no-port USB_DET 38 # input +set_io --warn-no-port USB_N 42 # input + +# LEDs and Button +set_io --warn-no-port BTN_N 10 # input +set_io --warn-no-port LEDR_N 11 # output +set_io --warn-no-port LEDG_N 37 # output + +# RGB LED Driver +set_io --warn-no-port LED_RED_N 39 # output +set_io --warn-no-port LED_GRN_N 40 # output +set_io --warn-no-port LED_BLU_N 41 # output + +# SPI Flash +set_io --warn-no-port FLASH_SCK 15 +set_io --warn-no-port FLASH_SSB 16 +set_io --warn-no-port FLASH_IO0 14 +set_io --warn-no-port FLASH_IO1 17 +set_io --warn-no-port FLASH_IO2 12 +set_io --warn-no-port FLASH_IO3 13 + diff --git a/app/resources/boards/iCEBreaker-bitsy/rules.json b/app/resources/boards/iCEBreaker-bitsy/rules.json new file mode 100644 index 000000000..ebe4763cf --- /dev/null +++ b/app/resources/boards/iCEBreaker-bitsy/rules.json @@ -0,0 +1,8 @@ +{ + "input" : [ + { + "port" : "clk", + "pin": "35" + } + ] +} \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker/pinout.json b/app/resources/boards/iCEBreaker/pinout.json index 91f4420c5..1e2b1f5c8 100644 --- a/app/resources/boards/iCEBreaker/pinout.json +++ b/app/resources/boards/iCEBreaker/pinout.json @@ -1 +1 @@ -[{"type": "inout", "name": "CLK", "value": "35"}, {"type": "inout", "name": "RX", "value": "6"}, {"type": "inout", "name": "TX", "value": "9"}, {"type": "inout", "name": "BTN_N", "value": "10"}, {"type": "inout", "name": "LEDR_N", "value": "11"}, {"type": "inout", "name": "LEDG_N", "value": "37"}, {"type": "inout", "name": "LED_RED_N", "value": "39"}, {"type": "inout", "name": "LED_GRN_N", "value": "40"}, {"type": "inout", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}, {"type": "inout", "name": "P1A1", "value": "4"}, {"type": "inout", "name": "P1A2", "value": "2"}, {"type": "inout", "name": "P1A3", "value": "47"}, {"type": "inout", "name": "P1A4", "value": "45"}, {"type": "inout", "name": "P1A7", "value": "3"}, {"type": "inout", "name": "P1A8", "value": "48"}, {"type": "inout", "name": "P1A9", "value": "46"}, {"type": "inout", "name": "P1A10", "value": "44"}, {"type": "inout", "name": "P1B1", "value": "43"}, {"type": "inout", "name": "P1B2", "value": "38"}, {"type": "inout", "name": "P1B3", "value": "34"}, {"type": "inout", "name": "P1B4", "value": "31"}, {"type": "inout", "name": "P1B7", "value": "42"}, {"type": "inout", "name": "P1B8", "value": "36"}, {"type": "inout", "name": "P1B9", "value": "32"}, {"type": "inout", "name": "P1B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}, {"type": "inout", "name": "LED1", "value": "27"}, {"type": "inout", "name": "LED2", "value": "25"}, {"type": "inout", "name": "LED3", "value": "21"}, {"type": "inout", "name": "BTN2", "value": "19"}, {"type": "inout", "name": "LED5", "value": "26"}, {"type": "inout", "name": "LED4", "value": "23"}, {"type": "inout", "name": "BTN1", "value": "20"}, {"type": "inout", "name": "BTN3", "value": "18"}] \ No newline at end of file +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "RX", "value": "6"}, {"type": "output", "name": "TX", "value": "9"}, {"type": "input", "name": "BTN_N", "value": "10"}, {"type": "output", "name": "LEDR_N", "value": "11"}, {"type": "output", "name": "LEDG_N", "value": "37"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}, {"type": "inout", "name": "P1A1", "value": "4"}, {"type": "inout", "name": "P1A2", "value": "2"}, {"type": "inout", "name": "P1A3", "value": "47"}, {"type": "inout", "name": "P1A4", "value": "45"}, {"type": "inout", "name": "P1A7", "value": "3"}, {"type": "inout", "name": "P1A8", "value": "48"}, {"type": "inout", "name": "P1A9", "value": "46"}, {"type": "inout", "name": "P1A10", "value": "44"}, {"type": "inout", "name": "P1B1", "value": "43"}, {"type": "inout", "name": "P1B2", "value": "38"}, {"type": "inout", "name": "P1B3", "value": "34"}, {"type": "inout", "name": "P1B4", "value": "31"}, {"type": "inout", "name": "P1B7", "value": "42"}, {"type": "inout", "name": "P1B8", "value": "36"}, {"type": "inout", "name": "P1B9", "value": "32"}, {"type": "inout", "name": "P1B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}, {"type": "inout", "name": "LED1", "value": "27"}, {"type": "inout", "name": "LED2", "value": "25"}, {"type": "inout", "name": "LED3", "value": "21"}, {"type": "inout", "name": "BTN2", "value": "19"}, {"type": "inout", "name": "LED5", "value": "26"}, {"type": "inout", "name": "LED4", "value": "23"}, {"type": "inout", "name": "BTN1", "value": "20"}, {"type": "inout", "name": "BTN3", "value": "18"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker/pinout.pcf b/app/resources/boards/iCEBreaker/pinout.pcf index c6837d78c..3db6e72ca 100644 --- a/app/resources/boards/iCEBreaker/pinout.pcf +++ b/app/resources/boards/iCEBreaker/pinout.pcf @@ -1,19 +1,19 @@ # 12 MHz clock -set_io --warn-no-port CLK 35 +set_io --warn-no-port CLK 35 # input # RS232 -set_io --warn-no-port RX 6 -set_io --warn-no-port TX 9 +set_io --warn-no-port RX 6 # input +set_io --warn-no-port TX 9 # output # LEDs and Button -set_io --warn-no-port BTN_N 10 -set_io --warn-no-port LEDR_N 11 -set_io --warn-no-port LEDG_N 37 +set_io --warn-no-port BTN_N 10 # input +set_io --warn-no-port LEDR_N 11 # output +set_io --warn-no-port LEDG_N 37 # output # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 -set_io --warn-no-port LED_GRN_N 40 -set_io --warn-no-port LED_BLU_N 41 +set_io --warn-no-port LED_RED_N 39 # output +set_io --warn-no-port LED_GRN_N 40 # output +set_io --warn-no-port LED_BLU_N 41 # output # SPI Flash set_io --warn-no-port FLASH_SCK 15 From f802818a1124fc64cb7e3e76e5d102db1574bdd3 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 29 Mar 2018 10:30:27 +0200 Subject: [PATCH 06/21] Updated pcf according to @esden --- .../boards/iCEBreaker-bitsy/pinout.json | 2 +- .../boards/iCEBreaker-bitsy/pinout.pcf | 80 ++++++++++--------- 2 files changed, 43 insertions(+), 39 deletions(-) diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.json b/app/resources/boards/iCEBreaker-bitsy/pinout.json index 40f11f19b..f2f878109 100644 --- a/app/resources/boards/iCEBreaker-bitsy/pinout.json +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "inout", "name": "J7", "value": "46"}, {"type": "inout", "name": "J8", "value": "47"}, {"type": "inout", "name": "J9", "value": "44"}, {"type": "inout", "name": "J10", "value": "48"}, {"type": "inout", "name": "J11", "value": "45"}, {"type": "inout", "name": "J12", "value": "2"}, {"type": "inout", "name": "J13", "value": "46"}, {"type": "inout", "name": "J20", "value": "3"}, {"type": "inout", "name": "J29", "value": "25"}, {"type": "inout", "name": "J30", "value": "23"}, {"type": "inout", "name": "J31", "value": "27"}, {"type": "inout", "name": "J32", "value": "26"}, {"type": "inout", "name": "J33", "value": "28"}, {"type": "inout", "name": "J34", "value": "31"}, {"type": "inout", "name": "J35", "value": "32"}, {"type": "inout", "name": "J36", "value": "34"}, {"type": "inout", "name": "J37", "value": "36"}, {"type": "inout", "name": "J44", "value": "6"}, {"type": "inout", "name": "J45", "value": "9"}, {"type": "inout", "name": "J46", "value": "20"}, {"type": "inout", "name": "J47", "value": "19"}, {"type": "inout", "name": "J48", "value": "18"}, {"type": "inout", "name": "J49", "value": "21"}, {"type": "input", "name": "USB_P", "value": "43"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "input", "name": "USB_N", "value": "42"}, {"type": "input", "name": "BTN_N", "value": "10"}, {"type": "output", "name": "LEDR_N", "value": "11"}, {"type": "output", "name": "LEDG_N", "value": "37"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}] \ No newline at end of file +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "USB_DP", "value": "43"}, {"type": "input", "name": "USB_DN", "value": "42"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "input", "name": "BTN_N", "value": "10"}, {"type": "output", "name": "LEDR_N", "value": "11"}, {"type": "output", "name": "LEDG_N", "value": "37"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}, {"type": "inout", "name": "P02", "value": "44"}, {"type": "inout", "name": "P03", "value": "45"}, {"type": "inout", "name": "P04", "value": "46"}, {"type": "inout", "name": "P05", "value": "47"}, {"type": "inout", "name": "P06", "value": "48"}, {"type": "inout", "name": "P07", "value": "2"}, {"type": "inout", "name": "P08", "value": "3"}, {"type": "inout", "name": "P09", "value": "4"}, {"type": "inout", "name": "P10", "value": "6"}, {"type": "inout", "name": "P11", "value": "9"}, {"type": "inout", "name": "P12", "value": "13"}, {"type": "inout", "name": "P13", "value": "12"}, {"type": "inout", "name": "P17", "value": "25"}, {"type": "inout", "name": "P18", "value": "26"}, {"type": "inout", "name": "P19", "value": "27"}, {"type": "inout", "name": "P20", "value": "28"}, {"type": "inout", "name": "P21", "value": "31"}, {"type": "inout", "name": "P22", "value": "32"}, {"type": "inout", "name": "P23", "value": "34"}, {"type": "inout", "name": "P24", "value": "36"}, {"type": "inout", "name": "P32", "value": "18"}, {"type": "inout", "name": "P34", "value": "19"}, {"type": "inout", "name": "P36", "value": "20"}, {"type": "inout", "name": "P38", "value": "21"}, {"type": "inout", "name": "P40", "value": "23"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf index ab97fb5b1..939d48b82 100644 --- a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf @@ -1,50 +1,54 @@ # 12 MHz clock set_io --warn-no-port CLK 35 # input -set_io --warn-no-port J7 46 -set_io --warn-no-port J8 47 -set_io --warn-no-port J9 44 -set_io --warn-no-port J10 48 -set_io --warn-no-port J11 45 -set_io --warn-no-port J12 2 -set_io --warn-no-port J13 46 -set_io --warn-no-port J20 3 -set_io --warn-no-port J29 25 -set_io --warn-no-port J30 23 -set_io --warn-no-port J31 27 -set_io --warn-no-port J32 26 -set_io --warn-no-port J33 28 -set_io --warn-no-port J34 31 -set_io --warn-no-port J35 32 -set_io --warn-no-port J36 34 -set_io --warn-no-port J37 36 -set_io --warn-no-port J44 6 -set_io --warn-no-port J45 9 -set_io --warn-no-port J46 20 -set_io --warn-no-port J47 19 -set_io --warn-no-port J48 18 -set_io --warn-no-port J49 21 - # USB -set_io --warn-no-port USB_P 43 # input +set_io --warn-no-port USB_DP 43 # input +set_io --warn-no-port USB_DN 42 # input set_io --warn-no-port USB_DET 38 # input -set_io --warn-no-port USB_N 42 # input # LEDs and Button -set_io --warn-no-port BTN_N 10 # input -set_io --warn-no-port LEDR_N 11 # output -set_io --warn-no-port LEDG_N 37 # output +set_io --warn-no-port BTN_N 10 # input +set_io --warn-no-port LEDR_N 11 # output +set_io --warn-no-port LEDG_N 37 # output # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 # output -set_io --warn-no-port LED_GRN_N 40 # output -set_io --warn-no-port LED_BLU_N 41 # output +set_io --warn-no-port LED_RED_N 39 # output +set_io --warn-no-port LED_GRN_N 40 # output +set_io --warn-no-port LED_BLU_N 41 # output # SPI Flash -set_io --warn-no-port FLASH_SCK 15 -set_io --warn-no-port FLASH_SSB 16 -set_io --warn-no-port FLASH_IO0 14 -set_io --warn-no-port FLASH_IO1 17 -set_io --warn-no-port FLASH_IO2 12 -set_io --warn-no-port FLASH_IO3 13 +set_io --warn-no-port FLASH_SCK 15 +set_io --warn-no-port FLASH_SSB 16 +set_io --warn-no-port FLASH_IO0 14 +set_io --warn-no-port FLASH_IO1 17 +set_io --warn-no-port FLASH_IO2 12 +set_io --warn-no-port FLASH_IO3 13 + +# GPIO +set_io --warn-no-port P02 44 +set_io --warn-no-port P03 45 +set_io --warn-no-port P04 46 +set_io --warn-no-port P05 47 +set_io --warn-no-port P06 48 +set_io --warn-no-port P07 2 +set_io --warn-no-port P08 3 +set_io --warn-no-port P09 4 +set_io --warn-no-port P10 6 +set_io --warn-no-port P11 9 +set_io --warn-no-port P12 13 +set_io --warn-no-port P13 12 + +set_io --warn-no-port P17 25 +set_io --warn-no-port P18 26 +set_io --warn-no-port P19 27 +set_io --warn-no-port P20 28 +set_io --warn-no-port P21 31 +set_io --warn-no-port P22 32 +set_io --warn-no-port P23 34 +set_io --warn-no-port P24 36 +set_io --warn-no-port P32 18 +set_io --warn-no-port P34 19 +set_io --warn-no-port P36 20 +set_io --warn-no-port P38 21 +set_io --warn-no-port P40 23 From 2daac633010481352b29c720d8e805b23b5e649c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Fri, 6 Apr 2018 01:06:45 +0200 Subject: [PATCH 07/21] Update apio version range >0.4.0<=0.5.0 --- app/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index a50de01fd..e8c6b80a6 100644 --- a/app/package.json +++ b/app/package.json @@ -18,8 +18,8 @@ "icon": "resources/images/icestudio-logo.png" }, "apio": { - "min": "0.3.0", - "max": "0.4.0", + "min": "0.4.0", + "max": "0.5.0", "extras": [ "blackiceprog", "tinyfpgab" From 1a516e0680189d0c6cfeac6c806fcd6e6319712c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 12:20:14 +0200 Subject: [PATCH 08/21] Improve fpga101 pinout names --- app/resources/boards/fpga101/pinout.json | 2 +- app/resources/boards/fpga101/pinout.pcf | 62 ++++++++++++------------ 2 files changed, 32 insertions(+), 32 deletions(-) diff --git a/app/resources/boards/fpga101/pinout.json b/app/resources/boards/fpga101/pinout.json index a3c5882d8..4e6a6d473 100644 --- a/app/resources/boards/fpga101/pinout.json +++ b/app/resources/boards/fpga101/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VSYNC", "value": "11"}, {"type": "output", "name": "LCD_HSYNC", "value": "9"}, {"type": "output", "name": "LCD_RESET", "value": "2"}, {"type": "output", "name": "LCD_DAT[7]", "value": "6"}, {"type": "output", "name": "LCD_DAT[6]", "value": "44"}, {"type": "output", "name": "LCD_DAT[5]", "value": "4"}, {"type": "output", "name": "LCD_DAT[4]", "value": "3"}, {"type": "output", "name": "LCD_DAT[3]", "value": "48"}, {"type": "output", "name": "LCD_DAT[2]", "value": "45"}, {"type": "output", "name": "LCD_DAT[1]", "value": "47"}, {"type": "output", "name": "LCD_DAT[0]", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "input", "name": "BUTTONS[0]", "value": "23"}, {"type": "input", "name": "BUTTONS[1]", "value": "25"}, {"type": "input", "name": "BUTTONS[2]", "value": "26"}, {"type": "input", "name": "BUTTONS[3]", "value": "27"}, {"type": "input", "name": "BUTTONS[4]", "value": "21"}, {"type": "input", "name": "BUTTONS[5]", "value": "12"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "inout", "name": "PMOD_0", "value": "32"}, {"type": "inout", "name": "PMOD_1", "value": "31"}, {"type": "inout", "name": "PMOD_2", "value": "34"}, {"type": "inout", "name": "PMOD_3", "value": "43"}, {"type": "inout", "name": "PMOD_4", "value": "36"}, {"type": "inout", "name": "PMOD_5", "value": "42"}, {"type": "inout", "name": "PMOD_6", "value": "38"}, {"type": "inout", "name": "PMOD_7", "value": "28"}, {"type": "output", "name": "LED_GRN_N", "value": "39"}, {"type": "output", "name": "LED_BLU_N", "value": "40"}, {"type": "output", "name": "LED_RED_N", "value": "41"}] \ No newline at end of file +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VS", "value": "11"}, {"type": "output", "name": "LCD_HS", "value": "9"}, {"type": "output", "name": "LCD_RST", "value": "2"}, {"type": "output", "name": "LCD_D7", "value": "6"}, {"type": "output", "name": "LCD_D6", "value": "44"}, {"type": "output", "name": "LCD_D5", "value": "4"}, {"type": "output", "name": "LCD_D4", "value": "3"}, {"type": "output", "name": "LCD_D3", "value": "48"}, {"type": "output", "name": "LCD_D2", "value": "45"}, {"type": "output", "name": "LCD_D1", "value": "47"}, {"type": "output", "name": "LCD_D0", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "input", "name": "B0", "value": "23"}, {"type": "input", "name": "B1", "value": "25"}, {"type": "input", "name": "B2", "value": "26"}, {"type": "input", "name": "B3", "value": "27"}, {"type": "input", "name": "B4", "value": "21"}, {"type": "input", "name": "B5", "value": "12"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "inout", "name": "PMOD0", "value": "32"}, {"type": "inout", "name": "PMOD1", "value": "31"}, {"type": "inout", "name": "PMOD2", "value": "34"}, {"type": "inout", "name": "PMOD3", "value": "43"}, {"type": "inout", "name": "PMOD4", "value": "36"}, {"type": "inout", "name": "PMOD5", "value": "42"}, {"type": "inout", "name": "PMOD6", "value": "38"}, {"type": "inout", "name": "PMOD7", "value": "28"}, {"type": "output", "name": "LED_G", "value": "39"}, {"type": "output", "name": "LED_B", "value": "40"}, {"type": "output", "name": "LED_R", "value": "41"}] \ No newline at end of file diff --git a/app/resources/boards/fpga101/pinout.pcf b/app/resources/boards/fpga101/pinout.pcf index 023f94a11..a18184038 100644 --- a/app/resources/boards/fpga101/pinout.pcf +++ b/app/resources/boards/fpga101/pinout.pcf @@ -2,43 +2,43 @@ set_io --warn-no-port CLK 35 # input # LCD connector -set_io --warn-no-port LCD_CLK 18 # output -set_io --warn-no-port LCD_DEN 19 # output -set_io --warn-no-port LCD_VSYNC 11 # output -set_io --warn-no-port LCD_HSYNC 9 # output -set_io --warn-no-port LCD_RESET 2 # output -set_io --warn-no-port LCD_DAT[7] 6 # output -set_io --warn-no-port LCD_DAT[6] 44 # output -set_io --warn-no-port LCD_DAT[5] 4 # output -set_io --warn-no-port LCD_DAT[4] 3 # output -set_io --warn-no-port LCD_DAT[3] 48 # output -set_io --warn-no-port LCD_DAT[2] 45 # output -set_io --warn-no-port LCD_DAT[1] 47 # output -set_io --warn-no-port LCD_DAT[0] 46 # output -set_io --warn-no-port LCD_PWM 13 # output +set_io --warn-no-port LCD_CLK 18 # output +set_io --warn-no-port LCD_DEN 19 # output +set_io --warn-no-port LCD_VS 11 # output +set_io --warn-no-port LCD_HS 9 # output +set_io --warn-no-port LCD_RST 2 # output +set_io --warn-no-port LCD_D7 6 # output +set_io --warn-no-port LCD_D6 44 # output +set_io --warn-no-port LCD_D5 4 # output +set_io --warn-no-port LCD_D4 3 # output +set_io --warn-no-port LCD_D3 48 # output +set_io --warn-no-port LCD_D2 45 # output +set_io --warn-no-port LCD_D1 47 # output +set_io --warn-no-port LCD_D0 46 # output +set_io --warn-no-port LCD_PWM 13 # output # Buttons -set_io --warn-no-port BUTTONS[0] 23 # input -set_io --warn-no-port BUTTONS[1] 25 # input -set_io --warn-no-port BUTTONS[2] 26 # input -set_io --warn-no-port BUTTONS[3] 27 # input -set_io --warn-no-port BUTTONS[4] 21 # input -set_io --warn-no-port BUTTONS[5] 12 # input +set_io --warn-no-port B0 23 # input +set_io --warn-no-port B1 25 # input +set_io --warn-no-port B2 26 # input +set_io --warn-no-port B3 27 # input +set_io --warn-no-port B4 21 # input +set_io --warn-no-port B5 12 # input # Audio jack set_io --warn-no-port AUDIO 37 # output # PMOD connector -set_io --warn-no-port PMOD_0 32 -set_io --warn-no-port PMOD_1 31 -set_io --warn-no-port PMOD_2 34 -set_io --warn-no-port PMOD_3 43 -set_io --warn-no-port PMOD_4 36 -set_io --warn-no-port PMOD_5 42 -set_io --warn-no-port PMOD_6 38 -set_io --warn-no-port PMOD_7 28 +set_io --warn-no-port PMOD0 32 +set_io --warn-no-port PMOD1 31 +set_io --warn-no-port PMOD2 34 +set_io --warn-no-port PMOD3 43 +set_io --warn-no-port PMOD4 36 +set_io --warn-no-port PMOD5 42 +set_io --warn-no-port PMOD6 38 +set_io --warn-no-port PMOD7 28 # RGB LED Driver -set_io --warn-no-port LED_GRN_N 39 # output -set_io --warn-no-port LED_BLU_N 40 # output -set_io --warn-no-port LED_RED_N 41 # output \ No newline at end of file +set_io --warn-no-port LED_G 39 # output +set_io --warn-no-port LED_B 40 # output +set_io --warn-no-port LED_R 41 # output From 218310ae51358a49639a86c96adb6b9f3329f186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 12:41:12 +0200 Subject: [PATCH 09/21] Improve iCEBreaker/+bitsy pinouts names --- .../boards/iCEBreaker-bitsy/pinout.json | 2 +- .../boards/iCEBreaker-bitsy/pinout.pcf | 82 ++++++++-------- app/resources/boards/iCEBreaker/pinout.json | 2 +- app/resources/boards/iCEBreaker/pinout.pcf | 98 +++++++++---------- 4 files changed, 92 insertions(+), 92 deletions(-) diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.json b/app/resources/boards/iCEBreaker-bitsy/pinout.json index f2f878109..34841a081 100644 --- a/app/resources/boards/iCEBreaker-bitsy/pinout.json +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "USB_DP", "value": "43"}, {"type": "input", "name": "USB_DN", "value": "42"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "input", "name": "BTN_N", "value": "10"}, {"type": "output", "name": "LEDR_N", "value": "11"}, {"type": "output", "name": "LEDG_N", "value": "37"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}, {"type": "inout", "name": "P02", "value": "44"}, {"type": "inout", "name": "P03", "value": "45"}, {"type": "inout", "name": "P04", "value": "46"}, {"type": "inout", "name": "P05", "value": "47"}, {"type": "inout", "name": "P06", "value": "48"}, {"type": "inout", "name": "P07", "value": "2"}, {"type": "inout", "name": "P08", "value": "3"}, {"type": "inout", "name": "P09", "value": "4"}, {"type": "inout", "name": "P10", "value": "6"}, {"type": "inout", "name": "P11", "value": "9"}, {"type": "inout", "name": "P12", "value": "13"}, {"type": "inout", "name": "P13", "value": "12"}, {"type": "inout", "name": "P17", "value": "25"}, {"type": "inout", "name": "P18", "value": "26"}, {"type": "inout", "name": "P19", "value": "27"}, {"type": "inout", "name": "P20", "value": "28"}, {"type": "inout", "name": "P21", "value": "31"}, {"type": "inout", "name": "P22", "value": "32"}, {"type": "inout", "name": "P23", "value": "34"}, {"type": "inout", "name": "P24", "value": "36"}, {"type": "inout", "name": "P32", "value": "18"}, {"type": "inout", "name": "P34", "value": "19"}, {"type": "inout", "name": "P36", "value": "20"}, {"type": "inout", "name": "P38", "value": "21"}, {"type": "inout", "name": "P40", "value": "23"}] \ No newline at end of file +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "USB_DP", "value": "43"}, {"type": "input", "name": "USB_DN", "value": "42"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "input", "name": "BTN", "value": "10"}, {"type": "output", "name": "LEDR", "value": "11"}, {"type": "output", "name": "LEDG", "value": "37"}, {"type": "output", "name": "LED_R", "value": "39"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "41"}, {"type": "inout", "name": "F_SCK", "value": "15"}, {"type": "inout", "name": "F_SSB", "value": "16"}, {"type": "inout", "name": "F_IO0", "value": "14"}, {"type": "inout", "name": "F_IO1", "value": "17"}, {"type": "inout", "name": "F_IO2", "value": "12"}, {"type": "inout", "name": "F_IO3", "value": "13"}, {"type": "inout", "name": "P02", "value": "44"}, {"type": "inout", "name": "P03", "value": "45"}, {"type": "inout", "name": "P04", "value": "46"}, {"type": "inout", "name": "P05", "value": "47"}, {"type": "inout", "name": "P06", "value": "48"}, {"type": "inout", "name": "P07", "value": "2"}, {"type": "inout", "name": "P08", "value": "3"}, {"type": "inout", "name": "P09", "value": "4"}, {"type": "inout", "name": "P10", "value": "6"}, {"type": "inout", "name": "P11", "value": "9"}, {"type": "inout", "name": "P12", "value": "13"}, {"type": "inout", "name": "P13", "value": "12"}, {"type": "inout", "name": "P17", "value": "25"}, {"type": "inout", "name": "P18", "value": "26"}, {"type": "inout", "name": "P19", "value": "27"}, {"type": "inout", "name": "P20", "value": "28"}, {"type": "inout", "name": "P21", "value": "31"}, {"type": "inout", "name": "P22", "value": "32"}, {"type": "inout", "name": "P23", "value": "34"}, {"type": "inout", "name": "P24", "value": "36"}, {"type": "inout", "name": "P32", "value": "18"}, {"type": "inout", "name": "P34", "value": "19"}, {"type": "inout", "name": "P36", "value": "20"}, {"type": "inout", "name": "P38", "value": "21"}, {"type": "inout", "name": "P40", "value": "23"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf index 939d48b82..782556efa 100644 --- a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf @@ -1,54 +1,54 @@ # 12 MHz clock -set_io --warn-no-port CLK 35 # input +set_io --warn-no-port CLK 35 # input # USB -set_io --warn-no-port USB_DP 43 # input -set_io --warn-no-port USB_DN 42 # input -set_io --warn-no-port USB_DET 38 # input +set_io --warn-no-port USB_DP 43 # input +set_io --warn-no-port USB_DN 42 # input +set_io --warn-no-port USB_DET 38 # input # LEDs and Button -set_io --warn-no-port BTN_N 10 # input -set_io --warn-no-port LEDR_N 11 # output -set_io --warn-no-port LEDG_N 37 # output +set_io --warn-no-port BTN 10 # input +set_io --warn-no-port LEDR 11 # output +set_io --warn-no-port LEDG 37 # output # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 # output -set_io --warn-no-port LED_GRN_N 40 # output -set_io --warn-no-port LED_BLU_N 41 # output +set_io --warn-no-port LED_R 39 # output +set_io --warn-no-port LED_G 40 # output +set_io --warn-no-port LED_B 41 # output # SPI Flash -set_io --warn-no-port FLASH_SCK 15 -set_io --warn-no-port FLASH_SSB 16 -set_io --warn-no-port FLASH_IO0 14 -set_io --warn-no-port FLASH_IO1 17 -set_io --warn-no-port FLASH_IO2 12 -set_io --warn-no-port FLASH_IO3 13 +set_io --warn-no-port F_SCK 15 +set_io --warn-no-port F_SSB 16 +set_io --warn-no-port F_IO0 14 +set_io --warn-no-port F_IO1 17 +set_io --warn-no-port F_IO2 12 +set_io --warn-no-port F_IO3 13 # GPIO -set_io --warn-no-port P02 44 -set_io --warn-no-port P03 45 -set_io --warn-no-port P04 46 -set_io --warn-no-port P05 47 -set_io --warn-no-port P06 48 -set_io --warn-no-port P07 2 -set_io --warn-no-port P08 3 -set_io --warn-no-port P09 4 -set_io --warn-no-port P10 6 -set_io --warn-no-port P11 9 -set_io --warn-no-port P12 13 -set_io --warn-no-port P13 12 +set_io --warn-no-port P02 44 +set_io --warn-no-port P03 45 +set_io --warn-no-port P04 46 +set_io --warn-no-port P05 47 +set_io --warn-no-port P06 48 +set_io --warn-no-port P07 2 +set_io --warn-no-port P08 3 +set_io --warn-no-port P09 4 +set_io --warn-no-port P10 6 +set_io --warn-no-port P11 9 +set_io --warn-no-port P12 13 +set_io --warn-no-port P13 12 -set_io --warn-no-port P17 25 -set_io --warn-no-port P18 26 -set_io --warn-no-port P19 27 -set_io --warn-no-port P20 28 -set_io --warn-no-port P21 31 -set_io --warn-no-port P22 32 -set_io --warn-no-port P23 34 -set_io --warn-no-port P24 36 +set_io --warn-no-port P17 25 +set_io --warn-no-port P18 26 +set_io --warn-no-port P19 27 +set_io --warn-no-port P20 28 +set_io --warn-no-port P21 31 +set_io --warn-no-port P22 32 +set_io --warn-no-port P23 34 +set_io --warn-no-port P24 36 -set_io --warn-no-port P32 18 -set_io --warn-no-port P34 19 -set_io --warn-no-port P36 20 -set_io --warn-no-port P38 21 -set_io --warn-no-port P40 23 +set_io --warn-no-port P32 18 +set_io --warn-no-port P34 19 +set_io --warn-no-port P36 20 +set_io --warn-no-port P38 21 +set_io --warn-no-port P40 23 diff --git a/app/resources/boards/iCEBreaker/pinout.json b/app/resources/boards/iCEBreaker/pinout.json index 1e2b1f5c8..d6ef76ab1 100644 --- a/app/resources/boards/iCEBreaker/pinout.json +++ b/app/resources/boards/iCEBreaker/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "RX", "value": "6"}, {"type": "output", "name": "TX", "value": "9"}, {"type": "input", "name": "BTN_N", "value": "10"}, {"type": "output", "name": "LEDR_N", "value": "11"}, {"type": "output", "name": "LEDG_N", "value": "37"}, {"type": "output", "name": "LED_RED_N", "value": "39"}, {"type": "output", "name": "LED_GRN_N", "value": "40"}, {"type": "output", "name": "LED_BLU_N", "value": "41"}, {"type": "inout", "name": "FLASH_SCK", "value": "15"}, {"type": "inout", "name": "FLASH_SSB", "value": "16"}, {"type": "inout", "name": "FLASH_IO0", "value": "14"}, {"type": "inout", "name": "FLASH_IO1", "value": "17"}, {"type": "inout", "name": "FLASH_IO2", "value": "12"}, {"type": "inout", "name": "FLASH_IO3", "value": "13"}, {"type": "inout", "name": "P1A1", "value": "4"}, {"type": "inout", "name": "P1A2", "value": "2"}, {"type": "inout", "name": "P1A3", "value": "47"}, {"type": "inout", "name": "P1A4", "value": "45"}, {"type": "inout", "name": "P1A7", "value": "3"}, {"type": "inout", "name": "P1A8", "value": "48"}, {"type": "inout", "name": "P1A9", "value": "46"}, {"type": "inout", "name": "P1A10", "value": "44"}, {"type": "inout", "name": "P1B1", "value": "43"}, {"type": "inout", "name": "P1B2", "value": "38"}, {"type": "inout", "name": "P1B3", "value": "34"}, {"type": "inout", "name": "P1B4", "value": "31"}, {"type": "inout", "name": "P1B7", "value": "42"}, {"type": "inout", "name": "P1B8", "value": "36"}, {"type": "inout", "name": "P1B9", "value": "32"}, {"type": "inout", "name": "P1B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}, {"type": "inout", "name": "LED1", "value": "27"}, {"type": "inout", "name": "LED2", "value": "25"}, {"type": "inout", "name": "LED3", "value": "21"}, {"type": "inout", "name": "BTN2", "value": "19"}, {"type": "inout", "name": "LED5", "value": "26"}, {"type": "inout", "name": "LED4", "value": "23"}, {"type": "inout", "name": "BTN1", "value": "20"}, {"type": "inout", "name": "BTN3", "value": "18"}] \ No newline at end of file +[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "RX", "value": "6"}, {"type": "output", "name": "TX", "value": "9"}, {"type": "input", "name": "BTN", "value": "10"}, {"type": "output", "name": "LEDR", "value": "11"}, {"type": "output", "name": "LEDG", "value": "37"}, {"type": "input", "name": "BTN1", "value": "20"}, {"type": "input", "name": "BTN2", "value": "19"}, {"type": "input", "name": "BTN3", "value": "18"}, {"type": "output", "name": "LED1", "value": "27"}, {"type": "output", "name": "LED2", "value": "25"}, {"type": "output", "name": "LED3", "value": "21"}, {"type": "output", "name": "LED4", "value": "23"}, {"type": "output", "name": "LED5", "value": "26"}, {"type": "output", "name": "LED_R", "value": "39"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "41"}, {"type": "inout", "name": "F_SCK", "value": "15"}, {"type": "inout", "name": "F_SSB", "value": "16"}, {"type": "inout", "name": "F_IO0", "value": "14"}, {"type": "inout", "name": "F_IO1", "value": "17"}, {"type": "inout", "name": "F_IO2", "value": "12"}, {"type": "inout", "name": "F_IO3", "value": "13"}, {"type": "inout", "name": "P1_A1", "value": "4"}, {"type": "inout", "name": "P1_A2", "value": "2"}, {"type": "inout", "name": "P1_A3", "value": "47"}, {"type": "inout", "name": "P1_A4", "value": "45"}, {"type": "inout", "name": "P1_A7", "value": "3"}, {"type": "inout", "name": "P1_A8", "value": "48"}, {"type": "inout", "name": "P1_A9", "value": "46"}, {"type": "inout", "name": "P1_A10", "value": "44"}, {"type": "inout", "name": "P1_B1", "value": "43"}, {"type": "inout", "name": "P1_B2", "value": "38"}, {"type": "inout", "name": "P1_B3", "value": "34"}, {"type": "inout", "name": "P1_B4", "value": "31"}, {"type": "inout", "name": "P1_B7", "value": "42"}, {"type": "inout", "name": "P1_B8", "value": "36"}, {"type": "inout", "name": "P1_B9", "value": "32"}, {"type": "inout", "name": "P1_B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker/pinout.pcf b/app/resources/boards/iCEBreaker/pinout.pcf index 3db6e72ca..0ac111177 100644 --- a/app/resources/boards/iCEBreaker/pinout.pcf +++ b/app/resources/boards/iCEBreaker/pinout.pcf @@ -1,64 +1,64 @@ # 12 MHz clock -set_io --warn-no-port CLK 35 # input +set_io --warn-no-port CLK 35 # input # RS232 -set_io --warn-no-port RX 6 # input -set_io --warn-no-port TX 9 # output +set_io --warn-no-port RX 6 # input +set_io --warn-no-port TX 9 # output # LEDs and Button -set_io --warn-no-port BTN_N 10 # input -set_io --warn-no-port LEDR_N 11 # output -set_io --warn-no-port LEDG_N 37 # output +set_io --warn-no-port BTN 10 # input +set_io --warn-no-port LEDR 11 # output +set_io --warn-no-port LEDG 37 # output + +# LEDs and Buttons (PMOD 2) +set_io --warn-no-port BTN1 20 # input +set_io --warn-no-port BTN2 19 # input +set_io --warn-no-port BTN3 18 # input +set_io --warn-no-port LED1 27 # output +set_io --warn-no-port LED2 25 # output +set_io --warn-no-port LED3 21 # output +set_io --warn-no-port LED4 23 # output +set_io --warn-no-port LED5 26 # output # RGB LED Driver -set_io --warn-no-port LED_RED_N 39 # output -set_io --warn-no-port LED_GRN_N 40 # output -set_io --warn-no-port LED_BLU_N 41 # output +set_io --warn-no-port LED_R 39 # output +set_io --warn-no-port LED_G 40 # output +set_io --warn-no-port LED_B 41 # output # SPI Flash -set_io --warn-no-port FLASH_SCK 15 -set_io --warn-no-port FLASH_SSB 16 -set_io --warn-no-port FLASH_IO0 14 -set_io --warn-no-port FLASH_IO1 17 -set_io --warn-no-port FLASH_IO2 12 -set_io --warn-no-port FLASH_IO3 13 +set_io --warn-no-port F_SCK 15 +set_io --warn-no-port F_SSB 16 +set_io --warn-no-port F_IO0 14 +set_io --warn-no-port F_IO1 17 +set_io --warn-no-port F_IO2 12 +set_io --warn-no-port F_IO3 13 # PMOD 1A -set_io --warn-no-port P1A1 4 -set_io --warn-no-port P1A2 2 -set_io --warn-no-port P1A3 47 -set_io --warn-no-port P1A4 45 -set_io --warn-no-port P1A7 3 -set_io --warn-no-port P1A8 48 -set_io --warn-no-port P1A9 46 -set_io --warn-no-port P1A10 44 +set_io --warn-no-port P1_A1 4 +set_io --warn-no-port P1_A2 2 +set_io --warn-no-port P1_A3 47 +set_io --warn-no-port P1_A4 45 +set_io --warn-no-port P1_A7 3 +set_io --warn-no-port P1_A8 48 +set_io --warn-no-port P1_A9 46 +set_io --warn-no-port P1_A10 44 # PMOD 1B -set_io --warn-no-port P1B1 43 -set_io --warn-no-port P1B2 38 -set_io --warn-no-port P1B3 34 -set_io --warn-no-port P1B4 31 -set_io --warn-no-port P1B7 42 -set_io --warn-no-port P1B8 36 -set_io --warn-no-port P1B9 32 -set_io --warn-no-port P1B10 28 +set_io --warn-no-port P1_B1 43 +set_io --warn-no-port P1_B2 38 +set_io --warn-no-port P1_B3 34 +set_io --warn-no-port P1_B4 31 +set_io --warn-no-port P1_B7 42 +set_io --warn-no-port P1_B8 36 +set_io --warn-no-port P1_B9 32 +set_io --warn-no-port P1_B10 28 # PMOD 2 -set_io --warn-no-port P2_1 27 -set_io --warn-no-port P2_2 25 -set_io --warn-no-port P2_3 21 -set_io --warn-no-port P2_4 19 -set_io --warn-no-port P2_7 26 -set_io --warn-no-port P2_8 23 -set_io --warn-no-port P2_9 20 -set_io --warn-no-port P2_10 18 - -# LEDs and Buttons (PMOD 2) -set_io --warn-no-port LED1 27 -set_io --warn-no-port LED2 25 -set_io --warn-no-port LED3 21 -set_io --warn-no-port BTN2 19 -set_io --warn-no-port LED5 26 -set_io --warn-no-port LED4 23 -set_io --warn-no-port BTN1 20 -set_io --warn-no-port BTN3 18 +set_io --warn-no-port P2_1 27 +set_io --warn-no-port P2_2 25 +set_io --warn-no-port P2_3 21 +set_io --warn-no-port P2_4 19 +set_io --warn-no-port P2_7 26 +set_io --warn-no-port P2_8 23 +set_io --warn-no-port P2_9 20 +set_io --warn-no-port P2_10 18 From 8ec7c63b2ba40b7ade7dc21ae9d7d20bc92684a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 12:48:08 +0200 Subject: [PATCH 10/21] Update pinout generator --- app/resources/boards/generator.py | 21 ++++++++++++--------- app/resources/boards/icestick/pinout.json | 2 +- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/app/resources/boards/generator.py b/app/resources/boards/generator.py index 655c73546..b8b1eb16a 100755 --- a/app/resources/boards/generator.py +++ b/app/resources/boards/generator.py @@ -13,21 +13,24 @@ import os import re +import sys import json -print('Pinout generator') -print('----------------') - -# Python 2-3 compat -try: - input = raw_input -except Exception: - pass +if len(sys.argv) < 2: + print('Insert a board name') + exit(1) # Load parameters -name = input('Insert board name: ') # eg. icoboard +name = sys.argv[1] path = os.path.join(os.path.dirname(__file__), name) +# Check board +if not os.path.isdir(name): + print('Board {} does not exist'.format(name)) + exit(1) + +print('Generating pinout...') + # Regex pattern pattern = 'set_io\s+(--warn-no-port)?\s*(.*?)\s+(.*?)\s+(#+\s+(input|output))?' diff --git a/app/resources/boards/icestick/pinout.json b/app/resources/boards/icestick/pinout.json index ceaa09a92..c64adae93 100644 --- a/app/resources/boards/icestick/pinout.json +++ b/app/resources/boards/icestick/pinout.json @@ -1 +1 @@ -[{"type": "output", "name": "D1", "value": "99"}, {"type": "output", "name": "D2", "value": "98"}, {"type": "output", "name": "D3", "value": "97"}, {"type": "output", "name": "D4", "value": "96"}, {"type": "output", "name": "D5", "value": "95"}, {"type": "output", "name": "IrDA_TX", "value": "105"}, {"type": "input", "name": "IrDA_RX", "value": "106"}, {"type": "output", "name": "IrDA_SD", "value": "107"}, {"type": "inout", "name": "PMOD1", "value": "78"}, {"type": "inout", "name": "PMOD2", "value": "79"}, {"type": "inout", "name": "PMOD3", "value": "80"}, {"type": "inout", "name": "PMOD4", "value": "81"}, {"type": "inout", "name": "PMOD7", "value": "87"}, {"type": "inout", "name": "PMOD8", "value": "88"}, {"type": "inout", "name": "PMOD9", "value": "90"}, {"type": "inout", "name": "PMOD10", "value": "91"}, {"type": "inout", "name": "TR3", "value": "112"}, {"type": "inout", "name": "TR4", "value": "113"}, {"type": "inout", "name": "TR5", "value": "114"}, {"type": "inout", "name": "TR6", "value": "115"}, {"type": "inout", "name": "TR7", "value": "116"}, {"type": "inout", "name": "TR8", "value": "117"}, {"type": "inout", "name": "TR9", "value": "118"}, {"type": "inout", "name": "TR10", "value": "119"}, {"type": "inout", "name": "BR3", "value": "62"}, {"type": "inout", "name": "BR4", "value": "61"}, {"type": "inout", "name": "BR5", "value": "60"}, {"type": "inout", "name": "BR6", "value": "56"}, {"type": "inout", "name": "BR7", "value": "48"}, {"type": "inout", "name": "BR8", "value": "47"}, {"type": "inout", "name": "BR9", "value": "45"}, {"type": "inout", "name": "BR10", "value": "44"}, {"type": "input", "name": "CLK", "value": "21"}, {"type": "input", "name": "RES", "value": "66"}, {"type": "output", "name": "DONE", "value": "65"}, {"type": "output", "name": "SS", "value": "71"}, {"type": "input", "name": "MISO", "value": "67"}, {"type": "output", "name": "MOSI", "value": "68"}, {"type": "output", "name": "SCK", "value": "70"}, {"type": "output", "name": "DCD", "value": "1"}, {"type": "output", "name": "DSR", "value": "2"}, {"type": "input", "name": "DTR", "value": "3"}, {"type": "output", "name": "CTS", "value": "4"}, {"type": "input", "name": "RTS", "value": "7"}, {"type": "output", "name": "TX", "value": "8"}, {"type": "input", "name": "RX", "value": "9"}] \ No newline at end of file +[{"type": "output", "name": "D1", "value": "99"}, {"type": "output", "name": "D2", "value": "98"}, {"type": "output", "name": "D3", "value": "97"}, {"type": "output", "name": "D4", "value": "96"}, {"type": "output", "name": "D5", "value": "95"}, {"type": "output", "name": "IR_TX", "value": "105"}, {"type": "input", "name": "IR_RX", "value": "106"}, {"type": "output", "name": "IR_SD", "value": "107"}, {"type": "inout", "name": "PMOD1", "value": "78"}, {"type": "inout", "name": "PMOD2", "value": "79"}, {"type": "inout", "name": "PMOD3", "value": "80"}, {"type": "inout", "name": "PMOD4", "value": "81"}, {"type": "inout", "name": "PMOD7", "value": "87"}, {"type": "inout", "name": "PMOD8", "value": "88"}, {"type": "inout", "name": "PMOD9", "value": "90"}, {"type": "inout", "name": "PMOD10", "value": "91"}, {"type": "inout", "name": "TR3", "value": "112"}, {"type": "inout", "name": "TR4", "value": "113"}, {"type": "inout", "name": "TR5", "value": "114"}, {"type": "inout", "name": "TR6", "value": "115"}, {"type": "inout", "name": "TR7", "value": "116"}, {"type": "inout", "name": "TR8", "value": "117"}, {"type": "inout", "name": "TR9", "value": "118"}, {"type": "inout", "name": "TR10", "value": "119"}, {"type": "inout", "name": "BR3", "value": "62"}, {"type": "inout", "name": "BR4", "value": "61"}, {"type": "inout", "name": "BR5", "value": "60"}, {"type": "inout", "name": "BR6", "value": "56"}, {"type": "inout", "name": "BR7", "value": "48"}, {"type": "inout", "name": "BR8", "value": "47"}, {"type": "inout", "name": "BR9", "value": "45"}, {"type": "inout", "name": "BR10", "value": "44"}, {"type": "input", "name": "CLK", "value": "21"}, {"type": "input", "name": "RES", "value": "66"}, {"type": "output", "name": "DONE", "value": "65"}, {"type": "output", "name": "SS", "value": "71"}, {"type": "input", "name": "MISO", "value": "67"}, {"type": "output", "name": "MOSI", "value": "68"}, {"type": "output", "name": "SCK", "value": "70"}, {"type": "output", "name": "DCD", "value": "1"}, {"type": "output", "name": "DSR", "value": "2"}, {"type": "input", "name": "DTR", "value": "3"}, {"type": "output", "name": "CTS", "value": "4"}, {"type": "input", "name": "RTS", "value": "7"}, {"type": "output", "name": "TX", "value": "8"}, {"type": "input", "name": "RX", "value": "9"}] \ No newline at end of file From 5b848c307443ed263f095378a853dc4c2e9579e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 12:54:17 +0200 Subject: [PATCH 11/21] Improve upduino/+2 pinouts names --- app/resources/boards/upduino/pinout.json | 2 +- app/resources/boards/upduino/pinout.pcf | 70 +++++++++++------------ app/resources/boards/upduino2/pinout.json | 2 +- app/resources/boards/upduino2/pinout.pcf | 70 +++++++++++------------ 4 files changed, 72 insertions(+), 72 deletions(-) diff --git a/app/resources/boards/upduino/pinout.json b/app/resources/boards/upduino/pinout.json index 87a30f01b..5a8454f09 100644 --- a/app/resources/boards/upduino/pinout.json +++ b/app/resources/boards/upduino/pinout.json @@ -1 +1 @@ -[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_GRN_N", "value": "39"}, {"type": "output", "name": "LED_BLU_N", "value": "40"}, {"type": "output", "name": "LED_RED_N", "value": "41"}] \ No newline at end of file +[{"type": "output", "name": "LED_G", "value": "39"}, {"type": "output", "name": "LED_B", "value": "40"}, {"type": "output", "name": "LED_R", "value": "41"}, {"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}] \ No newline at end of file diff --git a/app/resources/boards/upduino/pinout.pcf b/app/resources/boards/upduino/pinout.pcf index 38c78d43b..5b56516ee 100644 --- a/app/resources/boards/upduino/pinout.pcf +++ b/app/resources/boards/upduino/pinout.pcf @@ -1,38 +1,38 @@ +# RGB LED Driver +set_io --warn-no-port LED_G 39 # output +set_io --warn-no-port LED_B 40 # output +set_io --warn-no-port LED_R 41 # output + # Left side -set_io --warn-no-port PIN_2 2 -set_io --warn-no-port PIN_46 46 -set_io --warn-no-port PIN_47 47 -set_io --warn-no-port PIN_45 45 -set_io --warn-no-port PIN_48 48 -set_io --warn-no-port PIN_3 3 -set_io --warn-no-port PIN_4 4 -set_io --warn-no-port PIN_44 44 -set_io --warn-no-port PIN_6 6 -set_io --warn-no-port PIN_9 9 -set_io --warn-no-port PIN_11 11 -set_io --warn-no-port PIN_18 18 -set_io --warn-no-port PIN_19 19 -set_io --warn-no-port PIN_13 13 -set_io --warn-no-port PIN_21 21 -set_io --warn-no-port PIN_12 12 +set_io --warn-no-port PIN_2 2 +set_io --warn-no-port PIN_46 46 +set_io --warn-no-port PIN_47 47 +set_io --warn-no-port PIN_45 45 +set_io --warn-no-port PIN_48 48 +set_io --warn-no-port PIN_3 3 +set_io --warn-no-port PIN_4 4 +set_io --warn-no-port PIN_44 44 +set_io --warn-no-port PIN_6 6 +set_io --warn-no-port PIN_9 9 +set_io --warn-no-port PIN_11 11 +set_io --warn-no-port PIN_18 18 +set_io --warn-no-port PIN_19 19 +set_io --warn-no-port PIN_13 13 +set_io --warn-no-port PIN_21 21 +set_io --warn-no-port PIN_12 12 # Right side -set_io --warn-no-port PIN_28 28 -set_io --warn-no-port PIN_38 38 -set_io --warn-no-port PIN_42 42 -set_io --warn-no-port PIN_35 35 -set_io --warn-no-port PIN_43 43 -set_io --warn-no-port PIN_34 34 -set_io --warn-no-port PIN_37 37 -set_io --warn-no-port PIN_31 31 -set_io --warn-no-port PIN_35 35 -set_io --warn-no-port PIN_32 32 -set_io --warn-no-port PIN_27 27 -set_io --warn-no-port PIN_26 26 -set_io --warn-no-port PIN_25 25 -set_io --warn-no-port PIN_23 23 - -# RGB LED Driver -set_io --warn-no-port LED_GRN_N 39 # output -set_io --warn-no-port LED_BLU_N 40 # output -set_io --warn-no-port LED_RED_N 41 # output +set_io --warn-no-port PIN_28 28 +set_io --warn-no-port PIN_38 38 +set_io --warn-no-port PIN_42 42 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_43 43 +set_io --warn-no-port PIN_34 34 +set_io --warn-no-port PIN_37 37 +set_io --warn-no-port PIN_31 31 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_32 32 +set_io --warn-no-port PIN_27 27 +set_io --warn-no-port PIN_26 26 +set_io --warn-no-port PIN_25 25 +set_io --warn-no-port PIN_23 23 diff --git a/app/resources/boards/upduino2/pinout.json b/app/resources/boards/upduino2/pinout.json index 87a30f01b..5a8454f09 100644 --- a/app/resources/boards/upduino2/pinout.json +++ b/app/resources/boards/upduino2/pinout.json @@ -1 +1 @@ -[{"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}, {"type": "output", "name": "LED_GRN_N", "value": "39"}, {"type": "output", "name": "LED_BLU_N", "value": "40"}, {"type": "output", "name": "LED_RED_N", "value": "41"}] \ No newline at end of file +[{"type": "output", "name": "LED_G", "value": "39"}, {"type": "output", "name": "LED_B", "value": "40"}, {"type": "output", "name": "LED_R", "value": "41"}, {"type": "inout", "name": "PIN_2", "value": "2"}, {"type": "inout", "name": "PIN_46", "value": "46"}, {"type": "inout", "name": "PIN_47", "value": "47"}, {"type": "inout", "name": "PIN_45", "value": "45"}, {"type": "inout", "name": "PIN_48", "value": "48"}, {"type": "inout", "name": "PIN_3", "value": "3"}, {"type": "inout", "name": "PIN_4", "value": "4"}, {"type": "inout", "name": "PIN_44", "value": "44"}, {"type": "inout", "name": "PIN_6", "value": "6"}, {"type": "inout", "name": "PIN_9", "value": "9"}, {"type": "inout", "name": "PIN_11", "value": "11"}, {"type": "inout", "name": "PIN_18", "value": "18"}, {"type": "inout", "name": "PIN_19", "value": "19"}, {"type": "inout", "name": "PIN_13", "value": "13"}, {"type": "inout", "name": "PIN_21", "value": "21"}, {"type": "inout", "name": "PIN_12", "value": "12"}, {"type": "inout", "name": "PIN_28", "value": "28"}, {"type": "inout", "name": "PIN_38", "value": "38"}, {"type": "inout", "name": "PIN_42", "value": "42"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_43", "value": "43"}, {"type": "inout", "name": "PIN_34", "value": "34"}, {"type": "inout", "name": "PIN_37", "value": "37"}, {"type": "inout", "name": "PIN_31", "value": "31"}, {"type": "inout", "name": "PIN_35", "value": "35"}, {"type": "inout", "name": "PIN_32", "value": "32"}, {"type": "inout", "name": "PIN_27", "value": "27"}, {"type": "inout", "name": "PIN_26", "value": "26"}, {"type": "inout", "name": "PIN_25", "value": "25"}, {"type": "inout", "name": "PIN_23", "value": "23"}] \ No newline at end of file diff --git a/app/resources/boards/upduino2/pinout.pcf b/app/resources/boards/upduino2/pinout.pcf index 38c78d43b..5b56516ee 100644 --- a/app/resources/boards/upduino2/pinout.pcf +++ b/app/resources/boards/upduino2/pinout.pcf @@ -1,38 +1,38 @@ +# RGB LED Driver +set_io --warn-no-port LED_G 39 # output +set_io --warn-no-port LED_B 40 # output +set_io --warn-no-port LED_R 41 # output + # Left side -set_io --warn-no-port PIN_2 2 -set_io --warn-no-port PIN_46 46 -set_io --warn-no-port PIN_47 47 -set_io --warn-no-port PIN_45 45 -set_io --warn-no-port PIN_48 48 -set_io --warn-no-port PIN_3 3 -set_io --warn-no-port PIN_4 4 -set_io --warn-no-port PIN_44 44 -set_io --warn-no-port PIN_6 6 -set_io --warn-no-port PIN_9 9 -set_io --warn-no-port PIN_11 11 -set_io --warn-no-port PIN_18 18 -set_io --warn-no-port PIN_19 19 -set_io --warn-no-port PIN_13 13 -set_io --warn-no-port PIN_21 21 -set_io --warn-no-port PIN_12 12 +set_io --warn-no-port PIN_2 2 +set_io --warn-no-port PIN_46 46 +set_io --warn-no-port PIN_47 47 +set_io --warn-no-port PIN_45 45 +set_io --warn-no-port PIN_48 48 +set_io --warn-no-port PIN_3 3 +set_io --warn-no-port PIN_4 4 +set_io --warn-no-port PIN_44 44 +set_io --warn-no-port PIN_6 6 +set_io --warn-no-port PIN_9 9 +set_io --warn-no-port PIN_11 11 +set_io --warn-no-port PIN_18 18 +set_io --warn-no-port PIN_19 19 +set_io --warn-no-port PIN_13 13 +set_io --warn-no-port PIN_21 21 +set_io --warn-no-port PIN_12 12 # Right side -set_io --warn-no-port PIN_28 28 -set_io --warn-no-port PIN_38 38 -set_io --warn-no-port PIN_42 42 -set_io --warn-no-port PIN_35 35 -set_io --warn-no-port PIN_43 43 -set_io --warn-no-port PIN_34 34 -set_io --warn-no-port PIN_37 37 -set_io --warn-no-port PIN_31 31 -set_io --warn-no-port PIN_35 35 -set_io --warn-no-port PIN_32 32 -set_io --warn-no-port PIN_27 27 -set_io --warn-no-port PIN_26 26 -set_io --warn-no-port PIN_25 25 -set_io --warn-no-port PIN_23 23 - -# RGB LED Driver -set_io --warn-no-port LED_GRN_N 39 # output -set_io --warn-no-port LED_BLU_N 40 # output -set_io --warn-no-port LED_RED_N 41 # output +set_io --warn-no-port PIN_28 28 +set_io --warn-no-port PIN_38 38 +set_io --warn-no-port PIN_42 42 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_43 43 +set_io --warn-no-port PIN_34 34 +set_io --warn-no-port PIN_37 37 +set_io --warn-no-port PIN_31 31 +set_io --warn-no-port PIN_35 35 +set_io --warn-no-port PIN_32 32 +set_io --warn-no-port PIN_27 27 +set_io --warn-no-port PIN_26 26 +set_io --warn-no-port PIN_25 25 +set_io --warn-no-port PIN_23 23 From 1aefb9368cd4cc558524024c37d726f0feeeabc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 13:01:20 +0200 Subject: [PATCH 12/21] Update supported boards section in the Readme file --- README.md | 53 +++++++++++++------ .../boards/iCEBreaker-bitsy/info.json | 2 +- app/resources/boards/iCEBreaker/info.json | 2 +- app/resources/boards/upduino/info.json | 2 +- app/resources/boards/upduino2/info.json | 2 +- 5 files changed, 41 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index aa7753624..1aee5d1dd 100644 --- a/README.md +++ b/README.md @@ -9,22 +9,6 @@ Graphic design -> Verilog, PCF -> Bistream -> FPGA -### Supported boards - -| Board name | GNU/Linux | Windows | Mac OS | -|:-|:-:|:-:|:-:| -| [IceZUM Alhambra](https://github.com/FPGAwars/icezum) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [Kéfir I iCE40-HX4K](http://fpgalibre.sourceforge.net/Kefir/) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [Nandland Go board](https://www.nandland.com/goboard/introduction.html) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [iCE40-HX8K Breakout Board](http://www.latticesemi.com/en/Products/DevelopmentBoardsAndKits/iCE40HX8KBreakoutBoard) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [iCEstick Evaluation Kit](http://www.latticesemi.com/icestick) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [icoBOARD 1.0](http://icoboard.org/about-icoboard.html) |   :white_check_mark: **\*** |   :white_check_mark: **\*** |   :white_check_mark: **\*** | -| [BlackIce](https://hackaday.io/project/12930-blackice-low-cost-open-hardware-fpga-dev-board) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [BlackIce II](https://github.com/mystorm-org/BlackIce-II) | :white_check_mark: | :white_check_mark: | :white_check_mark: | -| [TinyFPGA B2](http://tinyfpga.com/b-series-guide.html) | :white_check_mark: | :white_check_mark: | :white_check_mark: | - -**\*** Use with Raspberry Pi - ## Installation * **GNU/Linux** @@ -49,6 +33,43 @@ Check the [Documentation](http://icestudio.readthedocs.io/en/latest) for more information. +## Supported boards + +#### HX1K + +| Board name | Interface | +|:-|:-:| +| [IceZUM Alhambra](https://github.com/FPGAwars/icezum) | FTDI | +| [Nandland Go board](https://www.nandland.com/goboard/introduction.html) | FTDI | +| [iCEstick Evaluation Kit](http://www.latticesemi.com/icestick) | FTDI | + +#### HX8K + +| Board name | Interface | +|:-|:-:| +| [icoBOARD 1.0](http://icoboard.org/about-icoboard.html) | GPIO RPi | +| [BlackIce](https://hackaday.io/project/12930-blackice-low-cost-open-hardware-fpga-dev-board) | Serial | +| [BlackIce II](https://github.com/mystorm-org/BlackIce-II) | Serial | +| [Kéfir I iCE40-HX4K](http://fpgalibre.sourceforge.net/Kefir/) | FTDI | +| [iCE40-HX8K Breakout Board](http://www.latticesemi.com/Products/DevelopmentBoardsAndKits/iCE40HX8KBreakoutBoard) | FTDI | + +#### LP8K + +| Board name | Interface | +|:-|:-:| +| [TinyFPGA B2](http://tinyfpga.com/b-series-guide.html) | Serial | + +#### UP5K + +| Board name | Interface | +|:-|:-:| +| [UPDuino v1.0](http://gnarlygrey.atspace.cc/development-platform.html#upduino) | FTDI | +| [UPDuino v2.0](http://gnarlygrey.atspace.cc/development-platform.html#upduino_v2l) | FTDI | +| [iCEBreaker](https://github.com/icebreaker-fpga/icebreaker) | FTDI | +| [iCEBreaker bitsy](https://github.com/icebreaker-fpga/icebreaker) | FTDI | +| [FPGA 101 Workshop Badge Board](https://github.com/mmicko/workshop_badge) | FTDI | +| [iCE40 UltraPlus Breakout Board](http://www.latticesemi.com/en/Products/DevelopmentBoardsAndKits/iCE40UltraPlusBreakoutBoard) | FTDI | + ## Development Install [Python 2.7](https://www.python.org/downloads/release/python-2711/) and [nodejs](https://github.com/nodejs/node). diff --git a/app/resources/boards/iCEBreaker-bitsy/info.json b/app/resources/boards/iCEBreaker-bitsy/info.json index 748c6940e..f9b4ea5d5 100644 --- a/app/resources/boards/iCEBreaker-bitsy/info.json +++ b/app/resources/boards/iCEBreaker-bitsy/info.json @@ -1,5 +1,5 @@ { - "label": "ICEBreaker bitsy FPGA", + "label": "iCEBreaker bitsy", "datasheet": "https://github.com/icebreaker-fpga/icebreaker", "interface": "FTDI", "FPGAResources": { diff --git a/app/resources/boards/iCEBreaker/info.json b/app/resources/boards/iCEBreaker/info.json index 3be8984cb..178d7dcf5 100644 --- a/app/resources/boards/iCEBreaker/info.json +++ b/app/resources/boards/iCEBreaker/info.json @@ -1,5 +1,5 @@ { - "label": "ICEBreaker FPGA", + "label": "iCEBreaker", "datasheet": "https://github.com/icebreaker-fpga/icebreaker", "interface": "FTDI", "FPGAResources": { diff --git a/app/resources/boards/upduino/info.json b/app/resources/boards/upduino/info.json index f3a6c2c43..110025499 100644 --- a/app/resources/boards/upduino/info.json +++ b/app/resources/boards/upduino/info.json @@ -1,5 +1,5 @@ { - "label": "Gnarly Grey UPDuino Board", + "label": "UPDuino v1.0", "datasheet": "https://github.com/gtjennings1/UPDuino_v1_0", "interface": "FTDI", "FPGAResources": { diff --git a/app/resources/boards/upduino2/info.json b/app/resources/boards/upduino2/info.json index 6278cec40..2276a9e93 100644 --- a/app/resources/boards/upduino2/info.json +++ b/app/resources/boards/upduino2/info.json @@ -1,5 +1,5 @@ { - "label": "Gnarly Grey UPDuino v2.0 Board", + "label": "UPDuino v2.0", "datasheet": "https://github.com/gtjennings1/UPDuino_v1_0", "interface": "FTDI", "FPGAResources": { From 1a56b9d1b842056a9378212e214bde6e2f87ba74 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 13:29:26 +0200 Subject: [PATCH 13/21] Update datasheet links --- app/resources/boards/TinyFPGA-B2/info.json | 2 +- app/resources/boards/blackice-ii/info.json | 2 +- app/resources/boards/blackice/info.json | 2 +- app/resources/boards/iCE40-HX8K/info.json | 2 +- app/resources/boards/icezum/info.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/resources/boards/TinyFPGA-B2/info.json b/app/resources/boards/TinyFPGA-B2/info.json index bae698e86..fb4f852ff 100644 --- a/app/resources/boards/TinyFPGA-B2/info.json +++ b/app/resources/boards/TinyFPGA-B2/info.json @@ -1,6 +1,6 @@ { "label": "TinyFPGA B2", - "datasheet": "https://github.com/tinyfpga/TinyFPGA-B-Series", + "datasheet": "http://tinyfpga.com/b-series-guide.html", "interface": "Serial", "FPGAResources": { "ffs": 7680, diff --git a/app/resources/boards/blackice-ii/info.json b/app/resources/boards/blackice-ii/info.json index 3e439fc63..836d439e9 100644 --- a/app/resources/boards/blackice-ii/info.json +++ b/app/resources/boards/blackice-ii/info.json @@ -1,6 +1,6 @@ { "label": "BlackIce II", - "datasheet": "https://mystorm.uk/", + "datasheet": "https://github.com/mystorm-org/BlackIce-II", "interface": "Serial", "FPGAResources": { "ffs": 7680, diff --git a/app/resources/boards/blackice/info.json b/app/resources/boards/blackice/info.json index 1b638c6d5..f04d78782 100644 --- a/app/resources/boards/blackice/info.json +++ b/app/resources/boards/blackice/info.json @@ -1,6 +1,6 @@ { "label": "BlackIce", - "datasheet": "https://mystorm.uk/", + "datasheet": "https://hackaday.io/project/12930-blackice-low-cost-open-hardware-fpga-dev-board", "interface": "Serial", "FPGAResources": { "ffs": 7680, diff --git a/app/resources/boards/iCE40-HX8K/info.json b/app/resources/boards/iCE40-HX8K/info.json index cc711bb18..da9dcee01 100644 --- a/app/resources/boards/iCE40-HX8K/info.json +++ b/app/resources/boards/iCE40-HX8K/info.json @@ -1,6 +1,6 @@ { "label": "iCE40-HX8K Breakout Board", - "datasheet": "http://www.latticesemi.com/view_document?document_id=50373", + "datasheet": "http://www.latticesemi.com/Products/DevelopmentBoardsAndKits/iCE40HX8KBreakoutBoard", "interface": "FTDI", "FPGAResources": { "ffs": 7680, diff --git a/app/resources/boards/icezum/info.json b/app/resources/boards/icezum/info.json index a4ff2c1f5..80f8a74c9 100644 --- a/app/resources/boards/icezum/info.json +++ b/app/resources/boards/icezum/info.json @@ -1,6 +1,6 @@ { "label": "IceZUM Alhambra", - "datasheet": "https://github.com/FPGAwars/icezum/wiki", + "datasheet": "https://github.com/FPGAwars/icezum", "interface": "FTDI", "FPGAResources": { "ffs": 1280, From a409351407303ba62b408dbd288cbc2db7cebeac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 19:19:18 +0200 Subject: [PATCH 14/21] Add pinput for iCE40-UP5K board --- app/resources/boards/iCE40-UP5K/info.json | 12 ++ app/resources/boards/iCE40-UP5K/pinout.json | 1 + app/resources/boards/iCE40-UP5K/pinout.pcf | 143 ++++++++++++++++++++ app/resources/boards/iCE40-UP5K/rules.json | 8 ++ 4 files changed, 164 insertions(+) create mode 100644 app/resources/boards/iCE40-UP5K/info.json create mode 100644 app/resources/boards/iCE40-UP5K/pinout.json create mode 100644 app/resources/boards/iCE40-UP5K/pinout.pcf create mode 100644 app/resources/boards/iCE40-UP5K/rules.json diff --git a/app/resources/boards/iCE40-UP5K/info.json b/app/resources/boards/iCE40-UP5K/info.json new file mode 100644 index 000000000..781997280 --- /dev/null +++ b/app/resources/boards/iCE40-UP5K/info.json @@ -0,0 +1,12 @@ +{ + "label": "iCE40 UltraPlus Breakout Board", + "datasheet": "http://www.latticesemi.com/en/Products/DevelopmentBoardsAndKits/iCE40UltraPlusBreakoutBoard", + "interface": "FTDI", + "FPGAResources": { + "ffs": 5280, + "luts": 5280, + "pios": 39, + "plbs": 660, + "brams": 30 + } +} diff --git a/app/resources/boards/iCE40-UP5K/pinout.json b/app/resources/boards/iCE40-UP5K/pinout.json new file mode 100644 index 000000000..f5f61e3f4 --- /dev/null +++ b/app/resources/boards/iCE40-UP5K/pinout.json @@ -0,0 +1 @@ +[{"type": "output", "name": "LED_R", "value": "41"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "39"}, {"type": "input", "name": "SW1", "value": "23"}, {"type": "input", "name": "SW2", "value": "25"}, {"type": "input", "name": "SW3", "value": "34"}, {"type": "input", "name": "SW4", "value": "43"}, {"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "SS", "value": "16"}, {"type": "output", "name": "MOSI", "value": "17"}, {"type": "input", "name": "MISO", "value": "14"}, {"type": "output", "name": "SCK", "value": "15"}, {"type": "inout", "name": "38B", "value": "27"}, {"type": "inout", "name": "39A", "value": "26"}, {"type": "inout", "name": "43A", "value": "32"}, {"type": "inout", "name": "42B", "value": "31"}, {"type": "inout", "name": "37A", "value": "23"}, {"type": "inout", "name": "36B", "value": "25"}, {"type": "inout", "name": "39A", "value": "26"}, {"type": "inout", "name": "38B", "value": "27"}, {"type": "inout", "name": "43A", "value": "32"}, {"type": "inout", "name": "42B", "value": "31"}, {"type": "inout", "name": "45A", "value": "37"}, {"type": "inout", "name": "44B", "value": "34"}, {"type": "inout", "name": "49A", "value": "43"}, {"type": "inout", "name": "48B", "value": "36"}, {"type": "inout", "name": "51A", "value": "42"}, {"type": "inout", "name": "50B", "value": "38"}, {"type": "inout", "name": "41A", "value": "28"}, {"type": "input", "name": "ICLK", "value": "35"}, {"type": "inout", "name": "8A", "value": "4"}, {"type": "inout", "name": "9B", "value": "3"}, {"type": "inout", "name": "4A", "value": "48"}, {"type": "inout", "name": "5B", "value": "45"}, {"type": "inout", "name": "2A", "value": "47"}, {"type": "inout", "name": "3B", "value": "44"}, {"type": "inout", "name": "0A", "value": "46"}, {"type": "inout", "name": "6A", "value": "2"}, {"type": "inout", "name": "22A", "value": "12"}, {"type": "inout", "name": "23B", "value": "21"}, {"type": "inout", "name": "24A", "value": "13"}, {"type": "inout", "name": "25B", "value": "20"}, {"type": "inout", "name": "29B", "value": "19"}, {"type": "inout", "name": "31B", "value": "18"}, {"type": "inout", "name": "20A", "value": "11"}, {"type": "inout", "name": "18A", "value": "10"}, {"type": "inout", "name": "16A", "value": "9"}, {"type": "inout", "name": "13B", "value": "6"}] \ No newline at end of file diff --git a/app/resources/boards/iCE40-UP5K/pinout.pcf b/app/resources/boards/iCE40-UP5K/pinout.pcf new file mode 100644 index 000000000..c42e18785 --- /dev/null +++ b/app/resources/boards/iCE40-UP5K/pinout.pcf @@ -0,0 +1,143 @@ +# ----------------------------------------------------------------------------- +#- iCE40-UP5K constraint file (.pcf) +#- By Jesus Arroyo Torrens and Juan Gonzalez (Obijuan) +#- April - 2018 +#- GPL license +#- Board info: http://www.latticesemi.com/view_document?document_id=51987 + + +# ------------ LEDs ----------------------------------------------------------- +set_io --warn-no-port LED_R 41 # output +set_io --warn-no-port LED_G 40 # output +set_io --warn-no-port LED_B 39 # output + + +# ------------ SWITCH BUTTONS ------------------------------------------------- +set_io --warn-no-port SW1 23 # input +set_io --warn-no-port SW2 25 # input +set_io --warn-no-port SW3 34 # input +set_io --warn-no-port SW4 43 # input + + +# ------------ SYSTEM CLOCK --------------------------------------------------- +set_io --warn-no-port CLK 35 # input + + +# ------------ PROGRAMMING JUMPERS -------------------------------------------- +# +# J6 +# --------------- +# | F_MOSI MISO | * +# | MOSI F_MISO | +# --------------- +# +# For programming Flash == +# For programming iCE || + + +# ------------ PMOD SOCKET ---------------------------------------------------- +# +# ---------- +# * | SS 38B | +# | MOSI 39A | +# | MISO 43A | +# | SCK 42B | +# | GND GND | +# | 3V3 3V3 | +# ---------- + +set_io --warn-no-port SS 16 # output +set_io --warn-no-port MOSI 17 # output +set_io --warn-no-port MISO 14 # input +set_io --warn-no-port SCK 15 # output + +set_io --warn-no-port 38B 27 +set_io --warn-no-port 39A 26 +set_io --warn-no-port 43A 32 +set_io --warn-no-port 42B 31 + + +# ------------ AARDVARK CONNECTOR --------------------------------------------- +# +# --------------- +# * | NC GND | +# | NC NC | +# | F_MISO NC | +# | SCK F_MOSI | +# | SS GND | +# --------------- + + +# ------------ HEADER A ------------------------------------------------------- +# +# ------------------------------- +# | GND SS SCK MISO MOSI 3V3 | +# | GND LED_R GND LED_G LED_B 3V3 | * +# ------------------------------- + + +# ------------ HEADER B ------------------------------------------------------- +# +# ---------- +# * | 3V3 3V3 | +# | 37A NC | +# | 36B NC | +# | 39A 48B | +# | 38B 51A | +# | 43A 50B | +# | 42B 41A | +# | 45A ICLK | +# | 44B GND | +# | 49A GND | +# ---------- + +set_io --warn-no-port 37A 23 +set_io --warn-no-port 36B 25 +set_io --warn-no-port 39A 26 +set_io --warn-no-port 38B 27 +set_io --warn-no-port 43A 32 +set_io --warn-no-port 42B 31 +set_io --warn-no-port 45A 37 +set_io --warn-no-port 44B 34 +set_io --warn-no-port 49A 43 + +set_io --warn-no-port 48B 36 +set_io --warn-no-port 51A 42 +set_io --warn-no-port 50B 38 +set_io --warn-no-port 41A 28 +set_io --warn-no-port ICLK 35 # input + + +# ------------ HEADER C ------------------------------------------------------- +# +# --------- +# * | 3V3 22A | +# | 8A 23B | +# | 9B 24A | +# | 4A 25B | +# | 5B 29B | +# | 2A 31B | +# | 3B 20A | +# | 6A 16A | +# | GND 13B | +# --------- + +set_io --warn-no-port 8A 4 +set_io --warn-no-port 9B 3 +set_io --warn-no-port 4A 48 +set_io --warn-no-port 5B 45 +set_io --warn-no-port 2A 47 +set_io --warn-no-port 3B 44 +set_io --warn-no-port 0A 46 +set_io --warn-no-port 6A 2 + +set_io --warn-no-port 22A 12 +set_io --warn-no-port 23B 21 +set_io --warn-no-port 24A 13 +set_io --warn-no-port 25B 20 +set_io --warn-no-port 29B 19 +set_io --warn-no-port 31B 18 +set_io --warn-no-port 20A 11 +set_io --warn-no-port 18A 10 +set_io --warn-no-port 16A 9 +set_io --warn-no-port 13B 6 diff --git a/app/resources/boards/iCE40-UP5K/rules.json b/app/resources/boards/iCE40-UP5K/rules.json new file mode 100644 index 000000000..6f6fff923 --- /dev/null +++ b/app/resources/boards/iCE40-UP5K/rules.json @@ -0,0 +1,8 @@ +{ + "input" : [ + { + "port" : "clk", + "pin": "35" + } + ] +} From 54f95f5ada8a02a7238e335b8631cfbaffebdf62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Arroyo=20Torrens?= Date: Sat, 7 Apr 2018 23:42:17 +0200 Subject: [PATCH 15/21] Unify style in PCF files --- app/resources/boards/TinyFPGA-B2/pinout.pcf | 9 +- app/resources/boards/blackice-ii/pinout.json | 2 +- app/resources/boards/blackice-ii/pinout.pcf | 89 ++-- app/resources/boards/blackice/pinout.json | 2 +- app/resources/boards/blackice/pinout.pcf | 84 ++-- app/resources/boards/fpga101/pinout.json | 2 +- app/resources/boards/fpga101/pinout.pcf | 85 ++-- app/resources/boards/go-board/pinout.pcf | 148 +++---- app/resources/boards/iCE40-HX8K/pinout.pcf | 394 +++++++++--------- app/resources/boards/iCE40-UP5K/pinout.pcf | 23 +- .../boards/iCEBreaker-bitsy/pinout.json | 2 +- .../boards/iCEBreaker-bitsy/pinout.pcf | 44 +- app/resources/boards/iCEBreaker/pinout.json | 2 +- app/resources/boards/iCEBreaker/pinout.pcf | 84 ++-- app/resources/boards/icestick/pinout.pcf | 106 ++--- app/resources/boards/icezum/pinout.pcf | 108 ++--- app/resources/boards/icoboard/pinout.pcf | 18 +- app/resources/boards/kefir/pinout.pcf | 18 +- app/resources/boards/upduino/pinout.pcf | 31 +- app/resources/boards/upduino2/pinout.pcf | 31 +- 20 files changed, 677 insertions(+), 605 deletions(-) diff --git a/app/resources/boards/TinyFPGA-B2/pinout.pcf b/app/resources/boards/TinyFPGA-B2/pinout.pcf index 6de05ff72..48afe3b70 100644 --- a/app/resources/boards/TinyFPGA-B2/pinout.pcf +++ b/app/resources/boards/TinyFPGA-B2/pinout.pcf @@ -3,11 +3,11 @@ #- By Luke Valenty #- October - 2017 #- GPL license +#- TinyFPGA B-series information: https://github.com/tinyfpga/TinyFPGA-B-Series/ # ----------------------------------------------------------------------------- -# -# TinyFPGA B-series information: https://github.com/tinyfpga/TinyFPGA-B-Series/ -# -- Left side of board + +# ------------ Left side ------------------------------------------------------ set_io --warn-no-port USB_DP A3 set_io --warn-no-port USB_DM A4 set_io --warn-no-port CLK B4 # input @@ -22,7 +22,8 @@ set_io --warn-no-port PIN_11 G1 set_io --warn-no-port PIN_12 H1 set_io --warn-no-port PIN_13 J1 -# -- Right side of board + +# ------------ Right side ------------------------------------------------------ set_io --warn-no-port SDO G6 set_io --warn-no-port SDI H7 set_io --warn-no-port SCK G7 diff --git a/app/resources/boards/blackice-ii/pinout.json b/app/resources/boards/blackice-ii/pinout.json index aea2bc351..f41245bc6 100644 --- a/app/resources/boards/blackice-ii/pinout.json +++ b/app/resources/boards/blackice-ii/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "129"}, {"type": "output", "name": "LED1", "value": "71"}, {"type": "output", "name": "LED2", "value": "67"}, {"type": "output", "name": "LED3", "value": "68"}, {"type": "output", "name": "LED4", "value": "70"}, {"type": "input", "name": "B1", "value": "63"}, {"type": "input", "name": "B2", "value": "64"}, {"type": "inout", "name": "D16", "value": "41"}, {"type": "inout", "name": "D17", "value": "39"}, {"type": "inout", "name": "D18", "value": "38"}, {"type": "inout", "name": "D19", "value": "37"}, {"type": "inout", "name": "P10", "value": "94"}, {"type": "inout", "name": "P11", "value": "91"}, {"type": "inout", "name": "P12", "value": "88"}, {"type": "inout", "name": "P13", "value": "85"}, {"type": "inout", "name": "P20", "value": "95"}, {"type": "inout", "name": "P21", "value": "93"}, {"type": "inout", "name": "P22", "value": "90"}, {"type": "inout", "name": "P23", "value": "87"}, {"type": "inout", "name": "P30", "value": "105"}, {"type": "inout", "name": "P31", "value": "102"}, {"type": "inout", "name": "P32", "value": "99"}, {"type": "inout", "name": "P33", "value": "97"}, {"type": "inout", "name": "P40", "value": "104"}, {"type": "inout", "name": "P41", "value": "101"}, {"type": "inout", "name": "P42", "value": "98"}, {"type": "inout", "name": "P43", "value": "96"}, {"type": "inout", "name": "P50", "value": "143"}, {"type": "inout", "name": "P51", "value": "114"}, {"type": "inout", "name": "P52", "value": "112"}, {"type": "inout", "name": "P53", "value": "107"}, {"type": "inout", "name": "P60", "value": "144"}, {"type": "inout", "name": "P61", "value": "113"}, {"type": "inout", "name": "P62", "value": "110"}, {"type": "inout", "name": "P63", "value": "106"}, {"type": "inout", "name": "P70", "value": "10"}, {"type": "inout", "name": "P71", "value": "9"}, {"type": "inout", "name": "P72", "value": "2"}, {"type": "inout", "name": "P73", "value": "1"}, {"type": "inout", "name": "P80", "value": "8"}, {"type": "inout", "name": "P81", "value": "7"}, {"type": "inout", "name": "P82", "value": "4"}, {"type": "inout", "name": "P83", "value": "3"}, {"type": "inout", "name": "P90", "value": "20"}, {"type": "inout", "name": "P91", "value": "19"}, {"type": "inout", "name": "P92", "value": "16"}, {"type": "inout", "name": "P93", "value": "15"}, {"type": "inout", "name": "P100", "value": "18"}, {"type": "inout", "name": "P101", "value": "17"}, {"type": "inout", "name": "P102", "value": "12"}, {"type": "inout", "name": "P103", "value": "11"}, {"type": "inout", "name": "P110", "value": "34"}, {"type": "inout", "name": "P111", "value": "33"}, {"type": "inout", "name": "P112", "value": "22"}, {"type": "inout", "name": "P113", "value": "21"}, {"type": "inout", "name": "P120", "value": "32"}, {"type": "inout", "name": "P121", "value": "31"}, {"type": "inout", "name": "P122", "value": "26"}, {"type": "inout", "name": "P123", "value": "25"}, {"type": "inout", "name": "P130", "value": "37"}, {"type": "inout", "name": "P131", "value": "38"}, {"type": "inout", "name": "P132", "value": "39"}, {"type": "inout", "name": "P133", "value": "41"}, {"type": "inout", "name": "P140", "value": "71"}, {"type": "inout", "name": "P141", "value": "67"}, {"type": "inout", "name": "P142", "value": "68"}, {"type": "inout", "name": "P143", "value": "70"}, {"type": "inout", "name": "RAMOE", "value": "29"}, {"type": "inout", "name": "RAMWE", "value": "120"}, {"type": "inout", "name": "RAMCS", "value": "23"}, {"type": "inout", "name": "RAMUB", "value": "28"}, {"type": "inout", "name": "RAMLB", "value": "24"}, {"type": "inout", "name": "ADR0", "value": "137"}, {"type": "inout", "name": "ADR1", "value": "138"}, {"type": "inout", "name": "ADR2", "value": "139"}, {"type": "inout", "name": "ADR3", "value": "141"}, {"type": "inout", "name": "ADR4", "value": "142"}, {"type": "inout", "name": "ADR5", "value": "42"}, {"type": "inout", "name": "ADR6", "value": "43"}, {"type": "inout", "name": "ADR7", "value": "44"}, {"type": "inout", "name": "ADR8", "value": "73"}, {"type": "inout", "name": "ADR9", "value": "74"}, {"type": "inout", "name": "ADR10", "value": "75"}, {"type": "inout", "name": "ADR11", "value": "76"}, {"type": "inout", "name": "ADR12", "value": "115"}, {"type": "inout", "name": "ADR13", "value": "116"}, {"type": "inout", "name": "ADR14", "value": "117"}, {"type": "inout", "name": "ADR15", "value": "118"}, {"type": "inout", "name": "ADR16", "value": "119"}, {"type": "inout", "name": "ADR17", "value": "78"}, {"type": "inout", "name": "DAT0", "value": "136"}, {"type": "inout", "name": "DAT1", "value": "135"}, {"type": "inout", "name": "DAT2", "value": "134"}, {"type": "inout", "name": "DAT3", "value": "130"}, {"type": "inout", "name": "DAT4", "value": "125"}, {"type": "inout", "name": "DAT5", "value": "124"}, {"type": "inout", "name": "DAT6", "value": "122"}, {"type": "inout", "name": "DAT7", "value": "121"}, {"type": "inout", "name": "DAT8", "value": "62"}, {"type": "inout", "name": "DAT9", "value": "61"}, {"type": "inout", "name": "DAT10", "value": "60"}, {"type": "inout", "name": "DAT11", "value": "56"}, {"type": "inout", "name": "DAT12", "value": "55"}, {"type": "inout", "name": "DAT13", "value": "48"}, {"type": "inout", "name": "DAT14", "value": "47"}, {"type": "inout", "name": "DAT15", "value": "45"}, {"type": "inout", "name": "DONE", "value": "52"}, {"type": "inout", "name": "DBG1", "value": "49"}, {"type": "inout", "name": "GRESET", "value": "128"}, {"type": "output", "name": "SS", "value": "71"}, {"type": "input", "name": "MISO", "value": "67"}, {"type": "output", "name": "MOSI", "value": "68"}, {"type": "output", "name": "SCK", "value": "70"}] \ No newline at end of file +[{"type": "output", "name": "LED1", "value": "71"}, {"type": "output", "name": "LED2", "value": "67"}, {"type": "output", "name": "LED3", "value": "68"}, {"type": "output", "name": "LED4", "value": "70"}, {"type": "input", "name": "B1", "value": "63"}, {"type": "input", "name": "B2", "value": "64"}, {"type": "input", "name": "CLK", "value": "129"}, {"type": "inout", "name": "D16", "value": "41"}, {"type": "inout", "name": "D17", "value": "39"}, {"type": "inout", "name": "D18", "value": "38"}, {"type": "inout", "name": "D19", "value": "37"}, {"type": "inout", "name": "P10", "value": "94"}, {"type": "inout", "name": "P11", "value": "91"}, {"type": "inout", "name": "P12", "value": "88"}, {"type": "inout", "name": "P13", "value": "85"}, {"type": "inout", "name": "P20", "value": "95"}, {"type": "inout", "name": "P21", "value": "93"}, {"type": "inout", "name": "P22", "value": "90"}, {"type": "inout", "name": "P23", "value": "87"}, {"type": "inout", "name": "P30", "value": "105"}, {"type": "inout", "name": "P31", "value": "102"}, {"type": "inout", "name": "P32", "value": "99"}, {"type": "inout", "name": "P33", "value": "97"}, {"type": "inout", "name": "P40", "value": "104"}, {"type": "inout", "name": "P41", "value": "101"}, {"type": "inout", "name": "P42", "value": "98"}, {"type": "inout", "name": "P43", "value": "96"}, {"type": "inout", "name": "P50", "value": "143"}, {"type": "inout", "name": "P51", "value": "114"}, {"type": "inout", "name": "P52", "value": "112"}, {"type": "inout", "name": "P53", "value": "107"}, {"type": "inout", "name": "P60", "value": "144"}, {"type": "inout", "name": "P61", "value": "113"}, {"type": "inout", "name": "P62", "value": "110"}, {"type": "inout", "name": "P63", "value": "106"}, {"type": "inout", "name": "P70", "value": "10"}, {"type": "inout", "name": "P71", "value": "9"}, {"type": "inout", "name": "P72", "value": "2"}, {"type": "inout", "name": "P73", "value": "1"}, {"type": "inout", "name": "P80", "value": "8"}, {"type": "inout", "name": "P81", "value": "7"}, {"type": "inout", "name": "P82", "value": "4"}, {"type": "inout", "name": "P83", "value": "3"}, {"type": "inout", "name": "P90", "value": "20"}, {"type": "inout", "name": "P91", "value": "19"}, {"type": "inout", "name": "P92", "value": "16"}, {"type": "inout", "name": "P93", "value": "15"}, {"type": "inout", "name": "P100", "value": "18"}, {"type": "inout", "name": "P101", "value": "17"}, {"type": "inout", "name": "P102", "value": "12"}, {"type": "inout", "name": "P103", "value": "11"}, {"type": "inout", "name": "P110", "value": "34"}, {"type": "inout", "name": "P111", "value": "33"}, {"type": "inout", "name": "P112", "value": "22"}, {"type": "inout", "name": "P113", "value": "21"}, {"type": "inout", "name": "P120", "value": "32"}, {"type": "inout", "name": "P121", "value": "31"}, {"type": "inout", "name": "P122", "value": "26"}, {"type": "inout", "name": "P123", "value": "25"}, {"type": "inout", "name": "P130", "value": "37"}, {"type": "inout", "name": "P131", "value": "38"}, {"type": "inout", "name": "P132", "value": "39"}, {"type": "inout", "name": "P133", "value": "41"}, {"type": "inout", "name": "P140", "value": "71"}, {"type": "inout", "name": "P141", "value": "67"}, {"type": "inout", "name": "P142", "value": "68"}, {"type": "inout", "name": "P143", "value": "70"}, {"type": "inout", "name": "RAMOE", "value": "29"}, {"type": "inout", "name": "RAMWE", "value": "120"}, {"type": "inout", "name": "RAMCS", "value": "23"}, {"type": "inout", "name": "RAMUB", "value": "28"}, {"type": "inout", "name": "RAMLB", "value": "24"}, {"type": "inout", "name": "ADR0", "value": "137"}, {"type": "inout", "name": "ADR1", "value": "138"}, {"type": "inout", "name": "ADR2", "value": "139"}, {"type": "inout", "name": "ADR3", "value": "141"}, {"type": "inout", "name": "ADR4", "value": "142"}, {"type": "inout", "name": "ADR5", "value": "42"}, {"type": "inout", "name": "ADR6", "value": "43"}, {"type": "inout", "name": "ADR7", "value": "44"}, {"type": "inout", "name": "ADR8", "value": "73"}, {"type": "inout", "name": "ADR9", "value": "74"}, {"type": "inout", "name": "ADR10", "value": "75"}, {"type": "inout", "name": "ADR11", "value": "76"}, {"type": "inout", "name": "ADR12", "value": "115"}, {"type": "inout", "name": "ADR13", "value": "116"}, {"type": "inout", "name": "ADR14", "value": "117"}, {"type": "inout", "name": "ADR15", "value": "118"}, {"type": "inout", "name": "ADR16", "value": "119"}, {"type": "inout", "name": "ADR17", "value": "78"}, {"type": "inout", "name": "DAT0", "value": "136"}, {"type": "inout", "name": "DAT1", "value": "135"}, {"type": "inout", "name": "DAT2", "value": "134"}, {"type": "inout", "name": "DAT3", "value": "130"}, {"type": "inout", "name": "DAT4", "value": "125"}, {"type": "inout", "name": "DAT5", "value": "124"}, {"type": "inout", "name": "DAT6", "value": "122"}, {"type": "inout", "name": "DAT7", "value": "121"}, {"type": "inout", "name": "DAT8", "value": "62"}, {"type": "inout", "name": "DAT9", "value": "61"}, {"type": "inout", "name": "DAT10", "value": "60"}, {"type": "inout", "name": "DAT11", "value": "56"}, {"type": "inout", "name": "DAT12", "value": "55"}, {"type": "inout", "name": "DAT13", "value": "48"}, {"type": "inout", "name": "DAT14", "value": "47"}, {"type": "inout", "name": "DAT15", "value": "45"}, {"type": "inout", "name": "DONE", "value": "52"}, {"type": "inout", "name": "DBG1", "value": "49"}, {"type": "inout", "name": "GRESET", "value": "128"}, {"type": "output", "name": "SS", "value": "71"}, {"type": "input", "name": "MISO", "value": "67"}, {"type": "output", "name": "MOSI", "value": "68"}, {"type": "output", "name": "SCK", "value": "70"}] \ No newline at end of file diff --git a/app/resources/boards/blackice-ii/pinout.pcf b/app/resources/boards/blackice-ii/pinout.pcf index 26d1cde53..1db2326e5 100644 --- a/app/resources/boards/blackice-ii/pinout.pcf +++ b/app/resources/boards/blackice-ii/pinout.pcf @@ -6,11 +6,7 @@ # ----------------------------------------------------------------------------- -# ------------ System clock --------------------------------------------------- -set_io --warn-no-port CLK 129 # input - - -# ------------ LEDs map ------------------------------------------------------- +# ------------ LEDs ----------------------------------------------------------- # ______ ______ # ___| |______________| |___ # | |______| |______| | @@ -46,7 +42,7 @@ set_io --warn-no-port LED4 70 # output # LED4 = SCK = P143 -# ------------ Buttons map ---------------------------------------------------- +# ------------ Buttons -------------------------------------------------------- # ______ ______ # ___| |______________| |___ # | |______| |______| | @@ -71,6 +67,10 @@ set_io --warn-no-port B1 63 # input set_io --warn-no-port B2 64 # input +# ------------ System 12 MHz clock -------------------------------------------- +set_io --warn-no-port CLK 129 # input + + # ------------ Digital connectors --------------------------------------------- # ______ ______ # ___| |______________| |___ @@ -126,6 +126,7 @@ set_io --warn-no-port D19 37 # D18 = P131 # D19 = P130 + # ------------ Analog connectors ---------------------------------------------- # ______ ______ # ___| |______________| |___ @@ -180,7 +181,7 @@ set_io --warn-no-port D19 37 # -------------| P1 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P13 | P12 | P11 | P10 | << ^ +# | 3V3 | GND | P13 | P12 | P11 | P10 | < ^ # ----------------------------------- # | 3V3 | GND | P23 | P22 | P21 | P20 | # ----------------------------------- @@ -197,7 +198,7 @@ set_io --warn-no-port P13 85 # ----------------------------------- TOP # | 3V3 | GND | P13 | P12 | P11 | P10 | ^ # ----------------------------------- -# | 3V3 | GND | P23 | P22 | P21 | P20 | << +# | 3V3 | GND | P23 | P22 | P21 | P20 | < # ----------------------------------- set_io --warn-no-port P20 95 @@ -208,33 +209,33 @@ set_io --warn-no-port P23 87 # -------------| P3 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P33 | P32 | P31 | P30 | << ^ +# | 3V3 | GND | P33 | P32 | P31 | P30 | < ^ # ----------------------------------- # | 3V3 | GND | P43 | P42 | P41 | P40 | # ----------------------------------- set_io --warn-no-port P30 105 set_io --warn-no-port P31 102 -set_io --warn-no-port P32 99 -set_io --warn-no-port P33 97 +set_io --warn-no-port P32 99 +set_io --warn-no-port P33 97 # -------------| P4 |---------------------------------------------------------- # # ----------------------------------- TOP # | 3V3 | GND | P33 | P32 | P31 | P30 | ^ # ----------------------------------- -# | 3V3 | GND | P43 | P42 | P41 | P40 | << +# | 3V3 | GND | P43 | P42 | P41 | P40 | < # ----------------------------------- set_io --warn-no-port P40 104 set_io --warn-no-port P41 101 -set_io --warn-no-port P42 98 -set_io --warn-no-port P43 96 +set_io --warn-no-port P42 98 +set_io --warn-no-port P43 96 # -------------| P5 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P53 | P52 | P51 | P50 | << ^ +# | 3V3 | GND | P53 | P52 | P51 | P50 | < ^ # ----------------------------------- # | 3V3 | GND | P63 | P62 | P61 | P60 | # ----------------------------------- @@ -249,7 +250,7 @@ set_io --warn-no-port P53 107 # ----------------------------------- TOP # | 3V3 | GND | P53 | P52 | P51 | P50 | ^ # ----------------------------------- -# | 3V3 | GND | P63 | P62 | P61 | P60 | << +# | 3V3 | GND | P63 | P62 | P61 | P60 | < # ----------------------------------- set_io --warn-no-port P60 144 @@ -260,22 +261,22 @@ set_io --warn-no-port P63 106 # -------------| P7 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P73 | P72 | P71 | P70 | << ^ +# | 3V3 | GND | P73 | P72 | P71 | P70 | < ^ # ----------------------------------- # | 3V3 | GND | P83 | P82 | P81 | P80 | # ----------------------------------- set_io --warn-no-port P70 10 -set_io --warn-no-port P71 9 -set_io --warn-no-port P72 2 -set_io --warn-no-port P73 1 +set_io --warn-no-port P71 9 +set_io --warn-no-port P72 2 +set_io --warn-no-port P73 1 # -------------| P8 |---------------------------------------------------------- # # ----------------------------------- TOP # | 3V3 | GND | P73 | P72 | P71 | P70 | ^ # ----------------------------------- -# | 3V3 | GND | P83 | P82 | P81 | P80 | << +# | 3V3 | GND | P83 | P82 | P81 | P80 | < # ----------------------------------- set_io --warn-no-port P80 8 @@ -286,7 +287,7 @@ set_io --warn-no-port P83 3 # -------------| P9 |---------------------------------------------------------- # # --------------------------------------- TOP -# | 3V3 | GND | P93 | P92 | P91 | P90 | << ^ +# | 3V3 | GND | P93 | P92 | P91 | P90 | < ^ # --------------------------------------- # | 3V3 | GND | P103 | P102 | P101 | P100 | # --------------------------------------- @@ -301,7 +302,7 @@ set_io --warn-no-port P93 15 # --------------------------------------- TOP # | 3V3 | GND | P93 | P92 | P91 | P90 | ^ # --------------------------------------- -# | 3V3 | GND | P103 | P102 | P101 | P100 | << +# | 3V3 | GND | P103 | P102 | P101 | P100 | < # --------------------------------------- set_io --warn-no-port P100 18 @@ -312,7 +313,7 @@ set_io --warn-no-port P103 11 # -------------| P11 |--------------------------------------------------------- # # --------------------------------------- TOP -# | 3V3 | GND | P113 | P112 | P111 | P110 | << ^ +# | 3V3 | GND | P113 | P112 | P111 | P110 | < ^ # --------------------------------------- # | 3V3 | GND | P123 | P122 | P121 | P120 | # --------------------------------------- @@ -327,7 +328,7 @@ set_io --warn-no-port P113 21 # --------------------------------------- TOP # | 3V3 | GND | P113 | P112 | P111 | P110 | ^ # --------------------------------------- -# | 3V3 | GND | P123 | P122 | P121 | P120 | << +# | 3V3 | GND | P123 | P122 | P121 | P120 | < # --------------------------------------- set_io --warn-no-port P120 32 @@ -371,31 +372,31 @@ set_io --warn-no-port P143 70 # ------------ SRAM ----------------------------------------------------------- # -set_io --warn-no-port RAMOE 29 +set_io --warn-no-port RAMOE 29 set_io --warn-no-port RAMWE 120 -set_io --warn-no-port RAMCS 23 -set_io --warn-no-port RAMUB 28 -set_io --warn-no-port RAMLB 24 +set_io --warn-no-port RAMCS 23 +set_io --warn-no-port RAMUB 28 +set_io --warn-no-port RAMLB 24 # -------------| ADR |--------------------------------------------------------- -set_io --warn-no-port ADR0 137 -set_io --warn-no-port ADR1 138 -set_io --warn-no-port ADR2 139 -set_io --warn-no-port ADR3 141 -set_io --warn-no-port ADR4 142 -set_io --warn-no-port ADR5 42 -set_io --warn-no-port ADR6 43 -set_io --warn-no-port ADR7 44 -set_io --warn-no-port ADR8 73 -set_io --warn-no-port ADR9 74 -set_io --warn-no-port ADR10 75 -set_io --warn-no-port ADR11 76 +set_io --warn-no-port ADR0 137 +set_io --warn-no-port ADR1 138 +set_io --warn-no-port ADR2 139 +set_io --warn-no-port ADR3 141 +set_io --warn-no-port ADR4 142 +set_io --warn-no-port ADR5 42 +set_io --warn-no-port ADR6 43 +set_io --warn-no-port ADR7 44 +set_io --warn-no-port ADR8 73 +set_io --warn-no-port ADR9 74 +set_io --warn-no-port ADR10 75 +set_io --warn-no-port ADR11 76 set_io --warn-no-port ADR12 115 set_io --warn-no-port ADR13 116 set_io --warn-no-port ADR14 117 set_io --warn-no-port ADR15 118 set_io --warn-no-port ADR16 119 -set_io --warn-no-port ADR17 78 +set_io --warn-no-port ADR17 78 # -------------| DAT |--------------------------------------------------------- set_io --warn-no-port DAT0 136 @@ -406,8 +407,8 @@ set_io --warn-no-port DAT4 125 set_io --warn-no-port DAT5 124 set_io --warn-no-port DAT6 122 set_io --warn-no-port DAT7 121 -set_io --warn-no-port DAT8 62 -set_io --warn-no-port DAT9 61 +set_io --warn-no-port DAT8 62 +set_io --warn-no-port DAT9 61 set_io --warn-no-port DAT10 60 set_io --warn-no-port DAT11 56 set_io --warn-no-port DAT12 55 diff --git a/app/resources/boards/blackice/pinout.json b/app/resources/boards/blackice/pinout.json index f34d59326..b80920b11 100644 --- a/app/resources/boards/blackice/pinout.json +++ b/app/resources/boards/blackice/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "129"}, {"type": "output", "name": "LED1", "value": "71"}, {"type": "output", "name": "LED2", "value": "67"}, {"type": "output", "name": "LED3", "value": "68"}, {"type": "output", "name": "LED4", "value": "70"}, {"type": "input", "name": "B1", "value": "63"}, {"type": "input", "name": "B2", "value": "64"}, {"type": "inout", "name": "P10", "value": "94"}, {"type": "inout", "name": "P11", "value": "91"}, {"type": "inout", "name": "P12", "value": "88"}, {"type": "inout", "name": "P13", "value": "85"}, {"type": "inout", "name": "P20", "value": "95"}, {"type": "inout", "name": "P21", "value": "93"}, {"type": "inout", "name": "P22", "value": "90"}, {"type": "inout", "name": "P23", "value": "87"}, {"type": "inout", "name": "P30", "value": "105"}, {"type": "inout", "name": "P31", "value": "102"}, {"type": "inout", "name": "P32", "value": "99"}, {"type": "inout", "name": "P33", "value": "97"}, {"type": "inout", "name": "P40", "value": "104"}, {"type": "inout", "name": "P41", "value": "101"}, {"type": "inout", "name": "P42", "value": "98"}, {"type": "inout", "name": "P43", "value": "96"}, {"type": "inout", "name": "P50", "value": "143"}, {"type": "inout", "name": "P51", "value": "114"}, {"type": "inout", "name": "P52", "value": "112"}, {"type": "inout", "name": "P53", "value": "107"}, {"type": "inout", "name": "P60", "value": "144"}, {"type": "inout", "name": "P61", "value": "113"}, {"type": "inout", "name": "P62", "value": "110"}, {"type": "inout", "name": "P63", "value": "106"}, {"type": "inout", "name": "P70", "value": "10"}, {"type": "inout", "name": "P71", "value": "9"}, {"type": "inout", "name": "P72", "value": "2"}, {"type": "inout", "name": "P73", "value": "1"}, {"type": "inout", "name": "P80", "value": "8"}, {"type": "inout", "name": "P81", "value": "7"}, {"type": "inout", "name": "P82", "value": "4"}, {"type": "inout", "name": "P83", "value": "3"}, {"type": "inout", "name": "P90", "value": "20"}, {"type": "inout", "name": "P91", "value": "19"}, {"type": "inout", "name": "P92", "value": "16"}, {"type": "inout", "name": "P93", "value": "15"}, {"type": "inout", "name": "P100", "value": "18"}, {"type": "inout", "name": "P101", "value": "17"}, {"type": "inout", "name": "P102", "value": "12"}, {"type": "inout", "name": "P103", "value": "11"}, {"type": "inout", "name": "P110", "value": "34"}, {"type": "inout", "name": "P111", "value": "33"}, {"type": "inout", "name": "P112", "value": "22"}, {"type": "inout", "name": "P113", "value": "21"}, {"type": "inout", "name": "P120", "value": "32"}, {"type": "inout", "name": "P121", "value": "31"}, {"type": "inout", "name": "P122", "value": "26"}, {"type": "inout", "name": "P123", "value": "25"}, {"type": "inout", "name": "P130", "value": "29"}, {"type": "inout", "name": "P131", "value": "28"}, {"type": "inout", "name": "P132", "value": "24"}, {"type": "inout", "name": "P133", "value": "23"}, {"type": "inout", "name": "P140", "value": "71"}, {"type": "inout", "name": "P141", "value": "67"}, {"type": "inout", "name": "P142", "value": "68"}, {"type": "inout", "name": "P143", "value": "70"}, {"type": "inout", "name": "RAMOE", "value": "45"}, {"type": "inout", "name": "RAMWE", "value": "120"}, {"type": "inout", "name": "RAMCS", "value": "136"}, {"type": "inout", "name": "ADR0", "value": "137"}, {"type": "inout", "name": "ADR1", "value": "138"}, {"type": "inout", "name": "ADR2", "value": "139"}, {"type": "inout", "name": "ADR3", "value": "141"}, {"type": "inout", "name": "ADR4", "value": "142"}, {"type": "inout", "name": "ADR5", "value": "42"}, {"type": "inout", "name": "ADR6", "value": "43"}, {"type": "inout", "name": "ADR7", "value": "44"}, {"type": "inout", "name": "ADR8", "value": "73"}, {"type": "inout", "name": "ADR9", "value": "74"}, {"type": "inout", "name": "ADR10", "value": "75"}, {"type": "inout", "name": "ADR11", "value": "76"}, {"type": "inout", "name": "ADR12", "value": "115"}, {"type": "inout", "name": "ADR13", "value": "116"}, {"type": "inout", "name": "ADR14", "value": "117"}, {"type": "inout", "name": "ADR15", "value": "118"}, {"type": "inout", "name": "ADR16", "value": "119"}, {"type": "inout", "name": "ADR17", "value": "78"}, {"type": "inout", "name": "ADR18", "value": "62"}, {"type": "inout", "name": "DAT0", "value": "135"}, {"type": "inout", "name": "DAT1", "value": "134"}, {"type": "inout", "name": "DAT2", "value": "130"}, {"type": "inout", "name": "DAT3", "value": "128"}, {"type": "inout", "name": "DAT4", "value": "125"}, {"type": "inout", "name": "DAT5", "value": "124"}, {"type": "inout", "name": "DAT6", "value": "122"}, {"type": "inout", "name": "DAT7", "value": "121"}, {"type": "inout", "name": "DAT8", "value": "61"}, {"type": "inout", "name": "DAT9", "value": "60"}, {"type": "inout", "name": "DAT10", "value": "56"}, {"type": "inout", "name": "DAT11", "value": "55"}, {"type": "inout", "name": "DAT12", "value": "52"}, {"type": "inout", "name": "DAT13", "value": "49"}, {"type": "inout", "name": "DAT14", "value": "48"}, {"type": "inout", "name": "DAT15", "value": "47"}, {"type": "output", "name": "SS", "value": "71"}, {"type": "input", "name": "MISO", "value": "67"}, {"type": "output", "name": "MOSI", "value": "68"}, {"type": "output", "name": "SCK", "value": "70"}] \ No newline at end of file +[{"type": "output", "name": "LED1", "value": "71"}, {"type": "output", "name": "LED2", "value": "67"}, {"type": "output", "name": "LED3", "value": "68"}, {"type": "output", "name": "LED4", "value": "70"}, {"type": "input", "name": "B1", "value": "63"}, {"type": "input", "name": "B2", "value": "64"}, {"type": "input", "name": "CLK", "value": "129"}, {"type": "inout", "name": "P10", "value": "94"}, {"type": "inout", "name": "P11", "value": "91"}, {"type": "inout", "name": "P12", "value": "88"}, {"type": "inout", "name": "P13", "value": "85"}, {"type": "inout", "name": "P20", "value": "95"}, {"type": "inout", "name": "P21", "value": "93"}, {"type": "inout", "name": "P22", "value": "90"}, {"type": "inout", "name": "P23", "value": "87"}, {"type": "inout", "name": "P30", "value": "105"}, {"type": "inout", "name": "P31", "value": "102"}, {"type": "inout", "name": "P32", "value": "99"}, {"type": "inout", "name": "P33", "value": "97"}, {"type": "inout", "name": "P40", "value": "104"}, {"type": "inout", "name": "P41", "value": "101"}, {"type": "inout", "name": "P42", "value": "98"}, {"type": "inout", "name": "P43", "value": "96"}, {"type": "inout", "name": "P50", "value": "143"}, {"type": "inout", "name": "P51", "value": "114"}, {"type": "inout", "name": "P52", "value": "112"}, {"type": "inout", "name": "P53", "value": "107"}, {"type": "inout", "name": "P60", "value": "144"}, {"type": "inout", "name": "P61", "value": "113"}, {"type": "inout", "name": "P62", "value": "110"}, {"type": "inout", "name": "P63", "value": "106"}, {"type": "inout", "name": "P70", "value": "10"}, {"type": "inout", "name": "P71", "value": "9"}, {"type": "inout", "name": "P72", "value": "2"}, {"type": "inout", "name": "P73", "value": "1"}, {"type": "inout", "name": "P80", "value": "8"}, {"type": "inout", "name": "P81", "value": "7"}, {"type": "inout", "name": "P82", "value": "4"}, {"type": "inout", "name": "P83", "value": "3"}, {"type": "inout", "name": "P90", "value": "20"}, {"type": "inout", "name": "P91", "value": "19"}, {"type": "inout", "name": "P92", "value": "16"}, {"type": "inout", "name": "P93", "value": "15"}, {"type": "inout", "name": "P100", "value": "18"}, {"type": "inout", "name": "P101", "value": "17"}, {"type": "inout", "name": "P102", "value": "12"}, {"type": "inout", "name": "P103", "value": "11"}, {"type": "inout", "name": "P110", "value": "34"}, {"type": "inout", "name": "P111", "value": "33"}, {"type": "inout", "name": "P112", "value": "22"}, {"type": "inout", "name": "P113", "value": "21"}, {"type": "inout", "name": "P120", "value": "32"}, {"type": "inout", "name": "P121", "value": "31"}, {"type": "inout", "name": "P122", "value": "26"}, {"type": "inout", "name": "P123", "value": "25"}, {"type": "inout", "name": "P130", "value": "29"}, {"type": "inout", "name": "P131", "value": "28"}, {"type": "inout", "name": "P132", "value": "24"}, {"type": "inout", "name": "P133", "value": "23"}, {"type": "inout", "name": "P140", "value": "71"}, {"type": "inout", "name": "P141", "value": "67"}, {"type": "inout", "name": "P142", "value": "68"}, {"type": "inout", "name": "P143", "value": "70"}, {"type": "inout", "name": "RAMOE", "value": "45"}, {"type": "inout", "name": "RAMWE", "value": "120"}, {"type": "inout", "name": "RAMCS", "value": "136"}, {"type": "inout", "name": "ADR0", "value": "137"}, {"type": "inout", "name": "ADR1", "value": "138"}, {"type": "inout", "name": "ADR2", "value": "139"}, {"type": "inout", "name": "ADR3", "value": "141"}, {"type": "inout", "name": "ADR4", "value": "142"}, {"type": "inout", "name": "ADR5", "value": "42"}, {"type": "inout", "name": "ADR6", "value": "43"}, {"type": "inout", "name": "ADR7", "value": "44"}, {"type": "inout", "name": "ADR8", "value": "73"}, {"type": "inout", "name": "ADR9", "value": "74"}, {"type": "inout", "name": "ADR10", "value": "75"}, {"type": "inout", "name": "ADR11", "value": "76"}, {"type": "inout", "name": "ADR12", "value": "115"}, {"type": "inout", "name": "ADR13", "value": "116"}, {"type": "inout", "name": "ADR14", "value": "117"}, {"type": "inout", "name": "ADR15", "value": "118"}, {"type": "inout", "name": "ADR16", "value": "119"}, {"type": "inout", "name": "ADR17", "value": "78"}, {"type": "inout", "name": "ADR18", "value": "62"}, {"type": "inout", "name": "DAT0", "value": "135"}, {"type": "inout", "name": "DAT1", "value": "134"}, {"type": "inout", "name": "DAT2", "value": "130"}, {"type": "inout", "name": "DAT3", "value": "128"}, {"type": "inout", "name": "DAT4", "value": "125"}, {"type": "inout", "name": "DAT5", "value": "124"}, {"type": "inout", "name": "DAT6", "value": "122"}, {"type": "inout", "name": "DAT7", "value": "121"}, {"type": "inout", "name": "DAT8", "value": "61"}, {"type": "inout", "name": "DAT9", "value": "60"}, {"type": "inout", "name": "DAT10", "value": "56"}, {"type": "inout", "name": "DAT11", "value": "55"}, {"type": "inout", "name": "DAT12", "value": "52"}, {"type": "inout", "name": "DAT13", "value": "49"}, {"type": "inout", "name": "DAT14", "value": "48"}, {"type": "inout", "name": "DAT15", "value": "47"}, {"type": "output", "name": "SS", "value": "71"}, {"type": "input", "name": "MISO", "value": "67"}, {"type": "output", "name": "MOSI", "value": "68"}, {"type": "output", "name": "SCK", "value": "70"}] \ No newline at end of file diff --git a/app/resources/boards/blackice/pinout.pcf b/app/resources/boards/blackice/pinout.pcf index aa35ae101..6e2af5855 100644 --- a/app/resources/boards/blackice/pinout.pcf +++ b/app/resources/boards/blackice/pinout.pcf @@ -6,11 +6,7 @@ # ----------------------------------------------------------------------------- -# ------------ System clock --------------------------------------------------- -set_io --warn-no-port CLK 129 # input - - -# ------------ LEDs map ------------------------------------------------------- +# ------------ LEDs ----------------------------------------------------------- # ______ ______ # ___| |______________| |___ # | |______| |______| | @@ -46,7 +42,7 @@ set_io --warn-no-port LED4 70 # output # LED4 = SCK = P143 -# ------------ Buttons map ---------------------------------------------------- +# ------------ Buttons -------------------------------------------------------- # ______ ______ # ___| |______________| |___ # | |______| |______| | @@ -71,6 +67,10 @@ set_io --warn-no-port B1 63 # input set_io --warn-no-port B2 64 # input +# ------------ System 12 MHz clock -------------------------------------------- +set_io --warn-no-port CLK 129 # input + + # ------------ Digital connectors --------------------------------------------- # ______ ______ # ___| |______________| |___ @@ -171,7 +171,7 @@ set_io --warn-no-port B2 64 # input # -------------| P1 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P13 | P12 | P11 | P10 | << ^ +# | 3V3 | GND | P13 | P12 | P11 | P10 | < ^ # ----------------------------------- # | 3V3 | GND | P23 | P22 | P21 | P20 | # ----------------------------------- @@ -188,7 +188,7 @@ set_io --warn-no-port P13 85 # ----------------------------------- TOP # | 3V3 | GND | P13 | P12 | P11 | P10 | ^ # ----------------------------------- -# | 3V3 | GND | P23 | P22 | P21 | P20 | << +# | 3V3 | GND | P23 | P22 | P21 | P20 | < # ----------------------------------- set_io --warn-no-port P20 95 @@ -199,33 +199,33 @@ set_io --warn-no-port P23 87 # -------------| P3 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P33 | P32 | P31 | P30 | << ^ +# | 3V3 | GND | P33 | P32 | P31 | P30 | < ^ # ----------------------------------- # | 3V3 | GND | P43 | P42 | P41 | P40 | # ----------------------------------- set_io --warn-no-port P30 105 set_io --warn-no-port P31 102 -set_io --warn-no-port P32 99 -set_io --warn-no-port P33 97 +set_io --warn-no-port P32 99 +set_io --warn-no-port P33 97 # -------------| P4 |---------------------------------------------------------- # # ----------------------------------- TOP # | 3V3 | GND | P33 | P32 | P31 | P30 | ^ # ----------------------------------- -# | 3V3 | GND | P43 | P42 | P41 | P40 | << +# | 3V3 | GND | P43 | P42 | P41 | P40 | < # ----------------------------------- set_io --warn-no-port P40 104 set_io --warn-no-port P41 101 -set_io --warn-no-port P42 98 -set_io --warn-no-port P43 96 +set_io --warn-no-port P42 98 +set_io --warn-no-port P43 96 # -------------| P5 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P53 | P52 | P51 | P50 | << ^ +# | 3V3 | GND | P53 | P52 | P51 | P50 | < ^ # ----------------------------------- # | 3V3 | GND | P63 | P62 | P61 | P60 | # ----------------------------------- @@ -240,7 +240,7 @@ set_io --warn-no-port P53 107 # ----------------------------------- TOP # | 3V3 | GND | P53 | P52 | P51 | P50 | ^ # ----------------------------------- -# | 3V3 | GND | P63 | P62 | P61 | P60 | << +# | 3V3 | GND | P63 | P62 | P61 | P60 | < # ----------------------------------- set_io --warn-no-port P60 144 @@ -251,22 +251,22 @@ set_io --warn-no-port P63 106 # -------------| P7 |---------------------------------------------------------- # # ----------------------------------- TOP -# | 3V3 | GND | P73 | P72 | P71 | P70 | << ^ +# | 3V3 | GND | P73 | P72 | P71 | P70 | < ^ # ----------------------------------- # | 3V3 | GND | P83 | P82 | P81 | P80 | # ----------------------------------- set_io --warn-no-port P70 10 -set_io --warn-no-port P71 9 -set_io --warn-no-port P72 2 -set_io --warn-no-port P73 1 +set_io --warn-no-port P71 9 +set_io --warn-no-port P72 2 +set_io --warn-no-port P73 1 # -------------| P8 |---------------------------------------------------------- # # ----------------------------------- TOP # | 3V3 | GND | P73 | P72 | P71 | P70 | ^ # ----------------------------------- -# | 3V3 | GND | P83 | P82 | P81 | P80 | << +# | 3V3 | GND | P83 | P82 | P81 | P80 | < # ----------------------------------- set_io --warn-no-port P80 8 @@ -277,7 +277,7 @@ set_io --warn-no-port P83 3 # -------------| P9 |---------------------------------------------------------- # # --------------------------------------- TOP -# | 3V3 | GND | P93 | P92 | P91 | P90 | << ^ +# | 3V3 | GND | P93 | P92 | P91 | P90 | < ^ # --------------------------------------- # | 3V3 | GND | P103 | P102 | P101 | P100 | # --------------------------------------- @@ -292,7 +292,7 @@ set_io --warn-no-port P93 15 # --------------------------------------- TOP # | 3V3 | GND | P93 | P92 | P91 | P90 | ^ # --------------------------------------- -# | 3V3 | GND | P103 | P102 | P101 | P100 | << +# | 3V3 | GND | P103 | P102 | P101 | P100 | < # --------------------------------------- set_io --warn-no-port P100 18 @@ -303,7 +303,7 @@ set_io --warn-no-port P103 11 # -------------| P11 |--------------------------------------------------------- # # --------------------------------------- TOP -# | 3V3 | GND | P113 | P112 | P111 | P110 | << ^ +# | 3V3 | GND | P113 | P112 | P111 | P110 | < ^ # --------------------------------------- # | 3V3 | GND | P123 | P122 | P121 | P120 | # --------------------------------------- @@ -318,7 +318,7 @@ set_io --warn-no-port P113 21 # --------------------------------------- TOP # | 3V3 | GND | P113 | P112 | P111 | P110 | ^ # --------------------------------------- -# | 3V3 | GND | P123 | P122 | P121 | P120 | << +# | 3V3 | GND | P123 | P122 | P121 | P120 | < # --------------------------------------- set_io --warn-no-port P120 32 @@ -357,30 +357,30 @@ set_io --warn-no-port P143 70 # ------------ SRAM ----------------------------------------------------------- # -set_io --warn-no-port RAMOE 45 +set_io --warn-no-port RAMOE 45 set_io --warn-no-port RAMWE 120 set_io --warn-no-port RAMCS 136 # -------------| ADR |--------------------------------------------------------- -set_io --warn-no-port ADR0 137 -set_io --warn-no-port ADR1 138 -set_io --warn-no-port ADR2 139 -set_io --warn-no-port ADR3 141 -set_io --warn-no-port ADR4 142 -set_io --warn-no-port ADR5 42 -set_io --warn-no-port ADR6 43 -set_io --warn-no-port ADR7 44 -set_io --warn-no-port ADR8 73 -set_io --warn-no-port ADR9 74 -set_io --warn-no-port ADR10 75 -set_io --warn-no-port ADR11 76 +set_io --warn-no-port ADR0 137 +set_io --warn-no-port ADR1 138 +set_io --warn-no-port ADR2 139 +set_io --warn-no-port ADR3 141 +set_io --warn-no-port ADR4 142 +set_io --warn-no-port ADR5 42 +set_io --warn-no-port ADR6 43 +set_io --warn-no-port ADR7 44 +set_io --warn-no-port ADR8 73 +set_io --warn-no-port ADR9 74 +set_io --warn-no-port ADR10 75 +set_io --warn-no-port ADR11 76 set_io --warn-no-port ADR12 115 set_io --warn-no-port ADR13 116 set_io --warn-no-port ADR14 117 set_io --warn-no-port ADR15 118 set_io --warn-no-port ADR16 119 -set_io --warn-no-port ADR17 78 -set_io --warn-no-port ADR18 62 +set_io --warn-no-port ADR17 78 +set_io --warn-no-port ADR18 62 # -------------| DAT |--------------------------------------------------------- set_io --warn-no-port DAT0 135 @@ -391,8 +391,8 @@ set_io --warn-no-port DAT4 125 set_io --warn-no-port DAT5 124 set_io --warn-no-port DAT6 122 set_io --warn-no-port DAT7 121 -set_io --warn-no-port DAT8 61 -set_io --warn-no-port DAT9 60 +set_io --warn-no-port DAT8 61 +set_io --warn-no-port DAT9 60 set_io --warn-no-port DAT10 56 set_io --warn-no-port DAT11 55 set_io --warn-no-port DAT12 52 diff --git a/app/resources/boards/fpga101/pinout.json b/app/resources/boards/fpga101/pinout.json index 4e6a6d473..e11b7ea7e 100644 --- a/app/resources/boards/fpga101/pinout.json +++ b/app/resources/boards/fpga101/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VS", "value": "11"}, {"type": "output", "name": "LCD_HS", "value": "9"}, {"type": "output", "name": "LCD_RST", "value": "2"}, {"type": "output", "name": "LCD_D7", "value": "6"}, {"type": "output", "name": "LCD_D6", "value": "44"}, {"type": "output", "name": "LCD_D5", "value": "4"}, {"type": "output", "name": "LCD_D4", "value": "3"}, {"type": "output", "name": "LCD_D3", "value": "48"}, {"type": "output", "name": "LCD_D2", "value": "45"}, {"type": "output", "name": "LCD_D1", "value": "47"}, {"type": "output", "name": "LCD_D0", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "input", "name": "B0", "value": "23"}, {"type": "input", "name": "B1", "value": "25"}, {"type": "input", "name": "B2", "value": "26"}, {"type": "input", "name": "B3", "value": "27"}, {"type": "input", "name": "B4", "value": "21"}, {"type": "input", "name": "B5", "value": "12"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "inout", "name": "PMOD0", "value": "32"}, {"type": "inout", "name": "PMOD1", "value": "31"}, {"type": "inout", "name": "PMOD2", "value": "34"}, {"type": "inout", "name": "PMOD3", "value": "43"}, {"type": "inout", "name": "PMOD4", "value": "36"}, {"type": "inout", "name": "PMOD5", "value": "42"}, {"type": "inout", "name": "PMOD6", "value": "38"}, {"type": "inout", "name": "PMOD7", "value": "28"}, {"type": "output", "name": "LED_G", "value": "39"}, {"type": "output", "name": "LED_B", "value": "40"}, {"type": "output", "name": "LED_R", "value": "41"}] \ No newline at end of file +[{"type": "output", "name": "LED_G", "value": "39"}, {"type": "output", "name": "LED_B", "value": "40"}, {"type": "output", "name": "LED_R", "value": "41"}, {"type": "input", "name": "BTN0", "value": "23"}, {"type": "input", "name": "BTN1", "value": "25"}, {"type": "input", "name": "BTN2", "value": "26"}, {"type": "input", "name": "BTN3", "value": "27"}, {"type": "input", "name": "BTN4", "value": "21"}, {"type": "input", "name": "BTN5", "value": "12"}, {"type": "output", "name": "LCD_CLK", "value": "18"}, {"type": "output", "name": "LCD_DEN", "value": "19"}, {"type": "output", "name": "LCD_VS", "value": "11"}, {"type": "output", "name": "LCD_HS", "value": "9"}, {"type": "output", "name": "LCD_RST", "value": "2"}, {"type": "output", "name": "LCD_D7", "value": "6"}, {"type": "output", "name": "LCD_D6", "value": "44"}, {"type": "output", "name": "LCD_D5", "value": "4"}, {"type": "output", "name": "LCD_D4", "value": "3"}, {"type": "output", "name": "LCD_D3", "value": "48"}, {"type": "output", "name": "LCD_D2", "value": "45"}, {"type": "output", "name": "LCD_D1", "value": "47"}, {"type": "output", "name": "LCD_D0", "value": "46"}, {"type": "output", "name": "LCD_PWM", "value": "13"}, {"type": "output", "name": "AUDIO", "value": "37"}, {"type": "input", "name": "CLK", "value": "35"}, {"type": "inout", "name": "PMOD0", "value": "32"}, {"type": "inout", "name": "PMOD1", "value": "31"}, {"type": "inout", "name": "PMOD2", "value": "34"}, {"type": "inout", "name": "PMOD3", "value": "43"}, {"type": "inout", "name": "PMOD4", "value": "36"}, {"type": "inout", "name": "PMOD5", "value": "42"}, {"type": "inout", "name": "PMOD6", "value": "38"}, {"type": "inout", "name": "PMOD7", "value": "28"}] \ No newline at end of file diff --git a/app/resources/boards/fpga101/pinout.pcf b/app/resources/boards/fpga101/pinout.pcf index a18184038..0dcc1dd16 100644 --- a/app/resources/boards/fpga101/pinout.pcf +++ b/app/resources/boards/fpga101/pinout.pcf @@ -1,34 +1,52 @@ -# 12 MHz clock -set_io --warn-no-port CLK 35 # input - -# LCD connector -set_io --warn-no-port LCD_CLK 18 # output -set_io --warn-no-port LCD_DEN 19 # output -set_io --warn-no-port LCD_VS 11 # output -set_io --warn-no-port LCD_HS 9 # output -set_io --warn-no-port LCD_RST 2 # output -set_io --warn-no-port LCD_D7 6 # output -set_io --warn-no-port LCD_D6 44 # output -set_io --warn-no-port LCD_D5 4 # output -set_io --warn-no-port LCD_D4 3 # output -set_io --warn-no-port LCD_D3 48 # output -set_io --warn-no-port LCD_D2 45 # output -set_io --warn-no-port LCD_D1 47 # output -set_io --warn-no-port LCD_D0 46 # output -set_io --warn-no-port LCD_PWM 13 # output - -# Buttons -set_io --warn-no-port B0 23 # input -set_io --warn-no-port B1 25 # input -set_io --warn-no-port B2 26 # input -set_io --warn-no-port B3 27 # input -set_io --warn-no-port B4 21 # input -set_io --warn-no-port B5 12 # input - -# Audio jack -set_io --warn-no-port AUDIO 37 # output - -# PMOD connector +# ----------------------------------------------------------------------------- +#- FPGA 101 constraint file (.pcf) +#- By Miodrag Milanovic +#- March - 2018 +#- GPL license +# ----------------------------------------------------------------------------- + + +# ------------ RGB LED Driver ------------------------------------------------- +set_io --warn-no-port LED_G 39 # output +set_io --warn-no-port LED_B 40 # output +set_io --warn-no-port LED_R 41 # output + + +# ------------ Buttons -------------------------------------------------------- +set_io --warn-no-port BTN0 23 # input +set_io --warn-no-port BTN1 25 # input +set_io --warn-no-port BTN2 26 # input +set_io --warn-no-port BTN3 27 # input +set_io --warn-no-port BTN4 21 # input +set_io --warn-no-port BTN5 12 # input + + +# ------------ LCD connector -------------------------------------------------- +set_io --warn-no-port LCD_CLK 18 # output +set_io --warn-no-port LCD_DEN 19 # output +set_io --warn-no-port LCD_VS 11 # output +set_io --warn-no-port LCD_HS 9 # output +set_io --warn-no-port LCD_RST 2 # output +set_io --warn-no-port LCD_D7 6 # output +set_io --warn-no-port LCD_D6 44 # output +set_io --warn-no-port LCD_D5 4 # output +set_io --warn-no-port LCD_D4 3 # output +set_io --warn-no-port LCD_D3 48 # output +set_io --warn-no-port LCD_D2 45 # output +set_io --warn-no-port LCD_D1 47 # output +set_io --warn-no-port LCD_D0 46 # output +set_io --warn-no-port LCD_PWM 13 # output + + +# ------------ Audio jack ----------------------------------------------------- +set_io --warn-no-port AUDIO 37 # output + + +# ------------ System 12 MHz clock -------------------------------------------- +set_io --warn-no-port CLK 35 # input + + +# ------------ PMOD connector ------------------------------------------------- set_io --warn-no-port PMOD0 32 set_io --warn-no-port PMOD1 31 set_io --warn-no-port PMOD2 34 @@ -37,8 +55,3 @@ set_io --warn-no-port PMOD4 36 set_io --warn-no-port PMOD5 42 set_io --warn-no-port PMOD6 38 set_io --warn-no-port PMOD7 28 - -# RGB LED Driver -set_io --warn-no-port LED_G 39 # output -set_io --warn-no-port LED_B 40 # output -set_io --warn-no-port LED_R 41 # output diff --git a/app/resources/boards/go-board/pinout.pcf b/app/resources/boards/go-board/pinout.pcf index 171affdf2..70b38149a 100644 --- a/app/resources/boards/go-board/pinout.pcf +++ b/app/resources/boards/go-board/pinout.pcf @@ -5,89 +5,95 @@ #- GPL license #- Data obtained from the go-board official constraint file: #- https://www.nandland.com/goboard/Go_Board_Constraints.pcf -#- +#- Board info: https://www.nandland.com/goboard/introduction.html +#- Pinout: https://www.nandland.com/goboard/images/Go_Board_V1.pdf # ----------------------------------------------------------------------------- -# -- Board info: https://www.nandland.com/goboard/introduction.html -# -- Pinout: https://www.nandland.com/goboard/images/Go_Board_V1.pdf -# ------------ User Leds ------------------------------------------------------ -set_io --warn-no-port LED1 56 # output -set_io --warn-no-port LED2 57 # output -set_io --warn-no-port LED3 59 # output -set_io --warn-no-port LED4 60 # output -# ------------ User push-buttons ---------------------------------------------- -set_io --warn-no-port SW1 53 # input -set_io --warn-no-port SW2 51 # input -set_io --warn-no-port SW3 54 # input -set_io --warn-no-port SW4 52 # input +# ------------ LEDs ----------------------------------------------------------- +set_io --warn-no-port LED1 56 # output +set_io --warn-no-port LED2 57 # output +set_io --warn-no-port LED3 59 # output +set_io --warn-no-port LED4 60 # output + + +# ------------ Buttons -------------------------------------------------------- +set_io --warn-no-port SW1 53 # input +set_io --warn-no-port SW2 51 # input +set_io --warn-no-port SW3 54 # input +set_io --warn-no-port SW4 52 # input + # ------------ 7 segments ----------------------------------------------------- -set_io --warn-no-port S1_A 3 # output -set_io --warn-no-port S1_B 4 # output -set_io --warn-no-port S1_C 93 # output -set_io --warn-no-port S1_D 91 # output -set_io --warn-no-port S1_E 90 # output -set_io --warn-no-port S1_F 1 # output -set_io --warn-no-port S1_G 2 # output - -set_io --warn-no-port S2_A 100 # output -set_io --warn-no-port S2_B 99 # output -set_io --warn-no-port S2_C 97 # output -set_io --warn-no-port S2_D 95 # output -set_io --warn-no-port S2_E 94 # output -set_io --warn-no-port S2_F 8 # output -set_io --warn-no-port S2_G 96 # output - -# -------------------------- SYSTEM CLOCK ------------------------------------- +set_io --warn-no-port S1_A 3 # output +set_io --warn-no-port S1_B 4 # output +set_io --warn-no-port S1_C 93 # output +set_io --warn-no-port S1_D 91 # output +set_io --warn-no-port S1_E 90 # output +set_io --warn-no-port S1_F 1 # output +set_io --warn-no-port S1_G 2 # output + +set_io --warn-no-port S2_A 100 # output +set_io --warn-no-port S2_B 99 # output +set_io --warn-no-port S2_C 97 # output +set_io --warn-no-port S2_D 95 # output +set_io --warn-no-port S2_E 94 # output +set_io --warn-no-port S2_F 8 # output +set_io --warn-no-port S2_G 96 # output + + +# ------------ System 12 MHz clock -------------------------------------------- set_io --warn-no-port CLK 15 # input -# -------------------------- UART --------------------------------------------- -set_io --warn-no-port RX 73 # input -set_io --warn-no-port TX 74 # output - -# -------------------------- VGA ---------------------------------------------- -set_io --warn-no-port VGA_HS 26 # output -set_io --warn-no-port VGA_VS 27 # output -set_io --warn-no-port VGA_R0 36 # output -set_io --warn-no-port VGA_R1 37 # output -set_io --warn-no-port VGA_R2 40 # output -set_io --warn-no-port VGA_G0 29 # output -set_io --warn-no-port VGA_G1 30 # output -set_io --warn-no-port VGA_G2 33 # output -set_io --warn-no-port VGA_B0 28 # output -set_io --warn-no-port VGA_B1 41 # output -set_io --warn-no-port VGA_B2 42 # output + +# ------------ UART ----------------------------------------------------------- +set_io --warn-no-port RX 73 # input +set_io --warn-no-port TX 74 # output + + +# ------------ VGA ------------------------------------------------------------ +set_io --warn-no-port VGA_HS 26 # output +set_io --warn-no-port VGA_VS 27 # output +set_io --warn-no-port VGA_R0 36 # output +set_io --warn-no-port VGA_R1 37 # output +set_io --warn-no-port VGA_R2 40 # output +set_io --warn-no-port VGA_G0 29 # output +set_io --warn-no-port VGA_G1 30 # output +set_io --warn-no-port VGA_G2 33 # output +set_io --warn-no-port VGA_B0 28 # output +set_io --warn-no-port VGA_B1 41 # output +set_io --warn-no-port VGA_B2 42 # output + # ------------ PMOD connector ------------------------------------------------- # # Pmod standar numeration # -# -------- -# >| 1 7 | -# | 2 8 | -# | 3 9 | -# | 4 10 | -# | 5 11 | -# | 6 12 | -# -------- +# ------ +# > | 1 7 | +# | 2 8 | +# | 3 9 | +# | 4 10 | +# | 5 11 | +# | 6 12 | +# ------ # # FPGA pins: # -# ---------- -# >| 65 78 | -# | 64 79 | -# | 63 80 | -# | 62 81 | -# | GND GND | -# | 3v3 3v3 | -# ---------- -# -set_io --warn-no-port PMOD1 65 -set_io --warn-no-port PMOD2 64 -set_io --warn-no-port PMOD3 63 -set_io --warn-no-port PMOD4 62 -set_io --warn-no-port PMOD7 78 -set_io --warn-no-port PMOD8 79 -set_io --warn-no-port PMOD9 80 -set_io --warn-no-port PMOD10 81 +# --------- +# > | 65 78 | +# | 64 79 | +# | 63 80 | +# | 62 81 | +# | GND GND | +# | 3V3 3V3 | +# --------- + +set_io --warn-no-port PMOD1 65 +set_io --warn-no-port PMOD2 64 +set_io --warn-no-port PMOD3 63 +set_io --warn-no-port PMOD4 62 +set_io --warn-no-port PMOD7 78 +set_io --warn-no-port PMOD8 79 +set_io --warn-no-port PMOD9 80 +set_io --warn-no-port PMOD10 81 diff --git a/app/resources/boards/iCE40-HX8K/pinout.pcf b/app/resources/boards/iCE40-HX8K/pinout.pcf index f5c79097b..b96d00d4c 100644 --- a/app/resources/boards/iCE40-HX8K/pinout.pcf +++ b/app/resources/boards/iCE40-HX8K/pinout.pcf @@ -4,41 +4,44 @@ #- November - 2016 #- GPL license #- Board info: http://www.latticesemi.com/view_document?document_id=50373 +# ----------------------------------------------------------------------------- -#---------------------------- LEDS -------------------------------------------- -set_io --warn-no-port LED0 B5 # output -set_io --warn-no-port LED1 B4 # output -set_io --warn-no-port LED2 A2 # output -set_io --warn-no-port LED3 A1 # output -set_io --warn-no-port LED4 C5 # output -set_io --warn-no-port LED5 C4 # output -set_io --warn-no-port LED6 B3 # output -set_io --warn-no-port LED7 C3 # output +# ------------ LEDs ----------------------------------------------------------- +set_io --warn-no-port LED0 B5 # output +set_io --warn-no-port LED1 B4 # output +set_io --warn-no-port LED2 A2 # output +set_io --warn-no-port LED3 A1 # output +set_io --warn-no-port LED4 C5 # output +set_io --warn-no-port LED5 C4 # output +set_io --warn-no-port LED6 B3 # output +set_io --warn-no-port LED7 C3 # output -# -------------------------- SYSTEM CLOCK ------------------------------------- -set_io --warn-no-port CLK J3 # input +# ------------ System 12 MHz clock -------------------------------------------- +set_io --warn-no-port CLK J3 # input -# ------------------------------ FTDI 0 --------------------------------------- + +# ------------ FTDI 0 --------------------------------------------------------- # SPI -set_io --warn-no-port MISO P12 # input -set_io --warn-no-port MOSI P11 # output -set_io --warn-no-port SCK R11 # output -set_io --warn-no-port SS R12 # output #J7.1 +set_io --warn-no-port MISO P12 # input +set_io --warn-no-port MOSI P11 # output +set_io --warn-no-port SCK R11 # output +set_io --warn-no-port SS R12 # output #J7.1 set_io --warn-no-port RESET N11 # input set_io --warn-no-port DONE M10 # output -# ------------------------------ FTDI 1 --------------------------------------- + +# ------------ FTDI 1 --------------------------------------------------------- # UART -set_io --warn-no-port TX B12 # output -set_io --warn-no-port RX B10 # input -set_io --warn-no-port DCD B15 # output -set_io --warn-no-port DSR B14 # output -set_io --warn-no-port DTR A16 # input -set_io --warn-no-port CTS A15 # output -set_io --warn-no-port RTS B13 # input +set_io --warn-no-port TX B12 # output +set_io --warn-no-port RX B10 # input +set_io --warn-no-port DCD B15 # output +set_io --warn-no-port DSR B14 # output +set_io --warn-no-port DTR A16 # input +set_io --warn-no-port CTS A15 # output +set_io --warn-no-port RTS B13 # input # ************************************ @@ -51,34 +54,32 @@ set_io --warn-no-port RTS B13 # input # ------------------------ PMOD0 connector (J1) ------------------------------- # -# -# -# J1 -# -------- -# 1---| A16 VCC |---2 VCCIO0_01 -# 3---| A15 B15 |---4 -# 5---| B13 B14 |---6 -# 7---| GND GND |---8 -# 9---| B12 B11 |---10 -# -------- -# 11---| A11 B10 |---12 -# 13---| A10 C9 |---14 -# 15---| GND GND |---16 -# 17---| A9 B9 |---18 -# 19---| B8 A7 |---20 -# -------- -# 21---| B7 C7 |---22 -# 23---| GND GND |---24 -# 25---| A6 C6 |---26 -# 27---| B6 C5 |---28 -# 29---| A5 C4 |---30 -# -------- -# 31---| GND GND |---32 -# 33---| B5 C3 |---34 -# 35---| B4 B3 |---36 -# 37---| A2 A1 |---38 -# 39---| GND GND |---40 -# --------- +# J1 +# --------- +# > | A16 VCC | VCCIO0_01 +# | A15 B15 | +# | B13 B14 | +# | GND GND | +# | B12 B11 | +# --------- +# | A11 B10 | +# | A10 C9 | +# | GND GND | +# | A9 B9 | +# | B8 A7 | +# --------- +# | B7 C7 | +# | GND GND | +# | A6 C6 | +# | B6 C5 | +# | A5 C4 | +# --------- +# | GND GND | +# | B5 C3 | +# | B4 B3 | +# | A2 A1 | +# | GND GND | +# --------- set_io --warn-no-port A16 A16 set_io --warn-no-port A15 A15 @@ -90,59 +91,58 @@ set_io --warn-no-port B11 B11 set_io --warn-no-port A11 A11 set_io --warn-no-port B10 B10 set_io --warn-no-port A10 A10 -set_io --warn-no-port C9 C9 -set_io --warn-no-port A9 A9 -set_io --warn-no-port B9 B9 -set_io --warn-no-port B8 B8 -set_io --warn-no-port A7 A7 -set_io --warn-no-port B7 B7 -set_io --warn-no-port C7 C7 -set_io --warn-no-port A6 A6 -set_io --warn-no-port C6 C6 -set_io --warn-no-port B6 B6 -set_io --warn-no-port C5 C5 -set_io --warn-no-port A5 A5 -set_io --warn-no-port C4 C4 -set_io --warn-no-port B5 B5 -set_io --warn-no-port C3 C3 -set_io --warn-no-port B4 B4 -set_io --warn-no-port B3 B3 -set_io --warn-no-port A2 A2 -set_io --warn-no-port A1 A1 + +set_io --warn-no-port C9 C9 +set_io --warn-no-port A9 A9 +set_io --warn-no-port B9 B9 +set_io --warn-no-port B8 B8 +set_io --warn-no-port A7 A7 +set_io --warn-no-port B7 B7 +set_io --warn-no-port C7 C7 +set_io --warn-no-port A6 A6 +set_io --warn-no-port C6 C6 +set_io --warn-no-port B6 B6 +set_io --warn-no-port C5 C5 +set_io --warn-no-port A5 A5 +set_io --warn-no-port C4 C4 +set_io --warn-no-port B5 B5 +set_io --warn-no-port C3 C3 +set_io --warn-no-port B4 B4 +set_io --warn-no-port B3 B3 +set_io --warn-no-port A2 A2 +set_io --warn-no-port A1 A1 # ----------------------------- BANK-1 ---------------------------------------- # ------------------------ PMOD1 connector (J2) ------------------------------- # -# -# -# J2 -# -------- -# 1---| 1V2 VCC |---2 VCCIO1_01 -# 3---| 1V2 R15 |---4 -# 5---| P16 P15 |---6 -# 7---| GND GND |---8 -# 9---| N16 M15 |---10 -# -------- -# 11---| M16 L16 |---12 -# 13---| K15 K16 |---14 -# 15---| GND GND |---16 -# 17---| K14 J14 |---18 -# 19---| G14 F14 |---20 -# -------- -# 21---| J15 H14 |---22 -# 23---| GND GND |---24 -#GBIN2 25---| H16 G15 |---26 -# 27---| G16 F15 |---28 -# 29---| F16 E14 |---30 -# -------- -# 31---| GND GND |---32 -# 33---| E16 D15 |---34 -# 35---| D16 D14 |---36 -# 37---| C16 B16 |---38 -# 39---| GND GND |---40 -# --------- +# J2 +# --------- +# > | 1V2 VCC | VCCIO1_01 +# | 1V2 R15 | +# | P16 P15 | +# | GND GND | +# | N16 M15 | +# --------- +# | M16 L16 | +# | K15 K16 | +# | GND GND | +# | K14 J14 | +# | G14 F14 | +# --------- +# | J15 H14 | +# | GND GND | +# | H16 G15 | +# | G16 F15 | +# | F16 E14 | +# --------- +# | GND GND | +# | E16 D15 | +# | D16 D14 | +# | C16 B16 | +# | GND GND | +# --------- set_io --warn-no-port R15 R15 set_io --warn-no-port P16 P16 @@ -173,39 +173,36 @@ set_io --warn-no-port C16 C16 set_io --warn-no-port B16 B16 - # ----------------------------- BANK-2 ---------------------------------------- # ------------------------ PMOD2 connector (J3) ------------------------------- # -# -# -# J3 -# -------- -# 1---| R16 VCC |---2 VCCIO2 -# 3---| T15 T16 |---4 -# 5---| T13 T14 |---6 -# 7---| GND GND |---8 -# 9---| N12 P13 |---10 -# -------- -# 11---| N10 M11 |---12 -# 13---| T11 P10 |---14 -# 15---| GND GND |---16 -# 17---| T10 R10 |---18 -# 19---| P8 P9 |---20 -# -------- -# 21---| T9 R9 |---22 -# 23---| GND GND |---24 -# 25---| T7 T8 |---26 -# 27---| T6 R6 |---28 -# 29---| T5 R5 |---30 -# -------- -# 31---| GND GND |---32 -# 33---| R3 R4 |---34 -# 35---| R2 T3 |---36 -# 37---| T1 T2 |---38 -# 39---| GND GND |---40 -# --------- +# J3 +# --------- +# > | R16 VCC | VCCIO2 +# | T15 T16 | +# | T13 T14 | +# | GND GND | +# | N12 P13 | +# --------- +# | N10 M11 | +# | T11 P10 | +# | GND GND | +# | T10 R10 | +# | P8 P9 | +# --------- +# | T9 R9 | +# | GND GND | +# | T7 T8 | +# | T6 R6 | +# | T5 R5 | +# --------- +# | GND GND | +# | R3 R4 | +# | R2 T3 | +# | T1 T2 | +# | GND GND | +# --------- set_io --warn-no-port R16 R16 set_io --warn-no-port T15 T15 @@ -220,81 +217,80 @@ set_io --warn-no-port T11 T11 set_io --warn-no-port P10 P10 set_io --warn-no-port T10 T10 set_io --warn-no-port R10 R10 -set_io --warn-no-port P8 P8 -set_io --warn-no-port P9 P9 -set_io --warn-no-port T9 T9 -set_io --warn-no-port R9 R9 -set_io --warn-no-port T7 T7 -set_io --warn-no-port T8 T8 -set_io --warn-no-port T6 T6 -set_io --warn-no-port R6 R6 -set_io --warn-no-port T5 T5 -set_io --warn-no-port R5 R5 -set_io --warn-no-port R3 R3 -set_io --warn-no-port R4 R4 -set_io --warn-no-port R2 R2 -set_io --warn-no-port T3 T3 -set_io --warn-no-port T1 T1 -set_io --warn-no-port T2 T2 + +set_io --warn-no-port P8 P8 +set_io --warn-no-port P9 P9 +set_io --warn-no-port T9 T9 +set_io --warn-no-port R9 R9 +set_io --warn-no-port T7 T7 +set_io --warn-no-port T8 T8 +set_io --warn-no-port T6 T6 +set_io --warn-no-port R6 R6 +set_io --warn-no-port T5 T5 +set_io --warn-no-port R5 R5 +set_io --warn-no-port R3 R3 +set_io --warn-no-port R4 R4 +set_io --warn-no-port R2 R2 +set_io --warn-no-port T3 T3 +set_io --warn-no-port T1 T1 +set_io --warn-no-port T2 T2 # ----------------------------- BANK-3 ---------------------------------------- # ------------------------ PMOD3 connector (J4) ------------------------------- # -# -# -# J4 -# -------- -# 1---| 3V3 VCC |---2 VCCIO3_01 -# 3---| 3V3 R1 |---4 -# 5---| P1 P2 |---6 -# 7---| GND GND |---8 -# 9---| N3 N2 |---10 -# -------- -# 11---| M2 M1 |---12 -# 13---| L3 L1 |---14 -# 15---| GND GND |---16 -# 17---| K3 K1 |---18 -# 19---| J2 J1 |---20 -# -------- -# 21---| H2 J3 |---22 -# 23---| GND GND |---24 -# 25---| G2 H1 |---26 -# 27---| F2 G1 |---28 -# 29---| E2 F1 |---30 -# -------- -# 31---| GND GND |---32 -# 33---| D1 D2 |---34 -# 35---| C1 C2 |---36 -# 37---| B1 B2 |---38 -# 39---| GND GND |---40 -# --------- +# J4 +# --------- +# > | 3V3 VCC | VCCIO3_01 +# | 3V3 R1 | +# | P1 P2 | +# | GND GND | +# | N3 N2 | +# --------- +# | M2 M1 | +# | L3 L1 | +# | GND GND | +# | K3 K1 | +# | J2 J1 | +# --------- +# | H2 J3 | +# | GND GND | +# | G2 H1 | +# | F2 G1 | +# | E2 F1 | +# --------- +# | GND GND | +# | D1 D2 | +# | C1 C2 | +# | B1 B2 | +# | GND GND | +# --------- -set_io --warn-no-port R1 R1 -set_io --warn-no-port P1 P1 -set_io --warn-no-port P2 P2 -set_io --warn-no-port N3 N3 -set_io --warn-no-port N2 N2 -set_io --warn-no-port M2 M2 -set_io --warn-no-port M1 M1 -set_io --warn-no-port L3 L3 -set_io --warn-no-port L1 L1 -set_io --warn-no-port K3 K3 -set_io --warn-no-port K1 K1 -set_io --warn-no-port J2 J2 -set_io --warn-no-port J1 J1 -set_io --warn-no-port H2 H2 -set_io --warn-no-port J3 J3 -set_io --warn-no-port G2 G2 -set_io --warn-no-port H1 H1 -set_io --warn-no-port F2 F2 -set_io --warn-no-port G1 G1 -set_io --warn-no-port E2 E2 -set_io --warn-no-port F1 F1 -set_io --warn-no-port D1 D1 -set_io --warn-no-port D2 D2 -set_io --warn-no-port C1 C1 -set_io --warn-no-port C2 C2 -set_io --warn-no-port B1 B1 -set_io --warn-no-port B2 B2 +set_io --warn-no-port R1 R1 +set_io --warn-no-port P1 P1 +set_io --warn-no-port P2 P2 +set_io --warn-no-port N3 N3 +set_io --warn-no-port N2 N2 +set_io --warn-no-port M2 M2 +set_io --warn-no-port M1 M1 +set_io --warn-no-port L3 L3 +set_io --warn-no-port L1 L1 +set_io --warn-no-port K3 K3 +set_io --warn-no-port K1 K1 +set_io --warn-no-port J2 J2 +set_io --warn-no-port J1 J1 +set_io --warn-no-port H2 H2 +set_io --warn-no-port J3 J3 +set_io --warn-no-port G2 G2 +set_io --warn-no-port H1 H1 +set_io --warn-no-port F2 F2 +set_io --warn-no-port G1 G1 +set_io --warn-no-port E2 E2 +set_io --warn-no-port F1 F1 +set_io --warn-no-port D1 D1 +set_io --warn-no-port D2 D2 +set_io --warn-no-port C1 C1 +set_io --warn-no-port C2 C2 +set_io --warn-no-port B1 B1 +set_io --warn-no-port B2 B2 diff --git a/app/resources/boards/iCE40-UP5K/pinout.pcf b/app/resources/boards/iCE40-UP5K/pinout.pcf index c42e18785..5fefd8629 100644 --- a/app/resources/boards/iCE40-UP5K/pinout.pcf +++ b/app/resources/boards/iCE40-UP5K/pinout.pcf @@ -4,6 +4,7 @@ #- April - 2018 #- GPL license #- Board info: http://www.latticesemi.com/view_document?document_id=51987 +# ----------------------------------------------------------------------------- # ------------ LEDs ----------------------------------------------------------- @@ -12,22 +13,22 @@ set_io --warn-no-port LED_G 40 # output set_io --warn-no-port LED_B 39 # output -# ------------ SWITCH BUTTONS ------------------------------------------------- +# ------------ Switch buttons ------------------------------------------------- set_io --warn-no-port SW1 23 # input set_io --warn-no-port SW2 25 # input set_io --warn-no-port SW3 34 # input set_io --warn-no-port SW4 43 # input -# ------------ SYSTEM CLOCK --------------------------------------------------- +# ------------ System 12 MHz clock -------------------------------------------- set_io --warn-no-port CLK 35 # input -# ------------ PROGRAMMING JUMPERS -------------------------------------------- +# ------------ Programming jumpers -------------------------------------------- # # J6 # --------------- -# | F_MOSI MISO | * +# | F_MOSI MISO | < # | MOSI F_MISO | # --------------- # @@ -35,10 +36,10 @@ set_io --warn-no-port CLK 35 # input # For programming iCE || -# ------------ PMOD SOCKET ---------------------------------------------------- +# ------------ PMOD socket ---------------------------------------------------- # # ---------- -# * | SS 38B | +# > | SS 38B | # | MOSI 39A | # | MISO 43A | # | SCK 42B | @@ -57,10 +58,10 @@ set_io --warn-no-port 43A 32 set_io --warn-no-port 42B 31 -# ------------ AARDVARK CONNECTOR --------------------------------------------- +# ------------ Aardvark connector --------------------------------------------- # # --------------- -# * | NC GND | +# > | NC GND | # | NC NC | # | F_MISO NC | # | SCK F_MOSI | @@ -72,14 +73,14 @@ set_io --warn-no-port 42B 31 # # ------------------------------- # | GND SS SCK MISO MOSI 3V3 | -# | GND LED_R GND LED_G LED_B 3V3 | * +# | GND LED_R GND LED_G LED_B 3V3 | < # ------------------------------- # ------------ HEADER B ------------------------------------------------------- # # ---------- -# * | 3V3 3V3 | +# > | 3V3 3V3 | # | 37A NC | # | 36B NC | # | 39A 48B | @@ -111,7 +112,7 @@ set_io --warn-no-port ICLK 35 # input # ------------ HEADER C ------------------------------------------------------- # # --------- -# * | 3V3 22A | +# > | 3V3 22A | # | 8A 23B | # | 9B 24A | # | 4A 25B | diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.json b/app/resources/boards/iCEBreaker-bitsy/pinout.json index 34841a081..666e2eefe 100644 --- a/app/resources/boards/iCEBreaker-bitsy/pinout.json +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "USB_DP", "value": "43"}, {"type": "input", "name": "USB_DN", "value": "42"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "input", "name": "BTN", "value": "10"}, {"type": "output", "name": "LEDR", "value": "11"}, {"type": "output", "name": "LEDG", "value": "37"}, {"type": "output", "name": "LED_R", "value": "39"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "41"}, {"type": "inout", "name": "F_SCK", "value": "15"}, {"type": "inout", "name": "F_SSB", "value": "16"}, {"type": "inout", "name": "F_IO0", "value": "14"}, {"type": "inout", "name": "F_IO1", "value": "17"}, {"type": "inout", "name": "F_IO2", "value": "12"}, {"type": "inout", "name": "F_IO3", "value": "13"}, {"type": "inout", "name": "P02", "value": "44"}, {"type": "inout", "name": "P03", "value": "45"}, {"type": "inout", "name": "P04", "value": "46"}, {"type": "inout", "name": "P05", "value": "47"}, {"type": "inout", "name": "P06", "value": "48"}, {"type": "inout", "name": "P07", "value": "2"}, {"type": "inout", "name": "P08", "value": "3"}, {"type": "inout", "name": "P09", "value": "4"}, {"type": "inout", "name": "P10", "value": "6"}, {"type": "inout", "name": "P11", "value": "9"}, {"type": "inout", "name": "P12", "value": "13"}, {"type": "inout", "name": "P13", "value": "12"}, {"type": "inout", "name": "P17", "value": "25"}, {"type": "inout", "name": "P18", "value": "26"}, {"type": "inout", "name": "P19", "value": "27"}, {"type": "inout", "name": "P20", "value": "28"}, {"type": "inout", "name": "P21", "value": "31"}, {"type": "inout", "name": "P22", "value": "32"}, {"type": "inout", "name": "P23", "value": "34"}, {"type": "inout", "name": "P24", "value": "36"}, {"type": "inout", "name": "P32", "value": "18"}, {"type": "inout", "name": "P34", "value": "19"}, {"type": "inout", "name": "P36", "value": "20"}, {"type": "inout", "name": "P38", "value": "21"}, {"type": "inout", "name": "P40", "value": "23"}] \ No newline at end of file +[{"type": "input", "name": "BTN", "value": "10"}, {"type": "output", "name": "LEDR", "value": "11"}, {"type": "output", "name": "LEDG", "value": "37"}, {"type": "output", "name": "LED_R", "value": "39"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "41"}, {"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "USB_DP", "value": "43"}, {"type": "input", "name": "USB_DN", "value": "42"}, {"type": "input", "name": "USB_DET", "value": "38"}, {"type": "inout", "name": "F_SCK", "value": "15"}, {"type": "inout", "name": "F_SSB", "value": "16"}, {"type": "inout", "name": "F_IO0", "value": "14"}, {"type": "inout", "name": "F_IO1", "value": "17"}, {"type": "inout", "name": "F_IO2", "value": "12"}, {"type": "inout", "name": "F_IO3", "value": "13"}, {"type": "inout", "name": "P02", "value": "44"}, {"type": "inout", "name": "P03", "value": "45"}, {"type": "inout", "name": "P04", "value": "46"}, {"type": "inout", "name": "P05", "value": "47"}, {"type": "inout", "name": "P06", "value": "48"}, {"type": "inout", "name": "P07", "value": "2"}, {"type": "inout", "name": "P08", "value": "3"}, {"type": "inout", "name": "P09", "value": "4"}, {"type": "inout", "name": "P10", "value": "6"}, {"type": "inout", "name": "P11", "value": "9"}, {"type": "inout", "name": "P12", "value": "13"}, {"type": "inout", "name": "P13", "value": "12"}, {"type": "inout", "name": "P17", "value": "25"}, {"type": "inout", "name": "P18", "value": "26"}, {"type": "inout", "name": "P19", "value": "27"}, {"type": "inout", "name": "P20", "value": "28"}, {"type": "inout", "name": "P21", "value": "31"}, {"type": "inout", "name": "P22", "value": "32"}, {"type": "inout", "name": "P23", "value": "34"}, {"type": "inout", "name": "P24", "value": "36"}, {"type": "inout", "name": "P32", "value": "18"}, {"type": "inout", "name": "P34", "value": "19"}, {"type": "inout", "name": "P36", "value": "20"}, {"type": "inout", "name": "P38", "value": "21"}, {"type": "inout", "name": "P40", "value": "23"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf index 782556efa..1bbf5d82b 100644 --- a/app/resources/boards/iCEBreaker-bitsy/pinout.pcf +++ b/app/resources/boards/iCEBreaker-bitsy/pinout.pcf @@ -1,22 +1,33 @@ -# 12 MHz clock -set_io --warn-no-port CLK 35 # input +# ----------------------------------------------------------------------------- +#- iCEBreaker bitsy constraint file (.pcf) +#- By Miodrag Milanovic +#- March - 2018 +#- GPL license +# ----------------------------------------------------------------------------- -# USB -set_io --warn-no-port USB_DP 43 # input -set_io --warn-no-port USB_DN 42 # input -set_io --warn-no-port USB_DET 38 # input +# ------------ Buttons and LEDs ----------------------------------------------- +set_io --warn-no-port BTN 10 # input +set_io --warn-no-port LEDR 11 # output +set_io --warn-no-port LEDG 37 # output -# LEDs and Button -set_io --warn-no-port BTN 10 # input -set_io --warn-no-port LEDR 11 # output -set_io --warn-no-port LEDG 37 # output -# RGB LED Driver -set_io --warn-no-port LED_R 39 # output -set_io --warn-no-port LED_G 40 # output -set_io --warn-no-port LED_B 41 # output +# ------------ RGB LED Driver ------------------------------------------------- +set_io --warn-no-port LED_R 39 # output +set_io --warn-no-port LED_G 40 # output +set_io --warn-no-port LED_B 41 # output -# SPI Flash + +# ------------ System 12 MHz clock -------------------------------------------- +set_io --warn-no-port CLK 35 # input + + +# ------------ USB ------------------------------------------------------------ +set_io --warn-no-port USB_DP 43 # input +set_io --warn-no-port USB_DN 42 # input +set_io --warn-no-port USB_DET 38 # input + + +# ------------ SPI Flash ------------------------------------------------------ set_io --warn-no-port F_SCK 15 set_io --warn-no-port F_SSB 16 set_io --warn-no-port F_IO0 14 @@ -24,7 +35,8 @@ set_io --warn-no-port F_IO1 17 set_io --warn-no-port F_IO2 12 set_io --warn-no-port F_IO3 13 -# GPIO + +# ------------ GPIO ----------------------------------------------------------- set_io --warn-no-port P02 44 set_io --warn-no-port P03 45 set_io --warn-no-port P04 46 diff --git a/app/resources/boards/iCEBreaker/pinout.json b/app/resources/boards/iCEBreaker/pinout.json index d6ef76ab1..9ff757c63 100644 --- a/app/resources/boards/iCEBreaker/pinout.json +++ b/app/resources/boards/iCEBreaker/pinout.json @@ -1 +1 @@ -[{"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "RX", "value": "6"}, {"type": "output", "name": "TX", "value": "9"}, {"type": "input", "name": "BTN", "value": "10"}, {"type": "output", "name": "LEDR", "value": "11"}, {"type": "output", "name": "LEDG", "value": "37"}, {"type": "input", "name": "BTN1", "value": "20"}, {"type": "input", "name": "BTN2", "value": "19"}, {"type": "input", "name": "BTN3", "value": "18"}, {"type": "output", "name": "LED1", "value": "27"}, {"type": "output", "name": "LED2", "value": "25"}, {"type": "output", "name": "LED3", "value": "21"}, {"type": "output", "name": "LED4", "value": "23"}, {"type": "output", "name": "LED5", "value": "26"}, {"type": "output", "name": "LED_R", "value": "39"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "41"}, {"type": "inout", "name": "F_SCK", "value": "15"}, {"type": "inout", "name": "F_SSB", "value": "16"}, {"type": "inout", "name": "F_IO0", "value": "14"}, {"type": "inout", "name": "F_IO1", "value": "17"}, {"type": "inout", "name": "F_IO2", "value": "12"}, {"type": "inout", "name": "F_IO3", "value": "13"}, {"type": "inout", "name": "P1_A1", "value": "4"}, {"type": "inout", "name": "P1_A2", "value": "2"}, {"type": "inout", "name": "P1_A3", "value": "47"}, {"type": "inout", "name": "P1_A4", "value": "45"}, {"type": "inout", "name": "P1_A7", "value": "3"}, {"type": "inout", "name": "P1_A8", "value": "48"}, {"type": "inout", "name": "P1_A9", "value": "46"}, {"type": "inout", "name": "P1_A10", "value": "44"}, {"type": "inout", "name": "P1_B1", "value": "43"}, {"type": "inout", "name": "P1_B2", "value": "38"}, {"type": "inout", "name": "P1_B3", "value": "34"}, {"type": "inout", "name": "P1_B4", "value": "31"}, {"type": "inout", "name": "P1_B7", "value": "42"}, {"type": "inout", "name": "P1_B8", "value": "36"}, {"type": "inout", "name": "P1_B9", "value": "32"}, {"type": "inout", "name": "P1_B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}] \ No newline at end of file +[{"type": "input", "name": "BTN", "value": "10"}, {"type": "output", "name": "LEDR", "value": "11"}, {"type": "output", "name": "LEDG", "value": "37"}, {"type": "input", "name": "BTN1", "value": "20"}, {"type": "input", "name": "BTN2", "value": "19"}, {"type": "input", "name": "BTN3", "value": "18"}, {"type": "output", "name": "LED1", "value": "27"}, {"type": "output", "name": "LED2", "value": "25"}, {"type": "output", "name": "LED3", "value": "21"}, {"type": "output", "name": "LED4", "value": "23"}, {"type": "output", "name": "LED5", "value": "26"}, {"type": "output", "name": "LED_R", "value": "39"}, {"type": "output", "name": "LED_G", "value": "40"}, {"type": "output", "name": "LED_B", "value": "41"}, {"type": "input", "name": "CLK", "value": "35"}, {"type": "input", "name": "RX", "value": "6"}, {"type": "output", "name": "TX", "value": "9"}, {"type": "inout", "name": "F_SCK", "value": "15"}, {"type": "inout", "name": "F_SSB", "value": "16"}, {"type": "inout", "name": "F_IO0", "value": "14"}, {"type": "inout", "name": "F_IO1", "value": "17"}, {"type": "inout", "name": "F_IO2", "value": "12"}, {"type": "inout", "name": "F_IO3", "value": "13"}, {"type": "inout", "name": "P1_A1", "value": "4"}, {"type": "inout", "name": "P1_A2", "value": "2"}, {"type": "inout", "name": "P1_A3", "value": "47"}, {"type": "inout", "name": "P1_A4", "value": "45"}, {"type": "inout", "name": "P1_A7", "value": "3"}, {"type": "inout", "name": "P1_A8", "value": "48"}, {"type": "inout", "name": "P1_A9", "value": "46"}, {"type": "inout", "name": "P1_A10", "value": "44"}, {"type": "inout", "name": "P1_B1", "value": "43"}, {"type": "inout", "name": "P1_B2", "value": "38"}, {"type": "inout", "name": "P1_B3", "value": "34"}, {"type": "inout", "name": "P1_B4", "value": "31"}, {"type": "inout", "name": "P1_B7", "value": "42"}, {"type": "inout", "name": "P1_B8", "value": "36"}, {"type": "inout", "name": "P1_B9", "value": "32"}, {"type": "inout", "name": "P1_B10", "value": "28"}, {"type": "inout", "name": "P2_1", "value": "27"}, {"type": "inout", "name": "P2_2", "value": "25"}, {"type": "inout", "name": "P2_3", "value": "21"}, {"type": "inout", "name": "P2_4", "value": "19"}, {"type": "inout", "name": "P2_7", "value": "26"}, {"type": "inout", "name": "P2_8", "value": "23"}, {"type": "inout", "name": "P2_9", "value": "20"}, {"type": "inout", "name": "P2_10", "value": "18"}] \ No newline at end of file diff --git a/app/resources/boards/iCEBreaker/pinout.pcf b/app/resources/boards/iCEBreaker/pinout.pcf index 0ac111177..a46fdabd7 100644 --- a/app/resources/boards/iCEBreaker/pinout.pcf +++ b/app/resources/boards/iCEBreaker/pinout.pcf @@ -1,31 +1,44 @@ -# 12 MHz clock -set_io --warn-no-port CLK 35 # input - -# RS232 -set_io --warn-no-port RX 6 # input -set_io --warn-no-port TX 9 # output - -# LEDs and Button -set_io --warn-no-port BTN 10 # input -set_io --warn-no-port LEDR 11 # output -set_io --warn-no-port LEDG 37 # output - -# LEDs and Buttons (PMOD 2) -set_io --warn-no-port BTN1 20 # input -set_io --warn-no-port BTN2 19 # input -set_io --warn-no-port BTN3 18 # input -set_io --warn-no-port LED1 27 # output -set_io --warn-no-port LED2 25 # output -set_io --warn-no-port LED3 21 # output -set_io --warn-no-port LED4 23 # output -set_io --warn-no-port LED5 26 # output - -# RGB LED Driver -set_io --warn-no-port LED_R 39 # output -set_io --warn-no-port LED_G 40 # output -set_io --warn-no-port LED_B 41 # output - -# SPI Flash +# ----------------------------------------------------------------------------- +#- iCEBreaker constraint file (.pcf) +#- By Miodrag Milanovic +#- March - 2018 +#- GPL license +# ----------------------------------------------------------------------------- + + +# ------------ Buttons and LEDs ----------------------------------------------- +set_io --warn-no-port BTN 10 # input +set_io --warn-no-port LEDR 11 # output +set_io --warn-no-port LEDG 37 # output + + +# ------------ Buttons and LEDs (PMOD 2) --------------------------------------- +set_io --warn-no-port BTN1 20 # input +set_io --warn-no-port BTN2 19 # input +set_io --warn-no-port BTN3 18 # input +set_io --warn-no-port LED1 27 # output +set_io --warn-no-port LED2 25 # output +set_io --warn-no-port LED3 21 # output +set_io --warn-no-port LED4 23 # output +set_io --warn-no-port LED5 26 # output + + +# ------------ RGB LED Driver ------------------------------------------------- +set_io --warn-no-port LED_R 39 # output +set_io --warn-no-port LED_G 40 # output +set_io --warn-no-port LED_B 41 # output + + +# ------------ System 12 MHz clock -------------------------------------------- +set_io --warn-no-port CLK 35 # input + + +# ------------ RS232 --------------------------------------------------------- +set_io --warn-no-port RX 6 # input +set_io --warn-no-port TX 9 # output + + +# ------------ SPI Flash ------------------------------------------------------ set_io --warn-no-port F_SCK 15 set_io --warn-no-port F_SSB 16 set_io --warn-no-port F_IO0 14 @@ -33,17 +46,19 @@ set_io --warn-no-port F_IO1 17 set_io --warn-no-port F_IO2 12 set_io --warn-no-port F_IO3 13 -# PMOD 1A -set_io --warn-no-port P1_A1 4 -set_io --warn-no-port P1_A2 2 + +# ------------ PMOD 1A -------------------------------------------------------- +set_io --warn-no-port P1_A1 4 +set_io --warn-no-port P1_A2 2 set_io --warn-no-port P1_A3 47 set_io --warn-no-port P1_A4 45 -set_io --warn-no-port P1_A7 3 +set_io --warn-no-port P1_A7 3 set_io --warn-no-port P1_A8 48 set_io --warn-no-port P1_A9 46 set_io --warn-no-port P1_A10 44 -# PMOD 1B + +# ------------ PMOD 1B -------------------------------------------------------- set_io --warn-no-port P1_B1 43 set_io --warn-no-port P1_B2 38 set_io --warn-no-port P1_B3 34 @@ -53,7 +68,8 @@ set_io --warn-no-port P1_B8 36 set_io --warn-no-port P1_B9 32 set_io --warn-no-port P1_B10 28 -# PMOD 2 + +# ------------ PMOD 2 --------------------------------------------------------- set_io --warn-no-port P2_1 27 set_io --warn-no-port P2_2 25 set_io --warn-no-port P2_3 21 diff --git a/app/resources/boards/icestick/pinout.pcf b/app/resources/boards/icestick/pinout.pcf index aced25f30..ef5b83cc1 100644 --- a/app/resources/boards/icestick/pinout.pcf +++ b/app/resources/boards/icestick/pinout.pcf @@ -3,9 +3,9 @@ #- By Juan Gonzalez (Obijuan) #- April - 2016 #- GPL license +#- Pinout: http://www.pighixxx.com/test/2016/02/icestick-pinout/ +#- Guide: https://github.com/Obijuan/open-fpga-verilog-tutorial/blob/master/tutorial/doc/icestickusermanual.pdf # ----------------------------------------------------------------------------- -# -- Pinout: http://www.pighixxx.com/test/2016/02/icestick-pinout/ -# -- Guide: https://github.com/Obijuan/open-fpga-verilog-tutorial/blob/master/tutorial/doc/icestickusermanual.pdf # -- Icestick leds map # @@ -17,15 +17,17 @@ # -- D5: green led -# ------------ Red leds ------------------------------------------------------- +# ------------ Red LEDs ------------------------------------------------------- set_io --warn-no-port D1 99 # output set_io --warn-no-port D2 98 # output set_io --warn-no-port D3 97 # output set_io --warn-no-port D4 96 # output -# ------------ Green led ------------------------------------------------------ + +# ------------ Green LED ------------------------------------------------------ set_io --warn-no-port D5 95 # output + # ------------ IrDA ----------------------------------------------------------- set_io --warn-no-port IR_TX 105 # output set_io --warn-no-port IR_RX 106 # input @@ -33,96 +35,98 @@ set_io --warn-no-port IR_RX 106 # input #-- IrDA_SD = 0, enable IrDA set_io --warn-no-port IR_SD 107 # output + # ------------ PMOD connector ------------------------------------------------- # # Pmod standar numeration (Oriented according the icestick, with the # usb connector pointing to the left and IRda to the right) # -# -------- -# | 12 6 | -# | 11 5 | -# | 10 4 | -# | 9 3 | -# | 8 2 | -# | 7 1 | < -# -------- +# ------ +# | 12 6 | +# | 11 5 | +# | 10 4 | +# | 9 3 | +# | 8 2 | +# | 7 1 | < +# ------ # # FPGA pins: # -# ---------- -# | 3V3 3V3 | -# | GND GND | -# | 91 81 | -# | 90 80 | -# | 88 79 | -# | 87 78 | < -# ---------- -# -set_io --warn-no-port PMOD1 78 -set_io --warn-no-port PMOD2 79 -set_io --warn-no-port PMOD3 80 -set_io --warn-no-port PMOD4 81 -set_io --warn-no-port PMOD7 87 -set_io --warn-no-port PMOD8 88 -set_io --warn-no-port PMOD9 90 +# --------- +# | 3V3 3V3 | +# | GND GND | +# | 91 81 | +# | 90 80 | +# | 88 79 | +# | 87 78 | < +# --------- +# +set_io --warn-no-port PMOD1 78 +set_io --warn-no-port PMOD2 79 +set_io --warn-no-port PMOD3 80 +set_io --warn-no-port PMOD4 81 +set_io --warn-no-port PMOD7 87 +set_io --warn-no-port PMOD8 88 +set_io --warn-no-port PMOD9 90 set_io --warn-no-port PMOD10 91 + # ------------------------ EXPANSION I/O -------------------------------------- # # -- Numeration # # Top Row (TR): -# v +# # -------------------------------- -# | 10 9 8 7 6 5 4 3 2 1 | +# | 10 9 8 7 6 5 4 3 2 1 | < # -------------------------------- # # Bottom Row (BR): # -# v # -------------------------------- -# | 10 9 8 7 6 5 4 3 2 1 | +# | 10 9 8 7 6 5 4 3 2 1 | < # -------------------------------- # # --- FPGA pins # # Top Row (TR) -# v +# # -------------------------------------------------- -# | 119 118 117 116 115 114 113 112 GND 3v3 | +# | 119 118 117 116 115 114 113 112 GND 3V3 | < # -------------------------------------------------- # # # Bottom Row (BR) # -# v # ------------------------------------------------- -# | 44 45 47 48 56 60 61 62 GND 3v3 | +# | 44 45 47 48 56 60 61 62 GND 3V3 | < # ------------------------------------------------- # # -- Top Row -set_io --warn-no-port TR3 112 -set_io --warn-no-port TR4 113 -set_io --warn-no-port TR5 114 -set_io --warn-no-port TR6 115 -set_io --warn-no-port TR7 116 -set_io --warn-no-port TR8 117 -set_io --warn-no-port TR9 118 +set_io --warn-no-port TR3 112 +set_io --warn-no-port TR4 113 +set_io --warn-no-port TR5 114 +set_io --warn-no-port TR6 115 +set_io --warn-no-port TR7 116 +set_io --warn-no-port TR8 117 +set_io --warn-no-port TR9 118 set_io --warn-no-port TR10 119 # # -- Bottom Row -set_io --warn-no-port BR3 62 -set_io --warn-no-port BR4 61 -set_io --warn-no-port BR5 60 -set_io --warn-no-port BR6 56 -set_io --warn-no-port BR7 48 -set_io --warn-no-port BR8 47 -set_io --warn-no-port BR9 45 +set_io --warn-no-port BR3 62 +set_io --warn-no-port BR4 61 +set_io --warn-no-port BR5 60 +set_io --warn-no-port BR6 56 +set_io --warn-no-port BR7 48 +set_io --warn-no-port BR8 47 +set_io --warn-no-port BR9 45 set_io --warn-no-port BR10 44 -# -------------------------- SYSTEM CLOCK ------------------------------------- + +# ------------ System 12 MHz clock -------------------------------------------- set_io --warn-no-port CLK 21 # input + # -------------------------- FTDI --------------------------------------------- # --- FTDI 0: set_io --warn-no-port RES 66 # input diff --git a/app/resources/boards/icezum/pinout.pcf b/app/resources/boards/icezum/pinout.pcf index d33f32193..4911c3b37 100644 --- a/app/resources/boards/icezum/pinout.pcf +++ b/app/resources/boards/icezum/pinout.pcf @@ -3,23 +3,26 @@ #- By Juan Gonzalez (Obijuan) #- April - 2016 #- GPL license +#- Repo: https://github.com/FPGAwars/icezum/wiki +#- Pinout: https://github.com/FPGAwars/icezum/blob/master/doc/pinout/icezum-pinout.pdf # ----------------------------------------------------------------------------- -# -- Repo: https://github.com/FPGAwars/icezum/wiki -# -- Pinout: https://github.com/FPGAwars/icezum/blob/master/doc/pinout/icezum-pinout.pdf + # ------------ User Leds ------------------------------------------------------ -set_io --warn-no-port LED0 95 # output -set_io --warn-no-port LED1 96 # output -set_io --warn-no-port LED2 97 # output -set_io --warn-no-port LED3 98 # output -set_io --warn-no-port LED4 99 # output -set_io --warn-no-port LED5 101 # output -set_io --warn-no-port LED6 102 # output -set_io --warn-no-port LED7 104 # output +set_io --warn-no-port LED0 95 # output +set_io --warn-no-port LED1 96 # output +set_io --warn-no-port LED2 97 # output +set_io --warn-no-port LED3 98 # output +set_io --warn-no-port LED4 99 # output +set_io --warn-no-port LED5 101 # output +set_io --warn-no-port LED6 102 # output +set_io --warn-no-port LED7 104 # output + # ------------ User push buttons ---------------------------------------------- -set_io --warn-no-port SW1 10 # input -set_io --warn-no-port SW2 11 # input +set_io --warn-no-port SW1 10 # input +set_io --warn-no-port SW2 11 # input + # ------------ 5v Digital I/O ------------------------------------------------- @@ -41,57 +44,60 @@ set_io --warn-no-port SW2 11 # input # * * * * * * # --- Bottom female header # ------------------------------- ------------------------- -# | x 5V R 3v3 5vP GND GND PWR | | DD0 DD1 DD2 DD3 DD4 DD5 | +# | x 5V R 3V3 5vP GND GND PWR | | DD0 DD1 DD2 DD3 DD4 DD5 | # ------------------------------- ------------------------- # -- In top female header -set_io --warn-no-port D13 144 -set_io --warn-no-port D12 143 -set_io --warn-no-port D11 142 -set_io --warn-no-port D10 141 -set_io --warn-no-port D9 139 -set_io --warn-no-port D8 138 -set_io --warn-no-port D7 112 -set_io --warn-no-port D6 113 -set_io --warn-no-port D5 114 -set_io --warn-no-port D4 115 -set_io --warn-no-port D3 116 -set_io --warn-no-port D2 117 -set_io --warn-no-port D1 118 -set_io --warn-no-port D0 119 +set_io --warn-no-port D13 144 +set_io --warn-no-port D12 143 +set_io --warn-no-port D11 142 +set_io --warn-no-port D10 141 +set_io --warn-no-port D9 139 +set_io --warn-no-port D8 138 +set_io --warn-no-port D7 112 +set_io --warn-no-port D6 113 +set_io --warn-no-port D5 114 +set_io --warn-no-port D4 115 +set_io --warn-no-port D3 116 +set_io --warn-no-port D2 117 +set_io --warn-no-port D1 118 +set_io --warn-no-port D0 119 # -- In Bottom female header -set_io --warn-no-port DD0 78 -set_io --warn-no-port DD1 79 -set_io --warn-no-port DD2 80 -set_io --warn-no-port DD3 81 -set_io --warn-no-port DD4 88 -set_io --warn-no-port DD5 87 - -# ------------------------- FPGA Direct 3v3 GPIO ------------------------------ +set_io --warn-no-port DD0 78 +set_io --warn-no-port DD1 79 +set_io --warn-no-port DD2 80 +set_io --warn-no-port DD3 81 +set_io --warn-no-port DD4 88 +set_io --warn-no-port DD5 87 + +# ------------------------- FPGA Direct 3V3 GPIO ------------------------------ # -# ----------------- -# | GP1 GP3 GP5 GP7 | -# >| GP0 GP2 GP4 GP6 | -# ----------------- +# ----------------- +# | GP1 GP3 GP5 GP7 | +# > | GP0 GP2 GP4 GP6 | +# ----------------- # -set_io --warn-no-port GP0 37 -set_io --warn-no-port GP1 38 -set_io --warn-no-port GP2 39 -set_io --warn-no-port GP3 41 -set_io --warn-no-port GP4 42 -set_io --warn-no-port GP5 43 -set_io --warn-no-port GP6 49 -set_io --warn-no-port GP7 50 +set_io --warn-no-port GP0 37 +set_io --warn-no-port GP1 38 +set_io --warn-no-port GP2 39 +set_io --warn-no-port GP3 41 +set_io --warn-no-port GP4 42 +set_io --warn-no-port GP5 43 +set_io --warn-no-port GP6 49 +set_io --warn-no-port GP7 50 + # -------------------------- I2C ADC ------------------------------------------ -set_io --warn-no-port ADC_SCL 91 # output -set_io --warn-no-port ADC_SDA 90 -set_io --warn-no-port ADC_INT 93 # input +set_io --warn-no-port ADC_SCL 91 # output +set_io --warn-no-port ADC_SDA 90 +set_io --warn-no-port ADC_INT 93 # input + -# -------------------------- SYSTEM CLOCK ------------------------------------- +# ------------ System 12 MHz clock -------------------------------------------- set_io --warn-no-port CLK 21 # input + # -------------------------- FTDI --------------------------------------------- # --- FTDI 0: set_io --warn-no-port RES 66 # input diff --git a/app/resources/boards/icoboard/pinout.pcf b/app/resources/boards/icoboard/pinout.pcf index c421f1b0f..b4f3d5f7d 100644 --- a/app/resources/boards/icoboard/pinout.pcf +++ b/app/resources/boards/icoboard/pinout.pcf @@ -3,8 +3,8 @@ #- By Jesus Arroyo Torrens #- September - 2016 #- GPL license +#- Pinout: http://icoboard.org/icoboard-1-0.html # ----------------------------------------------------------------------------- -# -- Pinout: http://icoboard.org/icoboard-1-0.html # ------------ System clock --------------------------------------------------- @@ -82,12 +82,12 @@ set_io --warn-no-port P17 B7 set_io --warn-no-port P20 B11 set_io --warn-no-port P21 B10 -set_io --warn-no-port P22 B9 -set_io --warn-no-port P23 D8 +set_io --warn-no-port P22 B9 +set_io --warn-no-port P23 D8 set_io --warn-no-port P24 A11 set_io --warn-no-port P25 A10 -set_io --warn-no-port P26 A9 -set_io --warn-no-port P27 B8 +set_io --warn-no-port P26 A9 +set_io --warn-no-port P27 B8 # -------------| P3 |---------------------------------------------------------- # @@ -121,7 +121,7 @@ set_io --warn-no-port P37 N9 set_io --warn-no-port P40 T11 set_io --warn-no-port P41 T14 set_io --warn-no-port P42 T15 -set_io --warn-no-port P43 T9 +set_io --warn-no-port P43 T9 set_io --warn-no-port P44 T10 set_io --warn-no-port P45 T13 set_io --warn-no-port P46 R14 @@ -185,7 +185,7 @@ set_io --warn-no-port C00 C13 set_io --warn-no-port C01 A15 set_io --warn-no-port C02 L12 set_io --warn-no-port C03 J16 -set_io --warn-no-port C04 E9 +set_io --warn-no-port C04 E9 set_io --warn-no-port C05 C11 set_io --warn-no-port C06 P14 set_io --warn-no-port C07 J15 @@ -195,7 +195,7 @@ set_io --warn-no-port C09 E10 set_io --warn-no-port C10 T16 set_io --warn-no-port C11 J14 set_io --warn-no-port C12 A16 -set_io --warn-no-port C13 F9 +set_io --warn-no-port C13 F9 set_io --warn-no-port C14 F14 set_io --warn-no-port C15 K16 set_io --warn-no-port C16 D15 @@ -237,7 +237,7 @@ set_io --warn-no-port C48 F15 set_io --warn-no-port C49 G12 set_io --warn-no-port C50 L11 -set_io --warn-no-port C51 M9 +set_io --warn-no-port C51 M9 set_io --warn-no-port C52 E16 set_io --warn-no-port C53 B13 set_io --warn-no-port C54 N12 diff --git a/app/resources/boards/kefir/pinout.pcf b/app/resources/boards/kefir/pinout.pcf index 78a1e948e..aa4c79e88 100644 --- a/app/resources/boards/kefir/pinout.pcf +++ b/app/resources/boards/kefir/pinout.pcf @@ -74,14 +74,14 @@ set_io --warn-no-port PMB7 99 # Milk channel A # As an RS-232 port -set_io --warn-no-port TXD 37 # input -set_io --warn-no-port RXD 38 # output -set_io --warn-no-port RTS 39 # input -set_io --warn-no-port CTS 41 # output -set_io --warn-no-port DTR 42 # input -set_io --warn-no-port DSR 43 # output -set_io --warn-no-port DCD 44 # output -set_io --warn-no-port RI 45 # output +set_io --warn-no-port TXD 37 # input +set_io --warn-no-port RXD 38 # output +set_io --warn-no-port RTS 39 # input +set_io --warn-no-port CTS 41 # output +set_io --warn-no-port DTR 42 # input +set_io --warn-no-port DSR 43 # output +set_io --warn-no-port DCD 44 # output +set_io --warn-no-port RI 45 # output # FTDI generic names set_io --warn-no-port AD0 37 set_io --warn-no-port AD1 38 @@ -131,5 +131,3 @@ set_io --warn-no-port U_VMO 113 # output set_io --warn-no-port U_VMI 114 # input set_io --warn-no-port U_VPI 115 # input set_io --warn-no-port U_NOE 116 # output - - diff --git a/app/resources/boards/upduino/pinout.pcf b/app/resources/boards/upduino/pinout.pcf index 5b56516ee..ea3f0a618 100644 --- a/app/resources/boards/upduino/pinout.pcf +++ b/app/resources/boards/upduino/pinout.pcf @@ -1,19 +1,28 @@ -# RGB LED Driver -set_io --warn-no-port LED_G 39 # output -set_io --warn-no-port LED_B 40 # output -set_io --warn-no-port LED_R 41 # output +# ----------------------------------------------------------------------------- +#- UPduino v1.0 constraint file (.pcf) +#- By Miodrag Milanovic +#- March - 2018 +#- GPL license +# ----------------------------------------------------------------------------- -# Left side -set_io --warn-no-port PIN_2 2 + +# ------------ RGB LED Driver ------------------------------------------------- +set_io --warn-no-port LED_G 39 # output +set_io --warn-no-port LED_B 40 # output +set_io --warn-no-port LED_R 41 # output + + +# ------------ Left side ------------------------------------------------------ +set_io --warn-no-port PIN_2 2 set_io --warn-no-port PIN_46 46 set_io --warn-no-port PIN_47 47 set_io --warn-no-port PIN_45 45 set_io --warn-no-port PIN_48 48 -set_io --warn-no-port PIN_3 3 -set_io --warn-no-port PIN_4 4 +set_io --warn-no-port PIN_3 3 +set_io --warn-no-port PIN_4 4 set_io --warn-no-port PIN_44 44 -set_io --warn-no-port PIN_6 6 -set_io --warn-no-port PIN_9 9 +set_io --warn-no-port PIN_6 6 +set_io --warn-no-port PIN_9 9 set_io --warn-no-port PIN_11 11 set_io --warn-no-port PIN_18 18 set_io --warn-no-port PIN_19 19 @@ -21,7 +30,7 @@ set_io --warn-no-port PIN_13 13 set_io --warn-no-port PIN_21 21 set_io --warn-no-port PIN_12 12 -# Right side +# ------------ Right side ------------------------------------------------------ set_io --warn-no-port PIN_28 28 set_io --warn-no-port PIN_38 38 set_io --warn-no-port PIN_42 42 diff --git a/app/resources/boards/upduino2/pinout.pcf b/app/resources/boards/upduino2/pinout.pcf index 5b56516ee..34ff0fabf 100644 --- a/app/resources/boards/upduino2/pinout.pcf +++ b/app/resources/boards/upduino2/pinout.pcf @@ -1,19 +1,28 @@ -# RGB LED Driver -set_io --warn-no-port LED_G 39 # output -set_io --warn-no-port LED_B 40 # output -set_io --warn-no-port LED_R 41 # output +# ----------------------------------------------------------------------------- +#- UPduino v2.0 constraint file (.pcf) +#- By Miodrag Milanovic +#- March - 2018 +#- GPL license +# ----------------------------------------------------------------------------- -# Left side -set_io --warn-no-port PIN_2 2 + +# ------------ RGB LED Driver ------------------------------------------------- +set_io --warn-no-port LED_G 39 # output +set_io --warn-no-port LED_B 40 # output +set_io --warn-no-port LED_R 41 # output + + +# ------------ Left side ------------------------------------------------------ +set_io --warn-no-port PIN_2 2 set_io --warn-no-port PIN_46 46 set_io --warn-no-port PIN_47 47 set_io --warn-no-port PIN_45 45 set_io --warn-no-port PIN_48 48 -set_io --warn-no-port PIN_3 3 -set_io --warn-no-port PIN_4 4 +set_io --warn-no-port PIN_3 3 +set_io --warn-no-port PIN_4 4 set_io --warn-no-port PIN_44 44 -set_io --warn-no-port PIN_6 6 -set_io --warn-no-port PIN_9 9 +set_io --warn-no-port PIN_6 6 +set_io --warn-no-port PIN_9 9 set_io --warn-no-port PIN_11 11 set_io --warn-no-port PIN_18 18 set_io --warn-no-port PIN_19 19 @@ -21,7 +30,7 @@ set_io --warn-no-port PIN_13 13 set_io --warn-no-port PIN_21 21 set_io --warn-no-port PIN_12 12 -# Right side +# ------------ Right side ------------------------------------------------------ set_io --warn-no-port PIN_28 28 set_io --warn-no-port PIN_38 38 set_io --warn-no-port PIN_42 42 From dd56bc0bdd465a0a3f5b162c4b285d815278d16f Mon Sep 17 00:00:00 2001 From: Piotr Esden-Tempski Date: Wed, 19 Sep 2018 18:06:01 -0700 Subject: [PATCH 16/21] Added UP5k boards to the drop down menu. --- app/resources/boards/menu.json | 11 +++++++++++ app/views/menu.html | 4 ++++ 2 files changed, 15 insertions(+) diff --git a/app/resources/boards/menu.json b/app/resources/boards/menu.json index ee6f9cd09..fd68b8fb3 100644 --- a/app/resources/boards/menu.json +++ b/app/resources/boards/menu.json @@ -24,5 +24,16 @@ "TinyFPGA-B2", "TinyFPGA-BX" ] + }, + { + "type": "UP5K", + "boards": [ + "fpga101", + "iCE40-UP5K", + "iCEBreaker", + "iCEBreaker-bitsy", + "upduino", + "upduino2" + ] } ] diff --git a/app/views/menu.html b/app/views/menu.html index 396443485..4f86ebaab 100644 --- a/app/views/menu.html +++ b/app/views/menu.html @@ -195,6 +195,10 @@
  • +
  • UP5K
  • +
  • + +