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

Added "opt -full" alias for all more aggressive optimizations

This commit is contained in:
Clifford Wolf 2014-10-31 03:36:51 +01:00
parent a21481b338
commit ab28491f27
4 changed files with 35 additions and 9 deletions

View file

@ -346,6 +346,9 @@ struct OptReducePass : public Pass {
log(" -fine\n");
log(" perform fine-grain optimizations\n");
log("\n");
log(" -full\n");
log(" alias for -fine\n");
log("\n");
}
virtual void execute(std::vector<std::string> args, RTLIL::Design *design)
{
@ -359,6 +362,10 @@ struct OptReducePass : public Pass {
do_fine = true;
continue;
}
if (args[argidx] == "-full") {
do_fine = true;
continue;
}
break;
}
extra_args(args, argidx, design);