mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-09 15:43:25 +00:00
Revert changes to celltypes.h. Use dict instead of std::unordered_map and most hash function for uint64_t to hashlib.h to support this.
This commit is contained in:
parent
7b454d4633
commit
8e0308b5e7
3 changed files with 8 additions and 9 deletions
|
@ -267,7 +267,7 @@ struct OptMergeWorker
|
|||
}
|
||||
|
||||
did_something = false;
|
||||
std::unordered_map<FingerPrint, RTLIL::Cell*> sharemap;
|
||||
dict<FingerPrint, RTLIL::Cell*> sharemap;
|
||||
for (auto cell : cells)
|
||||
{
|
||||
if ((!mode_share_all && !ct.cell_known(cell->type)) || !cell->known())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue