Fixed dfflibmap endless-loop bug
authorClifford Wolf <clifford@clifford.at>
Fri, 20 Dec 2013 11:13:51 +0000 (12:13 +0100)
committerClifford Wolf <clifford@clifford.at>
Fri, 20 Dec 2013 11:13:51 +0000 (12:13 +0100)
passes/techmap/dfflibmap.cc

index 49b98059617c93d9c337a9f615b0f906fc237b19..c35a09c2661806d142ffd05cfb9c14b7217ac486 100644 (file)
@@ -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");