projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ab59cd
)
Resolve @cliffordwolf comment on redundant check
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 7 Jun 2019 18:37:52 +0000
(11:37 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 7 Jun 2019 18:37:52 +0000
(11:37 -0700)
passes/opt/muxpack.cc
patch
|
blob
|
history
diff --git
a/passes/opt/muxpack.cc
b/passes/opt/muxpack.cc
index b060389e3e7befbb4135017982c178445dedb0ee..15a646e2ea3d47f02fb8825b931d2da1f0a40f7c 100644
(file)
--- a/
passes/opt/muxpack.cc
+++ b/
passes/opt/muxpack.cc
@@
-109,17
+109,9
@@
struct MuxpackWorker
}
else log_abort();
- {
- for (auto bit : a_sig.bits())
- if (sigbit_with_non_chain_users.count(bit))
- goto start_cell;
-
- Cell *c1 = sig_chain_prev.at(a_sig);
- Cell *c2 = cell;
-
- if (c1->getParam("\\WIDTH") != c2->getParam("\\WIDTH"))
+ for (auto bit : a_sig.bits())
+ if (sigbit_with_non_chain_users.count(bit))
goto start_cell;
- }
continue;