3
0
Fork 0
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:
Rasmus Munk Larsen 2023-10-03 14:25:59 -07:00
parent 7b454d4633
commit 8e0308b5e7
3 changed files with 8 additions and 9 deletions

View file

@ -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())