Merge pull request #718 from trabucayre/zynq_fix_constraints

don't add pins without pad location in constraints file
This commit is contained in:
enjoy-digital 2020-12-03 16:21:06 +01:00 committed by GitHub
commit 168c5380cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@
import sys
import os
import re
from migen.fhdl.structure import Signal, Cat
from migen.genlib.record import Record
@ -395,7 +396,8 @@ 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]
for sig, pins, others, resource in sc
if not re.match(r"^X+$", ''.join(pins))]
# resolve signal names in platform commands
pc = self.constraint_manager.get_platform_commands()
named_pc = []