-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add initial BlackIce board information
- Loading branch information
Showing
5 changed files
with
222 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,6 +21,7 @@ | |
"min": "0.3.0rc1", | ||
"max": "0.4.0", | ||
"extras": [ | ||
"blackiceprog", | ||
"tinyfpgab" | ||
], | ||
"external": "" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"label": "BlackIce", | ||
"datasheet": "https://mystorm.uk/", | ||
"interface": "Serial", | ||
"FPGAResources": { | ||
"pios": 107, | ||
"plbs": 960, | ||
"brams": 32 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +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": "input", "name": "RESET", "value": "128"}, {"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"}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,202 @@ | ||
# ----------------------------------------------------------------------------- | ||
#- BlackIce constraint file (.pcf) | ||
#- By Jesus Arroyo Torrens | ||
#- January - 2018 | ||
#- GPL license | ||
# ----------------------------------------------------------------------------- | ||
|
||
|
||
# ------------ System clock --------------------------------------------------- | ||
set_io --warn-no-port CLK 129 # input | ||
|
||
|
||
# ------------ LEDs map ------------------------------------------------------- | ||
# ______ ______ | ||
# ___| |______________| |___ | ||
# | |______| |______| | | ||
# | #### _|__ | ||
# | LED1...LED4 | | | ||
# | | | | ||
# | |____| | ||
# | _|__ | ||
# | | | | ||
# | | | | ||
# | |____| | ||
# |_ _|__ | ||
# |_| | | | ||
# |_ | | | ||
# |_| |____| | ||
# | ______ ______ ______ | | ||
# |___| |___| |___| |___| | ||
# |______| |______| |______| | ||
# | ||
# -- LED1: Blue | ||
# -- LED2: Green | ||
# -- LED3: Yellow | ||
# -- LED4: Red | ||
|
||
set_io --warn-no-port LED1 71 # output | ||
set_io --warn-no-port LED2 67 # output | ||
set_io --warn-no-port LED3 68 # output | ||
set_io --warn-no-port LED4 70 # output | ||
|
||
|
||
# ------------ Buttons map ---------------------------------------------------- | ||
# ______ ______ | ||
# ___| |______________| |___ | ||
# | |______| |______| | | ||
# | [] [] [] _|__ | ||
# | B2 B1 RESET | | | ||
# | | | | ||
# | |____| | ||
# | _|__ | ||
# | | | | ||
# | | | | ||
# | |____| | ||
# |_ _|__ | ||
# |_| | | | ||
# |_ | | | ||
# |_| |____| | ||
# | ______ ______ ______ | | ||
# |___| |___| |___| |___| | ||
# |______| |______| |______| | ||
# | ||
|
||
set_io --warn-no-port B1 63 # input | ||
set_io --warn-no-port B2 64 # input | ||
set_io --warn-no-port RESET 128 # input | ||
|
||
# RESET = P11 (91) = RST (91) | ||
|
||
# ------------ PMOD connectors ------------------------------------------------ | ||
# ______ ______ | ||
# ___| |______________| |___ | ||
# | |______| |______| | | ||
# | P14 P13 _|__ | ||
# | | | | ||
# | | | P11/12 | ||
# | |____| | ||
# | _|__ | ||
# | | | | ||
# | | | P9/10 | ||
# | |____| | ||
# |_ _|__ | ||
# |_| | | | ||
# |_ | | P7/8 | ||
# |_| |____| | ||
# | ______ ______ ______ | | ||
# |___| |___| |___| |___| | ||
# |______| |______| |______| | ||
# P1/2 P3/4 P5/6 | ||
|
||
# -------------| P1 |---------------------------------------------------------- | ||
set_io --warn-no-port P10 94 | ||
set_io --warn-no-port P11 91 | ||
set_io --warn-no-port P12 88 | ||
set_io --warn-no-port P13 85 | ||
|
||
# P11 = RST = RESET (128) | ||
|
||
# -------------| P2 |---------------------------------------------------------- | ||
set_io --warn-no-port P20 95 | ||
set_io --warn-no-port P21 93 | ||
set_io --warn-no-port P22 90 | ||
set_io --warn-no-port P23 87 | ||
|
||
# -------------| P3 |---------------------------------------------------------- | ||
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 | ||
|
||
# -------------| P4 |---------------------------------------------------------- | ||
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 | ||
|
||
# -------------| P5 |---------------------------------------------------------- | ||
set_io --warn-no-port P50 143 | ||
set_io --warn-no-port P51 114 | ||
set_io --warn-no-port P52 112 | ||
set_io --warn-no-port P53 107 | ||
|
||
# -------------| P6 |---------------------------------------------------------- | ||
set_io --warn-no-port P60 144 | ||
set_io --warn-no-port P61 113 | ||
set_io --warn-no-port P62 110 | ||
set_io --warn-no-port P63 106 | ||
|
||
# -------------| P7 |---------------------------------------------------------- | ||
|
||
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 | ||
|
||
# -------------| P8 |---------------------------------------------------------- | ||
set_io --warn-no-port P80 8 | ||
set_io --warn-no-port P81 7 | ||
set_io --warn-no-port P82 4 | ||
set_io --warn-no-port P83 3 | ||
|
||
# -------------| P9 |---------------------------------------------------------- | ||
set_io --warn-no-port P90 20 | ||
set_io --warn-no-port P91 19 | ||
set_io --warn-no-port P92 16 | ||
set_io --warn-no-port P93 15 | ||
|
||
# -------------| P10 |---------------------------------------------------------- | ||
set_io --warn-no-port P100 18 | ||
set_io --warn-no-port P101 17 | ||
set_io --warn-no-port P102 12 | ||
set_io --warn-no-port P103 11 | ||
|
||
# -------------| P11 |---------------------------------------------------------- | ||
set_io --warn-no-port P110 34 | ||
set_io --warn-no-port P111 33 | ||
set_io --warn-no-port P112 22 | ||
set_io --warn-no-port P113 21 | ||
|
||
# -------------| P12 |---------------------------------------------------------- | ||
set_io --warn-no-port P120 32 | ||
set_io --warn-no-port P121 31 | ||
set_io --warn-no-port P122 26 | ||
set_io --warn-no-port P123 25 | ||
|
||
# -------------| P13 |---------------------------------------------------------- | ||
set_io --warn-no-port P130 37 | ||
set_io --warn-no-port P131 38 | ||
set_io --warn-no-port P132 39 | ||
set_io --warn-no-port P133 41 | ||
|
||
# -------------| P14 |---------------------------------------------------------- | ||
set_io --warn-no-port P140 71 | ||
set_io --warn-no-port P141 67 | ||
set_io --warn-no-port P142 68 | ||
set_io --warn-no-port P143 70 | ||
|
||
# P140 = LED4 = !SS | ||
# P141 = LED3 = MISO | ||
# P142 = LED2 = MOSI | ||
# P143 = LED1 = SCL | ||
|
||
# ______ ______ | ||
# ___| |______________| |___ | ||
# | |______| |______| | | ||
# | _|__ | ||
# | ** | | | ||
# | ** ······ ············ | | | ||
# | ** |____| | ||
# | ** _|__ | ||
# | ** | | | ||
# | ** | | | ||
# | ** |____| | ||
# |_ _|__ | ||
# |_| | | | ||
# |_ | | | ||
# |_| ········ ·········· |____| | ||
# | ______ ______ ______ | | ||
# |___| |___| |___| |___| | ||
# |______| |______| |______| | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"input" : [ | ||
{ | ||
"port" : "clk", | ||
"pin": "129" | ||
} | ||
] | ||
} |