Alphabetically sort port names in "show" output
This commit is contained in:
parent
f56b92818b
commit
f7bb8f244b
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue