mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
build/gowin: Don't generate IO_LOC is pin name is X.
This commit is contained in:
parent
fd33e360fb
commit
f324f9531a
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue