From df2e5aad6f79556044aa80612f3f7ffb664ec617 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 28 Nov 2016 15:15:09 +0100 Subject: [PATCH] Bugfix in smt2 back-end for pure checker modules --- backends/smt2/smt2.cc | 4 ++++ 1 file changed, 4 insertions(+) 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 queue; -- 2.30.2