aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/trellis_import.py
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5/trellis_import.py')
-rwxr-xr-xecp5/trellis_import.py2
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)