mirror of https://github.com/YosysHQ/yosys.git
opt_reduce: Call check() per run rather than per optimised cell
Signed-off-by: David Shah <dave@ds0.me>
This commit is contained in:
parent
409e532433
commit
6fd9cae5ca
|
@ -235,7 +235,6 @@ struct OptReduceWorker
|
|||
log(" New connections: %s = %s\n", log_signal(old_sig_conn.first), log_signal(old_sig_conn.second));
|
||||
|
||||
module->connect(old_sig_conn);
|
||||
module->check();
|
||||
|
||||
did_something = true;
|
||||
total_count++;
|
||||
|
@ -324,6 +323,8 @@ struct OptReduceWorker
|
|||
opt_mux(cell);
|
||||
}
|
||||
}
|
||||
|
||||
module->check();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue