Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Made PCF names shorter and coherent with the SVG #183

Merged
merged 1 commit into from
Nov 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/resources/boards/kefir/pinout.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"type": "input", "name": "BTN1", "value": "136"}, {"type": "input", "name": "BTN2", "value": "134"}, {"type": "input", "name": "BTN3", "value": "128"}, {"type": "input", "name": "BTN4", "value": "122"}, {"type": "output", "name": "LED1", "value": "137"}, {"type": "output", "name": "LED2", "value": "135"}, {"type": "output", "name": "LED3", "value": "129"}, {"type": "output", "name": "LED4", "value": "121"}, {"type": "input", "name": "CLK", "value": "49"}, {"type": "inout", "name": "SS_B", "value": "71"}, {"type": "inout", "name": "ISP_RESET", "value": "117"}, {"type": "inout", "name": "ISP_SCK", "value": "118"}, {"type": "inout", "name": "ISP_MOSI", "value": "119"}, {"type": "inout", "name": "ISP_MISO", "value": "120"}, {"type": "output", "name": "AD_CS", "value": "101"}, {"type": "output", "name": "AD_Din", "value": "102"}, {"type": "input", "name": "AD_Dout", "value": "104"}, {"type": "output", "name": "AD_Clk", "value": "105"}, {"type": "output", "name": "USB_Vp_o", "value": "112"}, {"type": "output", "name": "USB_Vm_o", "value": "113"}, {"type": "input", "name": "USB_Vm_i", "value": "114"}, {"type": "input", "name": "USB_Vp_i", "value": "115"}, {"type": "output", "name": "USB_nOE", "value": "116"}, {"type": "inout", "name": "ARDU00", "value": "138"}, {"type": "inout", "name": "ARDU01", "value": "141"}, {"type": "inout", "name": "ARDU02", "value": "143"}, {"type": "inout", "name": "ARDU03", "value": "1"}, {"type": "inout", "name": "ARDU04", "value": "4"}, {"type": "inout", "name": "ARDU05", "value": "8"}, {"type": "inout", "name": "ARDU06", "value": "10"}, {"type": "inout", "name": "ARDU07", "value": "12"}, {"type": "inout", "name": "ARDU08", "value": "19"}, {"type": "inout", "name": "ARDU09", "value": "21"}, {"type": "inout", "name": "ARDU10", "value": "23"}, {"type": "inout", "name": "ARDU11", "value": "25"}, {"type": "inout", "name": "ARDU12", "value": "28"}, {"type": "inout", "name": "ARDU13", "value": "31"}, {"type": "inout", "name": "ARDU26", "value": "139"}, {"type": "inout", "name": "ARDU27", "value": "142"}, {"type": "inout", "name": "ARDU28", "value": "144"}, {"type": "inout", "name": "ARDU29", "value": "2"}, {"type": "inout", "name": "ARDU30", "value": "3"}, {"type": "inout", "name": "ARDU31", "value": "7"}, {"type": "inout", "name": "ARDU32", "value": "9"}, {"type": "inout", "name": "ARDU33", "value": "11"}, {"type": "inout", "name": "ARDU34", "value": "20"}, {"type": "inout", "name": "ARDU35", "value": "22"}, {"type": "inout", "name": "ARDU36", "value": "24"}, {"type": "inout", "name": "ARDU37", "value": "26"}, {"type": "inout", "name": "ARDU38", "value": "29"}, {"type": "inout", "name": "ARDU39", "value": "32"}, {"type": "inout", "name": "ARDU40", "value": "33"}, {"type": "inout", "name": "ARDU41", "value": "34"}, {"type": "inout", "name": "RESET_P2", "value": "73"}, {"type": "inout", "name": "Milk_TXD", "value": "37"}, {"type": "inout", "name": "Milk_RXD", "value": "38"}, {"type": "inout", "name": "Milk_RTS", "value": "39"}, {"type": "inout", "name": "Milk_CTS", "value": "41"}, {"type": "inout", "name": "Milk_DTR", "value": "42"}, {"type": "inout", "name": "Milk_DSR", "value": "43"}, {"type": "inout", "name": "Milk_DCD", "value": "44"}, {"type": "inout", "name": "Milk_RI", "value": "45"}, {"type": "inout", "name": "PMA0", "value": "74"}, {"type": "inout", "name": "PMA1", "value": "75"}, {"type": "inout", "name": "PMA2", "value": "76"}, {"type": "inout", "name": "PMA3", "value": "78"}, {"type": "inout", "name": "PMA4", "value": "79"}, {"type": "inout", "name": "PMA5", "value": "80"}, {"type": "inout", "name": "PMA6", "value": "81"}, {"type": "inout", "name": "PMA7", "value": "87"}, {"type": "inout", "name": "PMB0", "value": "88"}, {"type": "inout", "name": "PMB1", "value": "90"}, {"type": "inout", "name": "PMB2", "value": "91"}, {"type": "inout", "name": "PMB3", "value": "95"}, {"type": "inout", "name": "PMB4", "value": "96"}, {"type": "inout", "name": "PMB5", "value": "97"}, {"type": "inout", "name": "PMB6", "value": "98"}, {"type": "inout", "name": "PMB7", "value": "99"}]
[{"type": "input", "name": "CLK", "value": "49"}, {"type": "input", "name": "BTN1", "value": "136"}, {"type": "input", "name": "BTN2", "value": "134"}, {"type": "input", "name": "BTN3", "value": "128"}, {"type": "input", "name": "BTN4", "value": "122"}, {"type": "output", "name": "LED1", "value": "137"}, {"type": "output", "name": "LED2", "value": "135"}, {"type": "output", "name": "LED3", "value": "129"}, {"type": "output", "name": "LED4", "value": "121"}, {"type": "inout", "name": "IO0", "value": "138"}, {"type": "inout", "name": "IO1", "value": "141"}, {"type": "inout", "name": "IO2", "value": "143"}, {"type": "inout", "name": "IO3", "value": "1"}, {"type": "inout", "name": "IO4", "value": "4"}, {"type": "inout", "name": "IO5", "value": "8"}, {"type": "inout", "name": "IO6", "value": "10"}, {"type": "inout", "name": "IO7", "value": "12"}, {"type": "inout", "name": "IO8", "value": "19"}, {"type": "inout", "name": "IO9", "value": "21"}, {"type": "inout", "name": "IO10", "value": "23"}, {"type": "inout", "name": "IO11", "value": "25"}, {"type": "inout", "name": "IO12", "value": "28"}, {"type": "inout", "name": "IO13", "value": "31"}, {"type": "inout", "name": "SCL", "value": "17"}, {"type": "inout", "name": "SDA", "value": "18"}, {"type": "inout", "name": "IO26", "value": "139"}, {"type": "inout", "name": "IO27", "value": "142"}, {"type": "inout", "name": "IO28", "value": "144"}, {"type": "inout", "name": "IO29", "value": "2"}, {"type": "inout", "name": "IO30", "value": "3"}, {"type": "inout", "name": "IO31", "value": "7"}, {"type": "inout", "name": "IO32", "value": "9"}, {"type": "inout", "name": "IO33", "value": "11"}, {"type": "inout", "name": "IO34", "value": "20"}, {"type": "inout", "name": "IO35", "value": "22"}, {"type": "inout", "name": "IO36", "value": "24"}, {"type": "inout", "name": "IO37", "value": "26"}, {"type": "inout", "name": "IO38", "value": "29"}, {"type": "inout", "name": "IO39", "value": "32"}, {"type": "inout", "name": "IO40", "value": "33"}, {"type": "inout", "name": "IO41", "value": "34"}, {"type": "inout", "name": "PMA0", "value": "74"}, {"type": "inout", "name": "PMA1", "value": "75"}, {"type": "inout", "name": "PMA2", "value": "76"}, {"type": "inout", "name": "PMA3", "value": "78"}, {"type": "inout", "name": "PMA4", "value": "79"}, {"type": "inout", "name": "PMA5", "value": "80"}, {"type": "inout", "name": "PMA6", "value": "81"}, {"type": "inout", "name": "PMA7", "value": "87"}, {"type": "inout", "name": "PMB0", "value": "88"}, {"type": "inout", "name": "PMB1", "value": "90"}, {"type": "inout", "name": "PMB2", "value": "91"}, {"type": "inout", "name": "PMB3", "value": "95"}, {"type": "inout", "name": "PMB4", "value": "96"}, {"type": "inout", "name": "PMB5", "value": "97"}, {"type": "inout", "name": "PMB6", "value": "98"}, {"type": "inout", "name": "PMB7", "value": "99"}, {"type": "input", "name": "TXD", "value": "37"}, {"type": "output", "name": "RXD", "value": "38"}, {"type": "input", "name": "RTS", "value": "39"}, {"type": "output", "name": "CTS", "value": "41"}, {"type": "input", "name": "DTR", "value": "42"}, {"type": "output", "name": "DSR", "value": "43"}, {"type": "output", "name": "DCD", "value": "44"}, {"type": "output", "name": "RI", "value": "45"}, {"type": "inout", "name": "AD0", "value": "37"}, {"type": "inout", "name": "AD1", "value": "38"}, {"type": "inout", "name": "AD2", "value": "39"}, {"type": "inout", "name": "AD3", "value": "41"}, {"type": "inout", "name": "AD4", "value": "42"}, {"type": "inout", "name": "AD5", "value": "43"}, {"type": "inout", "name": "AD6", "value": "44"}, {"type": "inout", "name": "AD7", "value": "45"}, {"type": "inout", "name": "AC0", "value": "47"}, {"type": "inout", "name": "AC1", "value": "48"}, {"type": "inout", "name": "AC2", "value": "56"}, {"type": "inout", "name": "AC3", "value": "60"}, {"type": "inout", "name": "AC4", "value": "61"}, {"type": "inout", "name": "AC5", "value": "62"}, {"type": "inout", "name": "AC6", "value": "63"}, {"type": "inout", "name": "AC7", "value": "64"}, {"type": "inout", "name": "SCK", "value": "70"}, {"type": "inout", "name": "SK", "value": "70"}, {"type": "inout", "name": "SDO", "value": "67"}, {"type": "inout", "name": "DO", "value": "67"}, {"type": "inout", "name": "SDI", "value": "68"}, {"type": "inout", "name": "DI", "value": "68"}, {"type": "inout", "name": "SS", "value": "71"}, {"type": "inout", "name": "PRST", "value": "73"}, {"type": "inout", "name": "IRST", "value": "117"}, {"type": "inout", "name": "ISCK", "value": "118"}, {"type": "inout", "name": "MOSI", "value": "119"}, {"type": "inout", "name": "MISO", "value": "120"}, {"type": "output", "name": "AD_CS", "value": "101"}, {"type": "output", "name": "AD_DI", "value": "102"}, {"type": "input", "name": "AD_DO", "value": "104"}, {"type": "output", "name": "AD_CK", "value": "105"}, {"type": "output", "name": "U_VPO", "value": "112"}, {"type": "output", "name": "U_VMO", "value": "113"}, {"type": "input", "name": "U_VMI", "value": "114"}, {"type": "input", "name": "U_VPI", "value": "115"}, {"type": "output", "name": "U_NOE", "value": "116"}]
167 changes: 98 additions & 69 deletions app/resources/boards/kefir/pinout.pcf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
#- Kefir I HX4K constraint file (.pcf)
# -----------------------------------------------------------------------------

