mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 09:05:32 +00:00
Replace std::map
with dict
for unique_bit_id
.
This commit is contained in:
parent
6d64d768b0
commit
7857782575
1 changed files with 1 additions and 1 deletions
|
@ -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++;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue