projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eadf73c
)
Fixed detection of public wires in opt_rmunused
author
Clifford Wolf
<clifford@clifford.at>
Sun, 10 Mar 2013 13:20:03 +0000
(14:20 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 10 Mar 2013 13:20:03 +0000
(14:20 +0100)
passes/opt/opt_rmunused.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_rmunused.cc
b/passes/opt/opt_rmunused.cc
index 3276ad6264b74a2beeb43b03c84377404b72c5a3..c72a45876e3de2926b8cfd70a83e77d098bf1274 100644
(file)
--- a/
passes/opt/opt_rmunused.cc
+++ b/
passes/opt/opt_rmunused.cc
@@
-123,10
+123,10
@@
static bool check_public_name(RTLIL::IdString id)
if (id[0] == '$')
return false;
#if 0
- if (id.find(".$")
=
= std::string::npos)
- return
tru
e;
+ if (id.find(".$")
!
= std::string::npos)
+ return
fals
e;
#endif
- return
fals
e;
+ return
tru
e;
}
static void rmunused_module_signals(RTLIL::Module *module)