diff options
author | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-04-19 22:44:38 +0000 |
---|---|---|
committer | Alberto Gonzalez <boqwxp@airmail.cc> | 2020-05-14 20:06:54 +0000 |
commit | 7857782575bded685bdff55da942670343d54b20 (patch) | |
tree | 4cefb6ea2ba42da5f8ac9f0eb074956deb297b28 | |
parent | 6d64d768b07a027fff42515dbba4cdb6f060d17a (diff) | |
download | yosys-7857782575bded685bdff55da942670343d54b20.tar.gz yosys-7857782575bded685bdff55da942670343d54b20.tar.bz2 yosys-7857782575bded685bdff55da942670343d54b20.zip |
Replace `std::map` with `dict` for `unique_bit_id`.
-rw-r--r-- | passes/techmap/techmap.cc | 2 |
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++; |