From 74702b04c2775b062aa89b8a4704cd9135d2b048 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Sun, 16 Oct 2016 20:37:02 +0200 Subject: [PATCH] Build fixes for VS 2015 --- passes/techmap/attrmvcp.cc | 2 ++ passes/techmap/techmap.cc | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/passes/techmap/attrmvcp.cc b/passes/techmap/attrmvcp.cc index 50eaf61df..1537def00 100644 --- a/passes/techmap/attrmvcp.cc +++ b/passes/techmap/attrmvcp.cc @@ -93,6 +93,7 @@ struct AttrmvcpPass : public Pass { for (auto cell : module->selected_cells()) for (auto &conn : cell->connections()) + { if (driven_mode) { if (cell->input(conn.first)) for (auto bit : sigmap(conn.second)) @@ -102,6 +103,7 @@ struct AttrmvcpPass : public Pass { for (auto bit : sigmap(conn.second)) net2cells[bit].insert(cell); } + } for (auto wire : module->selected_wires()) { diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 96b88eb42..6784f48c3 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -1170,8 +1170,9 @@ struct FlattenPass : public Pass { worker.flatten_do_list.erase(mod->name); } } else { - for (auto mod : vector(design->modules())) + for (auto mod : vector(design->modules())) { while (worker.techmap_module(design, mod, design, handled_cells, celltypeMap, false)) { } + } } log("No more expansions possible.\n"); -- 2.30.2