build/radiant: Skip location constraint for X pins

Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
gatecat 2021-03-08 14:27:32 +00:00
parent 5af8e5c934
commit c64e2d3a85
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ def _format_constraint(c):
def _format_ldc(signame, pin, others, resname):
fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others)]
fmt_c = [_format_constraint(c) for c in ([Pins(pin)] + others) if not isinstance(c, Pins) or c.identifiers[0] != "X"]
ldc = []
for pre, suf in fmt_c:
ldc.append(pre + signame + suf)