summaryrefslogtreecommitdiff
path: root/passes/techmap/techmap.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-11-07 15:21:03 +0100
committerClifford Wolf <clifford@clifford.at>2014-11-07 15:21:03 +0100
commit546e8b5fe7063caf0140d753d8c20614cbeae723 (patch)
tree2a877507c2e9b098b3def2ad0bcd68a632ee5630 /passes/techmap/techmap.cc
parent461594bb83a3fd908bb6580763cf7f7aa37ef6a7 (diff)
Improved TopoSort determinism
Diffstat (limited to 'passes/techmap/techmap.cc')
-rw-r--r--passes/techmap/techmap.cc2
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;