diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-12-20 12:13:51 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-12-20 12:13:51 +0100 |
commit | 404bcc2d1ed64dffa92b9891d930c6c53c192c1c (patch) | |
tree | 3bcb7ed440fc3c405b874744d48739f31e816633 /passes/techmap | |
parent | 2ee3ac4ba39cda4de82de53cac96826103851cd8 (diff) | |
download | yosys-404bcc2d1ed64dffa92b9891d930c6c53c192c1c.tar.gz yosys-404bcc2d1ed64dffa92b9891d930c6c53c192c1c.tar.bz2 yosys-404bcc2d1ed64dffa92b9891d930c6c53c192c1c.zip |
Fixed dfflibmap endless-loop bug
Diffstat (limited to 'passes/techmap')
-rw-r--r-- | passes/techmap/dfflibmap.cc | 1 |
1 files changed, 1 insertions, 0 deletions
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"); |