From c64e2d3a8590954b50818dca285563241b452951 Mon Sep 17 00:00:00 2001 From: gatecat Date: Mon, 8 Mar 2021 14:27:32 +0000 Subject: [PATCH] build/radiant: Skip location constraint for X pins Signed-off-by: gatecat --- litex/build/lattice/radiant.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/lattice/radiant.py b/litex/build/lattice/radiant.py index 2aa2380d2..c46df20b2 100644 --- a/litex/build/lattice/radiant.py +++ b/litex/build/lattice/radiant.py @@ -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)