projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b03a73
)
Fix input vector for reduce cells.
author
Kaj Tuomi
<kaj.tuomi@siru.fi>
Thu, 12 Oct 2017 10:05:10 +0000
(13:05 +0300)
committer
Kaj Tuomi
<kaj.tuomi@siru.fi>
Thu, 12 Oct 2017 10:05:10 +0000
(13:05 +0300)
passes/opt/opt_reduce.cc
patch
|
blob
|
history
diff --git
a/passes/opt/opt_reduce.cc
b/passes/opt/opt_reduce.cc
index eb9d02ad538bd8803391c5509ecd57c219237d6b..10bdf7221eede83e2c2d9d385f13e604fa2f775e 100644
(file)
--- a/
passes/opt/opt_reduce.cc
+++ b/
passes/opt/opt_reduce.cc
@@
-88,6
+88,7
@@
struct OptReduceWorker
RTLIL::SigSpec new_sig_a(new_sig_a_bits);
if (new_sig_a != sig_a || sig_a.size() != cell->getPort("\\A").size()) {
+ new_sig_a.sort_and_unify();
log(" New input vector for %s cell %s: %s\n", cell->type.c_str(), cell->name.c_str(), log_signal(new_sig_a));
did_something = true;
total_count++;