From 5cb4ae46665574e721161d4eb38552f0938b9948 Mon Sep 17 00:00:00 2001 From: Alberto Gonzalez Date: Sun, 19 Apr 2020 22:38:10 +0000 Subject: [PATCH] Replace `std::map` with `dict` for `connbits_map`, `cell_to_inbit`, and `outbit_to_cell`. --- passes/techmap/techmap.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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()) { -- 2.30.2