Merge pull request #434 from Kmanfi/vector_fix

Fix input vector for reduce cells.
This commit is contained in:
Clifford Wolf 2017-10-12 12:16:47 +02:00 committed by GitHub
commit d565bc4a82
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++;