From: Clifford Wolf Date: Fri, 20 Dec 2013 11:13:51 +0000 (+0100) Subject: Fixed dfflibmap endless-loop bug X-Git-Tag: yosys-0.2.0~235 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=404bcc2d1ed64dffa92b9891d930c6c53c192c1c;p=yosys.git Fixed dfflibmap endless-loop bug --- 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");