projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f6e914
)
Resolve @cliffordwolf comment on sigmap
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 7 Jun 2019 18:36:19 +0000
(11:36 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 7 Jun 2019 18:36:19 +0000
(11:36 -0700)
passes/opt/muxpack.cc
patch
|
blob
|
history
diff --git
a/passes/opt/muxpack.cc
b/passes/opt/muxpack.cc
index 8c4db4e4d8ce642c70b6789119e5133464f2edf0..b060389e3e7befbb4135017982c178445dedb0ee 100644
(file)
--- a/
passes/opt/muxpack.cc
+++ b/
passes/opt/muxpack.cc
@@
-94,9
+94,9
@@
struct MuxpackWorker
{
log_debug("Considering %s (%s)\n", log_id(cell), log_id(cell->type));
- SigSpec a_sig =
cell->getPort("\\A"
);
+ SigSpec a_sig =
sigmap(cell->getPort("\\A")
);
if (cell->type == "$mux") {
- SigSpec b_sig =
cell->getPort("\\B"
);
+ SigSpec b_sig =
sigmap(cell->getPort("\\B")
);
if (sig_chain_prev.count(a_sig) + sig_chain_prev.count(b_sig) != 1)
goto start_cell;