From: Alberto Gonzalez Date: Sun, 19 Apr 2020 22:38:10 +0000 (+0000) Subject: Replace `std::map` with `dict` for `connbits_map`, `cell_to_inbit`, and `outbit_to_cell`. X-Git-Tag: working-ls180~517^2~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5cb4ae46665574e721161d4eb38552f0938b9948;p=yosys.git Replace `std::map` with `dict` for `connbits_map`, `cell_to_inbit`, and `outbit_to_cell`. --- diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 3a68d3cb9..96508845d 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -101,7 +101,7 @@ struct TechmapWorker std::string constmap_tpl_name(SigMap &sigmap, RTLIL::Module *tpl, RTLIL::Cell *cell, bool verbose) { std::string constmap_info; - std::map> connbits_map; + dict> connbits_map; for (auto conn : cell->connections()) for (int i = 0; i < GetSize(conn.second); i++) { @@ -490,8 +490,8 @@ struct TechmapWorker } TopoSort> cells; - std::map> cell_to_inbit; - std::map> outbit_to_cell; + dict> cell_to_inbit; + dict> outbit_to_cell; for (auto cell : module->selected_cells()) {