build/generic_platform: avoid removing X pins from named_sc.

We need them on Gowin FPGAs with embedded SDRAM where SDRAM pins are not real IOs.
This commit is contained in:
Florent Kermarrec 2021-02-01 13:12:25 +01:00
parent f324f9531a
commit 8623536a8a
1 changed files with 1 additions and 2 deletions

View File

@ -396,8 +396,7 @@ class GenericPlatform:
# resolve signal names in constraints
sc = self.constraint_manager.get_sig_constraints()
named_sc = [(vns.get_name(sig), pins, others, resource)
for sig, pins, others, resource in sc
if not re.match(r"^X+$", ''.join(pins))]
for sig, pins, others, resource in sc]
# resolve signal names in platform commands
pc = self.constraint_manager.get_platform_commands()
named_pc = []