# Clock input
set_io --warn-no-port CLK 49 # input

# Capacitive-sense buttons
set_io --warn-no-port BTN1 136 # input
set_io --warn-no-port BTN2 134 # input
Expand All @@ -14,75 +17,40 @@ set_io --warn-no-port LED2 135 # output
set_io --warn-no-port LED3 129 # output
set_io --warn-no-port LED4 121 # output

# Clock input
set_io --warn-no-port CLK 49 # input

# SPI Flash enable control
set_io --warn-no-port SS_B 71

# ISP SPI
set_io --warn-no-port ISP_RESET 117
set_io --warn-no-port ISP_SCK 118
set_io --warn-no-port ISP_MOSI 119
set_io --warn-no-port ISP_MISO 120

# MCP3008 A/D
set_io --warn-no-port AD_CS 101 # output
set_io --warn-no-port AD_Din 102 # output
set_io --warn-no-port AD_Dout 104 # input
set_io --warn-no-port AD_Clk 105 # output

# USB
set_io --warn-no-port USB_Vp_o 112 # output
set_io --warn-no-port USB_Vm_o 113 # output
set_io --warn-no-port USB_Vm_i 114 # input
set_io --warn-no-port USB_Vp_i 115 # input
set_io --warn-no-port USB_nOE 116 # output

