mirror of https://github.com/YosysHQ/yosys.git
update opt_muxtree iteration limit
This commit is contained in:
parent
b5251b4802
commit
d67989f9ad
|
@ -149,7 +149,7 @@ struct OptMuxtreeWorker
|
|||
|
||||
// Limit the number of iterations based on the number of muxes.
|
||||
// The multiplier (1000) is arbitrary.
|
||||
glob_abort_cnt = GetSize(mux2info) * 1000;
|
||||
glob_abort_cnt = max(100000, GetSize(mux2info) * 100);
|
||||
|
||||
// Populate mux2info[].ports[]:
|
||||
// .input_muxes
|
||||
|
|
Loading…
Reference in New Issue