3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-18 06:39:03 +00:00

opt_lut: Skip narrowing when connections are constrained

This commit is contained in:
Martin Povišer 2024-01-15 12:42:39 +01:00
parent cee49aac94
commit 5be4727740

View file

@ -518,6 +518,12 @@ struct OptLutWorker
}
show_stats_by_arity();
if (!dlogic.empty()) {
// We don't have handling for the constraints, so until then, disable
// narrowing.
log("Narrowing LUTs skipped: constraints in place.\n");
return;
}
log("\n");
log("Narrowing LUTs.\n");
worklist = luts;