mirror of https://github.com/YosysHQ/yosys.git
Replace `std::map` with `dict` for `unique_bit_id`.
This commit is contained in:
parent
6d64d768b0
commit
7857782575
|
@ -740,7 +740,7 @@ struct TechmapWorker
|
||||||
}
|
}
|
||||||
|
|
||||||
int unique_bit_id_counter = 0;
|
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::S0] = unique_bit_id_counter++;
|
||||||
unique_bit_id[RTLIL::State::S1] = unique_bit_id_counter++;
|
unique_bit_id[RTLIL::State::S1] = unique_bit_id_counter++;
|
||||||
unique_bit_id[RTLIL::State::Sx] = unique_bit_id_counter++;
|
unique_bit_id[RTLIL::State::Sx] = unique_bit_id_counter++;
|
||||||
|
|
Loading…
Reference in New Issue