3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-29 20:05:52 +00:00

Add -nocells option to equiv_make and equiv_opt to ensure that equivalence is only checked for wires

This commit is contained in:
Akash Levy 2025-01-16 19:35:22 -08:00
parent c42fd5164c
commit d8631420a1
2 changed files with 18 additions and 1 deletions

View file

@ -60,6 +60,9 @@ struct EquivOptPass:public ScriptPass
log(" -undef\n");
log(" enable modelling of undef states during equiv_induct.\n");
log("\n");
log(" -nocells\n");
log(" Do not check for equivalent cells, just wires.\n");
log("\n");
log(" -nocheck\n");
log(" disable running check before and after the command under test.\n");
log("\n");
@ -126,6 +129,10 @@ struct EquivOptPass:public ScriptPass
async2sync = true;
continue;
}
if (args[argidx] == "-nocells") {
make_opts += " -nocells";
continue;
}
break;
}