build/gowin: Don't generate IO_LOC is pin name is X.

This commit is contained in:
Florent Kermarrec 2021-02-01 13:08:37 +01:00
parent fd33e360fb
commit f324f9531a

View file

@ -26,6 +26,7 @@ def _build_cst(named_sc, named_pc):
flat_sc.append((name, pins[0], other))
for name, pin, other in flat_sc:
if pin != "X":
lines.append(f"IO_LOC \"{name}\" {pin};")
for c in other: