From: Clifford Wolf Date: Mon, 31 Aug 2015 14:26:01 +0000 (+0200) Subject: Using dict<> and pool<> in alumacc pass X-Git-Tag: yosys-0.6~175 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92dce21f6e5af4ffec7cbd4ea5e6607ca452a9c8;p=yosys.git Using dict<> and pool<> in alumacc pass --- diff --git a/passes/techmap/alumacc.cc b/passes/techmap/alumacc.cc index 54c9bc1aa..90563c863 100644 --- a/passes/techmap/alumacc.cc +++ b/passes/techmap/alumacc.cc @@ -98,9 +98,9 @@ struct AlumaccWorker } }; - std::map bit_users; - std::map sig_macc; - std::map> sig_alu; + dict bit_users; + dict sig_macc; + dict> sig_alu; int macc_counter, alu_counter; AlumaccWorker(RTLIL::Module *module) : module(module), sigmap(module) @@ -215,7 +215,7 @@ struct AlumaccWorker { while (1) { - std::set delete_nodes; + pool delete_nodes; for (auto &it : sig_macc) { @@ -267,7 +267,7 @@ struct AlumaccWorker void macc_to_alu() { - std::set delete_nodes; + pool delete_nodes; for (auto &it : sig_macc) {