mirror of https://github.com/openXC7/prjxray.git
pips: fix maketodo
Signed-off-by: Alessandro Comodi <acomodi@antmicro.com>
This commit is contained in:
parent
089b2c447e
commit
702ae02655
|
|
@ -210,17 +210,21 @@ def run(
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if side == "xl":
|
if side == "xl":
|
||||||
filename = "l{}".format(pip_type)
|
segfile = "l{}".format(seg_type)
|
||||||
|
pipfile = "l{}".format(pip_type)
|
||||||
elif side == "xr":
|
elif side == "xr":
|
||||||
filename = "r{}".format(pip_type)
|
segfile = "r{}".format(seg_type)
|
||||||
|
pipfile = "r{}".format(pip_type)
|
||||||
elif side == "l" or side == "r":
|
elif side == "l" or side == "r":
|
||||||
filename = "{}_{}".format(pip_type, side)
|
segfile = "{}_{}".format(seg_type, side)
|
||||||
|
pipfile = "{}_{}".format(pip_type, side)
|
||||||
else:
|
else:
|
||||||
filename = "{}".format(pip_type)
|
segfile = "{}".format(seg_type)
|
||||||
|
pipfile = "{}".format(pip_type)
|
||||||
|
|
||||||
maketodo(
|
maketodo(
|
||||||
"%s/%s.txt" % (pip_dir, filename),
|
"%s/%s.txt" % (pip_dir, pipfile),
|
||||||
"%s/segbits_%s.db" % (db_dir, filename),
|
"%s/segbits_%s.db" % (db_dir, segfile),
|
||||||
intre,
|
intre,
|
||||||
exclude_re=exclude_re,
|
exclude_re=exclude_re,
|
||||||
balance_wire_re=balance_wire_re,
|
balance_wire_re=balance_wire_re,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue