build/gowin: Don't generate IO_LOC is pin name is X.
This commit is contained in:
parent
fd33e360fb
commit
f324f9531a
|
@ -26,7 +26,8 @@ def _build_cst(named_sc, named_pc):
|
|||
flat_sc.append((name, pins[0], other))
|
||||
|
||||
for name, pin, other in flat_sc:
|
||||
lines.append(f"IO_LOC \"{name}\" {pin};")
|
||||
if pin != "X":
|
||||
lines.append(f"IO_LOC \"{name}\" {pin};")
|
||||
|
||||
for c in other:
|
||||
if isinstance(c, IOStandard):
|
||||
|
|
Loading…
Reference in New Issue