summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2013-12-20 12:13:51 +0100
committerClifford Wolf <clifford@clifford.at>2013-12-20 12:13:51 +0100
commit404bcc2d1ed64dffa92b9891d930c6c53c192c1c (patch)
tree3bcb7ed440fc3c405b874744d48739f31e816633
parent2ee3ac4ba39cda4de82de53cac96826103851cd8 (diff)
Fixed dfflibmap endless-loop bug
-rw-r--r--passes/techmap/dfflibmap.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc
index 49b98059..c35a09c2 100644
--- a/passes/techmap/dfflibmap.cc
+++ b/passes/techmap/dfflibmap.cc
@@ -482,6 +482,7 @@ struct DfflibmapPass : public Pass {
keep_running |= expand_cellmap("$_DFFSR_??*_", "R");
} while (keep_running);
do {
+ keep_running = false;
keep_running |= expand_cellmap("$_DFF_*_", "C");
keep_running |= expand_cellmap("$_DFF_*??_", "C");
keep_running |= expand_cellmap("$_DFFSR_*??_", "C");