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
No known key found for this signature in database
GPG Key ID: 8395A8BA109708B2
1 changed files with 1 additions and 1 deletions

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