mirror of https://github.com/openXC7/prjxray.git
Merge pull request #1017 from litghost/fix_int_maketodo
Avoid failing on empty pip lists (which may occur).
This commit is contained in:
commit
f5768c1ae7
|
|
@ -3,7 +3,7 @@ PIP_TYPE?=ioi3
|
|||
PIPLIST_TCL=$(FUZDIR)/ioi3_pip_list.tcl
|
||||
|
||||
TODO_RE=".*"
|
||||
EXCLUDE_RE=".*((PHASER)|(CLKDIVF)|(CLKDIVP)|(CLKDIVB)|(IOI_ILOGIC[01]_O)|(IOI_OLOGIC[01]_CLKB?\.)|(IOI_IMUX_RC)|(IOI_OLOGIC[01]_[OT]FB)|(OCLKM.*IMUX31)|(IOI_ILOGIC0_CLKB\.IOI_IMUX22_1)).*"
|
||||
EXCLUDE_RE=".*((PHASER)|(CLKDIVF)|(CLKDIVP)|(CLKDIVB)|(IOI_ILOGIC[01]_O)|(IOI_OLOGIC[01]_CLKB?\.)|(IOI_IMUX_RC)|(IOI_OLOGIC[01]_[OT]FB)|(OCLKM.*IMUX31)|(IOI_ILOGIC[01]_CLKB\.IOI_IMUX22_[01])).*"
|
||||
|
||||
MAKETODO_FLAGS=--pip-type ${PIP_TYPE} --seg-type $(PIP_TYPE) --re $(TODO_RE) --sides "xr,xl" --exclude-re $(EXCLUDE_RE)
|
||||
N = 40
|
||||
|
|
|
|||
|
|
@ -118,6 +118,10 @@ def maketodo(
|
|||
|
||||
todos, tile_type = load_pipfile(pipfile, verbose=verbose)
|
||||
verbose and print('%s: %u entries' % (pipfile, len(todos)))
|
||||
if not todos:
|
||||
verbose and print('%s: %u entries, done!' % (pipfile, len(todos)))
|
||||
return
|
||||
|
||||
verbose and print("pipfile todo sample: %s" % list(todos)[0])
|
||||
|
||||
if 0 and verbose:
|
||||
|
|
|
|||
Loading…
Reference in New Issue