3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-06-28 08:58:45 +00:00

Improved TopoSort determinism

This commit is contained in:
Clifford Wolf 2014-11-07 15:21:03 +01:00
parent 461594bb83
commit 546e8b5fe7
5 changed files with 16 additions and 14 deletions

View file

@ -281,7 +281,7 @@ struct TechmapWorker
SigMap sigmap(module);
TopoSort<RTLIL::Cell*> cells;
TopoSort<RTLIL::Cell*, RTLIL::IdString::compare_ptr_by_name<RTLIL::Cell>> cells;
std::map<RTLIL::Cell*, std::set<RTLIL::SigBit>> cell_to_inbit;
std::map<RTLIL::SigBit, std::set<RTLIL::Cell*>> outbit_to_cell;