set_io --warn-no-port ARDU00 138
set_io --warn-no-port ARDU01 141
set_io --warn-no-port ARDU02 143
set_io --warn-no-port ARDU03 1
set_io --warn-no-port ARDU04 4
set_io --warn-no-port ARDU05 8
set_io --warn-no-port ARDU06 10
set_io --warn-no-port ARDU07 12
set_io --warn-no-port ARDU08 19
set_io --warn-no-port ARDU09 21
set_io --warn-no-port ARDU10 23
set_io --warn-no-port ARDU11 25
set_io --warn-no-port ARDU12 28
set_io --warn-no-port ARDU13 31
set_io --warn-no-port ARDU26 139
set_io --warn-no-port ARDU27 142
set_io --warn-no-port ARDU28 144
set_io --warn-no-port ARDU29 2
set_io --warn-no-port ARDU30 3
set_io --warn-no-port ARDU31 7
set_io --warn-no-port ARDU32 9
set_io --warn-no-port ARDU33 11
set_io --warn-no-port ARDU34 20
set_io --warn-no-port ARDU35 22
set_io --warn-no-port ARDU36 24
set_io --warn-no-port ARDU37 26
set_io --warn-no-port ARDU38 29
set_io --warn-no-port ARDU39 32
set_io --warn-no-port ARDU40 33
set_io --warn-no-port ARDU41 34

