diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-11-07 15:21:03 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-11-07 15:21:03 +0100 |
commit | 546e8b5fe7063caf0140d753d8c20614cbeae723 (patch) | |
tree | 2a877507c2e9b098b3def2ad0bcd68a632ee5630 /passes/techmap/techmap.cc | |
parent | 461594bb83a3fd908bb6580763cf7f7aa37ef6a7 (diff) |
Improved TopoSort determinism
Diffstat (limited to 'passes/techmap/techmap.cc')
-rw-r--r-- | passes/techmap/techmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/passes/techmap/techmap.cc b/passes/techmap/techmap.cc index 73da6ce1..e109c5b5 100644 --- a/passes/techmap/techmap.cc +++ b/passes/techmap/techmap.cc @@ -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; |