aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/common
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-01-02 08:05:44 +0000
committerwhitequark <whitequark@whitequark.org>2019-01-02 08:05:44 +0000
commitfdff32dd731d92c854aef73ea9fad89635e82c0f (patch)
treedf7665b367ac18e678e3c53ff6d0405a7010cd16 /techlibs/common
parenta91892bba422bbe8de080a105a6fb4b44f96df1a (diff)
downloadyosys-fdff32dd731d92c854aef73ea9fad89635e82c0f.tar.gz
yosys-fdff32dd731d92c854aef73ea9fad89635e82c0f.tar.bz2
yosys-fdff32dd731d92c854aef73ea9fad89635e82c0f.zip
synth: improve script documentation. NFC.
Diffstat (limited to 'techlibs/common')
-rw-r--r--techlibs/common/synth.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/techlibs/common/synth.cc b/techlibs/common/synth.cc
index efb214759..5cadbba7a 100644
--- a/techlibs/common/synth.cc
+++ b/techlibs/common/synth.cc
@@ -186,19 +186,19 @@ struct SynthPass : public ScriptPass
{
run("proc");
if (help_mode || flatten)
- run("flatten", "(if -flatten)");
+ run("flatten", " (if -flatten)");
run("opt_expr");
run("opt_clean");
run("check");
run("opt");
run("wreduce");
if (!noalumacc)
- run("alumacc");
+ run("alumacc", " (unless -noalumacc)");
if (!noshare)
- run("share");
+ run("share", " (unless -noshare)");
run("opt");
if (!nofsm)
- run("fsm" + fsm_opts);
+ run("fsm" + fsm_opts, " (unless -nofsm)");
run("opt -fast");
run("memory -nomap" + memory_opts);
run("opt_clean");
@@ -214,8 +214,8 @@ struct SynthPass : public ScriptPass
if (!noabc) {
#ifdef YOSYS_ENABLE_ABC
- run("abc -fast");
- run("opt -fast");
+ run("abc -fast", "(unless -noabc)");
+ run("opt -fast", "(unless -noabc)");
#endif
}
}