projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f56b928
)
Alphabetically sort port names in "show" output
author
Clifford Wolf
<clifford@clifford.at>
Fri, 19 Sep 2014 09:13:10 +0000
(11:13 +0200)
committer
Clifford Wolf
<clifford@clifford.at>
Fri, 19 Sep 2014 09:13:10 +0000
(11:13 +0200)
passes/cmds/show.cc
patch
|
blob
|
history
diff --git
a/passes/cmds/show.cc
b/passes/cmds/show.cc
index 0451ebc2992ff14717d46c780592d4ad7ff03bfa..2218eded29a893a0b4b0b56f5aeb96ef521bd65a 100644
(file)
--- a/
passes/cmds/show.cc
+++ b/
passes/cmds/show.cc
@@
-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)