From 404bcc2d1ed64dffa92b9891d930c6c53c192c1c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 20 Dec 2013 12:13:51 +0100 Subject: [PATCH] Fixed dfflibmap endless-loop bug --- passes/techmap/dfflibmap.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/passes/techmap/dfflibmap.cc b/passes/techmap/dfflibmap.cc index 49b980596..c35a09c26 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"); -- 2.30.2