synth: improve script documentation. NFC.

This commit is contained in:
whitequark 2019-01-02 08:05:44 +00:00
parent a91892bba4
commit fdff32dd73
1 changed files with 6 additions and 6 deletions

View File

@ -186,19 +186,19 @@ struct SynthPass : public ScriptPass
{ {
run("proc"); run("proc");
if (help_mode || flatten) if (help_mode || flatten)
run("flatten", "(if -flatten)"); run("flatten", " (if -flatten)");
run("opt_expr"); run("opt_expr");
run("opt_clean"); run("opt_clean");
run("check"); run("check");
run("opt"); run("opt");
run("wreduce"); run("wreduce");
if (!noalumacc) if (!noalumacc)
run("alumacc"); run("alumacc", " (unless -noalumacc)");
if (!noshare) if (!noshare)
run("share"); run("share", " (unless -noshare)");
run("opt"); run("opt");
if (!nofsm) if (!nofsm)
run("fsm" + fsm_opts); run("fsm" + fsm_opts, " (unless -nofsm)");
run("opt -fast"); run("opt -fast");
run("memory -nomap" + memory_opts); run("memory -nomap" + memory_opts);
run("opt_clean"); run("opt_clean");
@ -214,8 +214,8 @@ struct SynthPass : public ScriptPass
if (!noabc) { if (!noabc) {
#ifdef YOSYS_ENABLE_ABC #ifdef YOSYS_ENABLE_ABC
run("abc -fast"); run("abc -fast", "(unless -noabc)");
run("opt -fast"); run("opt -fast", "(unless -noabc)");
#endif #endif
} }
} }