mirror of https://github.com/YosysHQ/yosys.git
Run opt_const before check in default scripts
This commit is contained in:
parent
ab0c44d3ed
commit
f1b959dc69
|
@ -69,6 +69,7 @@ struct PrepPass : public Pass {
|
|||
log("\n");
|
||||
log(" prep:\n");
|
||||
log(" proc\n");
|
||||
log(" opt_const\n");
|
||||
log(" opt_clean\n");
|
||||
log(" check\n");
|
||||
log(" opt -keepdc\n");
|
||||
|
@ -133,6 +134,7 @@ struct PrepPass : public Pass {
|
|||
if (check_label(active, run_from, run_to, "coarse"))
|
||||
{
|
||||
Pass::call(design, "proc");
|
||||
Pass::call(design, "opt_const");
|
||||
Pass::call(design, "opt_clean");
|
||||
Pass::call(design, "check");
|
||||
Pass::call(design, "opt -keepdc");
|
||||
|
|
|
@ -81,6 +81,7 @@ struct SynthPass : public Pass {
|
|||
log("\n");
|
||||
log(" coarse:\n");
|
||||
log(" proc\n");
|
||||
log(" opt_const\n");
|
||||
log(" opt_clean\n");
|
||||
log(" check\n");
|
||||
log(" opt\n");
|
||||
|
@ -179,6 +180,7 @@ struct SynthPass : public Pass {
|
|||
if (check_label(active, run_from, run_to, "coarse"))
|
||||
{
|
||||
Pass::call(design, "proc");
|
||||
Pass::call(design, "opt_const");
|
||||
Pass::call(design, "opt_clean");
|
||||
Pass::call(design, "check");
|
||||
Pass::call(design, "opt");
|
||||
|
|
Loading…
Reference in New Issue