mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Added "opt -full" alias for all more aggressive optimizations
This commit is contained in:
parent
a21481b338
commit
ab28491f27
4 changed files with 35 additions and 9 deletions
|
@ -37,22 +37,22 @@ struct OptPass : public Pass {
|
|||
log("a series of trivial optimizations and cleanups. This pass executes the other\n");
|
||||
log("passes in the following order:\n");
|
||||
log("\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven] [-fine] [-keepdc]\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_share -nomux\n");
|
||||
log("\n");
|
||||
log(" do\n");
|
||||
log(" opt_muxtree\n");
|
||||
log(" opt_reduce [-fine]\n");
|
||||
log(" opt_reduce [-fine] [-full]\n");
|
||||
log(" opt_share\n");
|
||||
log(" opt_rmdff\n");
|
||||
log(" opt_clean [-purge]\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven] [-fine] [-keepdc]\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven] [-fine] [-full] [-keepdc]\n");
|
||||
log(" while <changed design>\n");
|
||||
log("\n");
|
||||
log("When called with -fast the following script is used instead:\n");
|
||||
log("\n");
|
||||
log(" do\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven] [-fine] [-keepdc]\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_share\n");
|
||||
log(" opt_rmdff\n");
|
||||
log(" opt_clean [-purge]\n");
|
||||
|
@ -96,6 +96,11 @@ struct OptPass : public Pass {
|
|||
opt_reduce_args += " -fine";
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-full") {
|
||||
opt_const_args += " -full";
|
||||
opt_reduce_args += " -full";
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-keepdc") {
|
||||
opt_const_args += " -keepdc";
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue