mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-06 14:13:23 +00:00
Added opt_const -undriven
This commit is contained in:
parent
c526e56747
commit
594d52e0b6
2 changed files with 68 additions and 3 deletions
|
@ -31,7 +31,7 @@ struct OptPass : public Pass {
|
|||
{
|
||||
// |---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|---v---|
|
||||
log("\n");
|
||||
log(" opt [-mux_undef] [-mux_bool] [selection]\n");
|
||||
log(" opt [-mux_undef] [-mux_bool] [-undriven] [selection]\n");
|
||||
log("\n");
|
||||
log("This pass calls all the other opt_* passes in a useful order. This performs\n");
|
||||
log("a series of trivial optimizations and cleanups. This pass executes the other\n");
|
||||
|
@ -46,7 +46,7 @@ struct OptPass : public Pass {
|
|||
log(" opt_share\n");
|
||||
log(" opt_rmdff\n");
|
||||
log(" opt_clean\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool]\n");
|
||||
log(" opt_const [-mux_undef] [-mux_bool] [-undriven]\n");
|
||||
log(" while [changed design]\n");
|
||||
log("\n");
|
||||
}
|
||||
|
@ -67,6 +67,10 @@ struct OptPass : public Pass {
|
|||
opt_const_args += " -mux_bool";
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-undriven") {
|
||||
opt_const_args += " -undriven";
|
||||
continue;
|
||||
}
|
||||
break;
|
||||
}
|
||||
extra_args(args, argidx, design);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue