1
0
mirror of synced 2026-02-16 13:02:42 +00:00

Replace std::map with dict for unique_bit_id.

This commit is contained in:
Alberto Gonzalez
2020-04-19 22:44:38 +00:00
parent 6d64d768b0
commit 7857782575

View File

@@ -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++;