diff options
author | Clifford Wolf <clifford@clifford.at> | 2016-11-28 15:15:09 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2016-11-28 15:15:09 +0100 |
commit | df2e5aad6f79556044aa80612f3f7ffb664ec617 (patch) | |
tree | b9fb002e9c61848e007706a2a6e13772a5518f6b | |
parent | ecdc22b06c70debf16d2a1eaae2b280015730e10 (diff) | |
download | yosys-df2e5aad6f79556044aa80612f3f7ffb664ec617.tar.gz yosys-df2e5aad6f79556044aa80612f3f7ffb664ec617.tar.bz2 yosys-df2e5aad6f79556044aa80612f3f7ffb664ec617.zip |
Bugfix in smt2 back-end for pure checker modules
-rw-r--r-- | backends/smt2/smt2.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc index ddac69009..43479eb55 100644 --- a/backends/smt2/smt2.cc +++ b/backends/smt2/smt2.cc @@ -749,6 +749,10 @@ struct Smt2Worker if (verbose) log("=> export logic driving hierarchical cells\n"); + for (auto cell : module->cells()) + if (module->design->module(cell->type) != nullptr) + export_cell(cell); + while (!hiercells_queue.empty()) { std::set<RTLIL::Cell*> queue; |