diff options
author | David Shah <davey1576@gmail.com> | 2018-07-10 14:02:01 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-11 10:42:09 +0200 |
commit | 9a2e8caf1c40ede0922a9c492e5c774ec66e61d3 (patch) | |
tree | fc7fb5873d7252ca19859d7f4f9d57f20d007ede /ecp5/trellis_import.py | |
parent | 1830c9372e9bb959cb886c8271d64778550a7ebb (diff) | |
download | nextpnr-9a2e8caf1c40ede0922a9c492e5c774ec66e61d3.tar.gz nextpnr-9a2e8caf1c40ede0922a9c492e5c774ec66e61d3.tar.bz2 nextpnr-9a2e8caf1c40ede0922a9c492e5c774ec66e61d3.zip |
ecp5: Buttons working
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/trellis_import.py')
-rwxr-xr-x | ecp5/trellis_import.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/trellis_import.py b/ecp5/trellis_import.py index 6ff929f7..60e48844 100755 --- a/ecp5/trellis_import.py +++ b/ecp5/trellis_import.py @@ -154,7 +154,7 @@ def add_bels(chip, x, y): num_slices = 4 elif "PICL0" in tt or "PICR0" in tt: num_pios = 4 - elif "PIOT0" in tt or "PIOB0" in tt: + elif "PIOT0" in tt or ("PICB0" in tt and "SPICB" not in tt): num_pios = 2 for i in range(num_slices): add_slice(x, y, i) |