intpips: properly filter VCC_WIRE

Signed-off-by: John McMaster <JohnDMcMaster@gmail.com>
This commit is contained in:
John McMaster 2018-12-21 10:19:15 -08:00
parent c45862adb5
commit 38cb3350c8
2 changed files with 11 additions and 0 deletions

View File

@ -53,3 +53,11 @@ Includes:
* Can solve: INT.BYP_ALT*.GFAN*
* Cannot solve: INT.IMUX*.GFAN* (solves as "<m1 0> <const0>")
### IMUX
* Okay: BYP_ALT*.VCC_WIRE
* Cannot solve: INT.IMUX[0-9]+.VCC_WIRE
* Cannot solve: INT.IMUX_L[0-9]+.VCC_WIRE
See https://github.com/SymbiFlow/prjxray/issues/383

View File

@ -36,7 +36,10 @@ with open("design.txt", "r") as f:
tiledata[tile]["srcs"].add(dst)
tiledata[tile]["dsts"].add(src)
# Okay: BYP_ALT0.VCC_WIRE
# Skip: INT.IMUX13.VCC_WIRE, INT.IMUX_L43.VCC_WIRE
if pnum == 1 or pdir == 0 or \
(src == "VCC_WIRE" and dst.startswith("IMUX")) or \
re.match(r"^(L[HV]B?|G?CLK)(_L)?(_B)?[0-9]", src) or \
re.match(r"^(L[HV]B?|G?CLK)(_L)?(_B)?[0-9]", dst) or \
re.match(r"^(CTRL|GFAN)(_L)?[0-9]", dst):