3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-05 17:14:08 +00:00

share: use share.pattern_limit from scratchpad

This commit is contained in:
Emil J. Tywoniak 2025-03-11 14:57:00 +01:00
parent ca9176cd0f
commit 6c9857403c

View file

@ -1477,7 +1477,7 @@ struct SharePass : public Pass {
ShareWorkerConfig config;
config.limit = -1;
config.pattern_limit = 1000;
config.pattern_limit = design->scratchpad_get_int("share.pattern_limit", 1000);
config.opt_force = false;
config.opt_aggressive = false;
config.opt_fast = false;