Setup future 058-hclkpips improvements

Signed-off-by: Clifford Wolf <clifford@clifford.at>
Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
This commit is contained in:
Clifford Wolf 2017-12-02 05:47:24 +00:00 committed by Tim 'mithro' Ansell
parent 80a20361ba
commit 076ff7915d
1 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ for arg in sys.argv[1:]:
tile_type, pip = pip.split(".")
src, dst = pip.split("->>")
tag = "%s.%s" % (dst, src)
tags[tag] = dst
tags[tag] = (dst, src)
for arg in sys.argv[1:]:
print("Processing %s." % arg)
@ -34,8 +34,9 @@ for arg in sys.argv[1:]:
src, dst = pip.split("->>")
tag = "%s.%s" % (dst, src)
segmk.addtag(tile, tag, 1)
for tag, tag_dst in tags.items():
if tag_dst != dst:
for tag, tag_dst_src in tags.items():
tag_dst, tag_src = tag_dst_src
if tag_dst != dst and (tag_src != src or True):
segmk.addtag(tile, tag, 0)
segmk.compile()