aboutsummaryrefslogtreecommitdiffstats
path: root/passes/techmap/techmap.cc
diff options
context:
space:
mode:
authorAlberto Gonzalez <boqwxp@airmail.cc>2020-04-19 22:44:38 +0000
committerAlberto Gonzalez <boqwxp@airmail.cc>2020-05-14 20:06:54 +0000
commit7857782575bded685bdff55da942670343d54b20 (patch)
tree4cefb6ea2ba42da5f8ac9f0eb074956deb297b28 /passes/techmap/techmap.cc
parent6d64d768b07a027fff42515dbba4cdb6f060d17a (diff)
downloadyosys-7857782575bded685bdff55da942670343d54b20.tar.gz
yosys-7857782575bded685bdff55da942670343d54b20.tar.bz2
yosys-7857782575bded685bdff55da942670343d54b20.zip
Replace `std::map` with `dict` for `unique_bit_id`.
Diffstat (limited to 'passes/techmap/techmap.cc')
-rw-r--r--passes/techmap/techmap.cc2
1 files changed, 1 insertions, 1 deletions
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<RTLIL::SigBit, int> unique_bit_id;
+ dict<RTLIL::SigBit, int> 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++;