# Arduino Power (P2)
# Active low RESET
set_io --warn-no-port RESET_P2 73

# Milk channel A
set_io --warn-no-port Milk_TXD 37
set_io --warn-no-port Milk_RXD 38
set_io --warn-no-port Milk_RTS 39
set_io --warn-no-port Milk_CTS 41
set_io --warn-no-port Milk_DTR 42
set_io --warn-no-port Milk_DSR 43
set_io --warn-no-port Milk_DCD 44
set_io --warn-no-port Milk_RI 45
# Arduido connectors
set_io --warn-no-port IO0 138
set_io --warn-no-port IO1 141
set_io --warn-no-port IO2 143
set_io --warn-no-port IO3 1
set_io --warn-no-port IO4 4
set_io --warn-no-port IO5 8
set_io --warn-no-port IO6 10
set_io --warn-no-port IO7 12
set_io --warn-no-port IO8 19
set_io --warn-no-port IO9 21
set_io --warn-no-port IO10 23
set_io --warn-no-port IO11 25
set_io --warn-no-port IO12 28
set_io --warn-no-port IO13 31
set_io --warn-no-port SCL 17
set_io --warn-no-port SDA 18
# ChipKit connectors
set_io --warn-no-port IO26 139
set_io --warn-no-port IO27 142
set_io --warn-no-port IO28 144
set_io --warn-no-port IO29 2
set_io --warn-no-port IO30 3
set_io --warn-no-port IO31 7
set_io --warn-no-port IO32 9
set_io --warn-no-port IO33 11
set_io --warn-no-port IO34 20
set_io --warn-no-port IO35 22
set_io --warn-no-port IO36 24
set_io --warn-no-port IO37 26
set_io --warn-no-port IO38 29
set_io --warn-no-port IO39 32
set_io --warn-no-port IO40 33
set_io --warn-no-port IO41 34

# PMOD A
set_io --warn-no-port PMA0 74
Expand All @@ -104,3 +72,64 @@ set_io --warn-no-port PMB5 97
set_io --warn-no-port PMB6 98
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
# FTDI generic names
set_io --warn-no-port AD0 37
set_io --warn-no-port AD1 38
set_io --warn-no-port AD2 39
set_io --warn-no-port AD3 41
set_io --warn-no-port AD4 42
set_io --warn-no-port AD5 43
set_io --warn-no-port AD6 44
set_io --warn-no-port AD7 45
set_io --warn-no-port AC0 47
set_io --warn-no-port AC1 48
set_io --warn-no-port AC2 56
set_io --warn-no-port AC3 60
set_io --warn-no-port AC4 61
set_io --warn-no-port AC5 62
set_io --warn-no-port AC6 63
set_io --warn-no-port AC7 64

# Milk channel B
set_io --warn-no-port SCK 70
set_io --warn-no-port SK 70
set_io --warn-no-port SDO 67
set_io --warn-no-port DO 67
set_io --warn-no-port SDI 68
set_io --warn-no-port DI 68
set_io --warn-no-port SS 71

# Arduino Power (P2)
# Active low RESET
set_io --warn-no-port PRST 73

# ISP SPI
set_io --warn-no-port IRST 117
set_io --warn-no-port ISCK 118
set_io --warn-no-port MOSI 119
set_io --warn-no-port MISO 120

# MCP3008 A/D
set_io --warn-no-port AD_CS 101 # output
set_io --warn-no-port AD_DI 102 # output
set_io --warn-no-port AD_DO 104 # input
set_io --warn-no-port AD_CK 105 # output

# USB
set_io --warn-no-port U_VPO 112 # output
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


Loading