Fix input vector for reduce cells.

This commit is contained in:
Kaj Tuomi 2017-10-12 13:05:10 +03:00
parent 2b03a73a46
commit 90be0d800b
1 changed files with 1 additions and 0 deletions

View File

@ -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++;