mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-07 09:55:20 +00:00
Alphabetically sort port names in "show" output
This commit is contained in:
parent
f56b92818b
commit
f7bb8f244b
|
@ -355,6 +355,9 @@ struct ShowWorker
|
|||
out_ports.push_back(conn.first);
|
||||
}
|
||||
|
||||
std::sort(in_ports.begin(), in_ports.end(), RTLIL::sort_by_id_str());
|
||||
std::sort(out_ports.begin(), out_ports.end(), RTLIL::sort_by_id_str());
|
||||
|
||||
std::string label_string = "{{";
|
||||
|
||||
for (auto &p : in_ports)
|
||||
|
|
Loading…
Reference in a new issue