3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-15 11:45:41 +00:00

Changed min cone size

This commit is contained in:
AdvaySingh1 2026-02-17 16:22:05 -08:00
parent 2ab89e1146
commit 90dbb91cae

View file

@ -346,7 +346,7 @@ struct InferCeWorker
int cone_size = (int)cone.size();
// Skip registers with trivial cones (not worth gating) or huge cones (too expensive)
const int MIN_CONE_SIZE = 5;
const int MIN_CONE_SIZE = 2;
const int MAX_CONE_SIZE = 500;
if (cone_size < MIN_CONE_SIZE || cone_size > MAX_CONE_SIZE)
return {{}, false, cone_size};