projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e7aba
)
Fixed detection of major wires in opt_clean
author
Clifford Wolf
<clifford@clifford.at>
Thu, 17 Oct 2013 00:41:59 +0000
(
02:41
+0200)
committer
Clifford Wolf
<clifford@clifford.at>
Thu, 17 Oct 2013 00:41:59 +0000
(
02:41
+0200)
passes/opt/opt_clean.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_clean.cc
b/passes/opt/opt_clean.cc
index 2ea60c03cad3902043a819638ae25800a3936823..f8811baca83ae57fd5378a4eecbc6dc43639aae0 100644
(file)
--- a/
passes/opt/opt_clean.cc
+++ b/
passes/opt/opt_clean.cc
@@
-112,6
+112,9
@@
static bool compare_signals(RTLIL::SigSpec &s1, RTLIL::SigSpec &s2)
if (w1->port_input != w2->port_input)
return w2->port_input;
+ if (w1->port_output != w2->port_output)
+ return w2->port_output;
+
if (w1->name[0] != w2->name[0])
return w2->name[0] == '\\';