Skip to content

Commit

Permalink
Merge pull request #390 from wireboy5/gowin-support
Browse files Browse the repository at this point in the history
Add Support for Sipeed Tang Nano 20k
  • Loading branch information
cavearr authored Aug 6, 2024
2 parents 580d9df + 835fdca commit bd96d7e
Show file tree
Hide file tree
Showing 6 changed files with 391 additions and 2 deletions.
1 change: 1 addition & 0 deletions apio/managers/arguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,7 @@ def process_arguments(
# -- Build Scons flag list
flags = serialize_scons_flags(
{
"fpga_model": config[FPGA],
"fpga_arch": config[ARCH],
"fpga_size": config[SIZE],
"fpga_type": config[TYPE],
Expand Down
11 changes: 11 additions & 0 deletions apio/resources/boards.json
Original file line number Diff line number Diff line change
Expand Up @@ -788,5 +788,16 @@
"ftdi": {
"desc": "ETH4K"
}
},
"Sipeed-Tang-Nano-20k": {
"name":"Sipeed Tang Nano 20k",
"fpga": "GW2AR-LV18QN88C8/I7",
"programmer": {
"type": "openfpgaloader_tangnano20k"
},
"usb": {
"vid": "0403",
"pid": "6010"
}
}
}
3 changes: 2 additions & 1 deletion apio/resources/distribution.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"litterbox": ">=0.2.1,<0.3.0",
"tinyfpgab": ">=1.1.0,<1.2.0",
"tinyprog": ">=1.0.21,<1.1.0",
"icefunprog": ">=2.0.3,<3.0.0"
"icefunprog": ">=2.0.3,<3.0.0",
"apycula": "0.12"
}
}
8 changes: 7 additions & 1 deletion apio/resources/fpgas.json
Original file line number Diff line number Diff line change
Expand Up @@ -397,5 +397,11 @@
"type": "um5g-85k",
"size": "85k",
"pack": "CSFBGA285"
}
},
"GW2AR-LV18QN88C8/I7": {
"arch": "gowin",
"type": "gw2a-18c",
"size": "20k",
"pack": "QN88"
}
}
Loading

0 comments on commit bd96d7e

Please sign in to comment.