From: Alberto Gonzalez Date: Sun, 19 Apr 2020 22:44:38 +0000 (+0000) Subject: Replace `std::map` with `dict` for `unique_bit_id`. X-Git-Tag: working-ls180~517^2~15 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7857782575bded685bdff55da942670343d54b20;p=yosys.git Replace `std::map` with `dict` for `unique_bit_id`. --- diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index b4df6142e..a915f207d 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -740,7 +740,7 @@ struct TechmapWorker } int unique_bit_id_counter = 0; - std::map unique_bit_id; + dict unique_bit_id; unique_bit_id[RTLIL::State::S0] = unique_bit_id_counter++; unique_bit_id[RTLIL::State::S1] = unique_bit_id_counter++; unique_bit_id[RTLIL::State::Sx] = unique_bit_id_counter++;