mirror of https://github.com/YosysHQ/yosys.git
abc: sort stats
This commit is contained in:
parent
3bd50682d8
commit
a38b0f38c6
|
@ -1411,6 +1411,7 @@ void abc_module(RTLIL::Design *design, RTLIL::Module *current_module, std::strin
|
||||||
module->connect(conn);
|
module->connect(conn);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cell_stats.sort();
|
||||||
for (auto &it : cell_stats)
|
for (auto &it : cell_stats)
|
||||||
log("ABC RESULTS: %15s cells: %8d\n", it.first.c_str(), it.second);
|
log("ABC RESULTS: %15s cells: %8d\n", it.first.c_str(), it.second);
|
||||||
int in_wires = 0, out_wires = 0;
|
int in_wires = 0, out_wires = 0;
|
||||||
|
|
Loading…
Reference in New Issue