mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
opt_expr: Remove -clkinv option, make it the default.
Adds -noclkinv option just in case the old behavior was actually useful to someone.
This commit is contained in:
parent
cf60699884
commit
6cd135a5eb
5 changed files with 17 additions and 18 deletions
|
@ -37,7 +37,7 @@ 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_expr [-mux_undef] [-mux_bool] [-undriven] [-clkinv] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_expr [-mux_undef] [-mux_bool] [-undriven] [-noclkinv] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_merge [-share_all] -nomux\n");
|
||||
log("\n");
|
||||
log(" do\n");
|
||||
|
@ -47,13 +47,13 @@ struct OptPass : public Pass {
|
|||
log(" opt_share (-full only)\n");
|
||||
log(" opt_rmdff [-keepdc] [-sat] (except when called with -noff)\n");
|
||||
log(" opt_clean [-purge]\n");
|
||||
log(" opt_expr [-mux_undef] [-mux_bool] [-undriven] [-clkinv] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_expr [-mux_undef] [-mux_bool] [-undriven] [-noclkinv] [-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_expr [-mux_undef] [-mux_bool] [-undriven] [-clkinv] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_expr [-mux_undef] [-mux_bool] [-undriven] [-noclkinv] [-fine] [-full] [-keepdc]\n");
|
||||
log(" opt_merge [-share_all]\n");
|
||||
log(" opt_rmdff [-keepdc] [-sat] (except when called with -noff)\n");
|
||||
log(" opt_clean [-purge]\n");
|
||||
|
@ -96,8 +96,8 @@ struct OptPass : public Pass {
|
|||
opt_expr_args += " -undriven";
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-clkinv") {
|
||||
opt_expr_args += " -clkinv";
|
||||
if (args[argidx] == "-noclkinv") {
|
||||
opt_expr_args += " -noclkinv";
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-fine") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue