diff options
author | Clifford Wolf <clifford@clifford.at> | 2019-03-06 00:41:02 -0800 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2019-03-06 00:41:02 -0800 |
commit | 78762316aabf6d6fb55cfd4ab5b5a161a69ba203 (patch) | |
tree | 8f7b4890956e3971a2efe037424d28028fb83507 /techlibs/sf2/synth_sf2.cc | |
parent | b1b9edf5cc9e280346ffa0132d570a8ff656eb22 (diff) | |
download | yosys-78762316aabf6d6fb55cfd4ab5b5a161a69ba203.tar.gz yosys-78762316aabf6d6fb55cfd4ab5b5a161a69ba203.tar.bz2 yosys-78762316aabf6d6fb55cfd4ab5b5a161a69ba203.zip |
Refactor SF2 iobuf insertion, Add clkint insertion
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'techlibs/sf2/synth_sf2.cc')
-rw-r--r-- | techlibs/sf2/synth_sf2.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/techlibs/sf2/synth_sf2.cc b/techlibs/sf2/synth_sf2.cc index b834af07d..0924df7a6 100644 --- a/techlibs/sf2/synth_sf2.cc +++ b/techlibs/sf2/synth_sf2.cc @@ -63,8 +63,8 @@ struct SynthSf2Pass : public ScriptPass log(" -noiobs\n"); log(" run synthesis in \"block mode\", i.e. do not insert IO buffers\n"); log("\n"); - log(" -noclkbuf\n"); - log(" do not inser clock buffers, only simpe IO buffers\n"); + log(" -clkbuf\n"); + log(" insert direct PAD->global_net buffers\n"); log("\n"); log(" -retime\n"); log(" run 'abc' with -dff option\n"); @@ -87,7 +87,7 @@ struct SynthSf2Pass : public ScriptPass flatten = true; retime = false; iobs = true; - clkbuf = true; + clkbuf = false; } void execute(std::vector<std::string> args, RTLIL::Design *design) YS_OVERRIDE @@ -134,8 +134,8 @@ struct SynthSf2Pass : public ScriptPass iobs = false; continue; } - if (args[argidx] == "-noclkbuf") { - clkbuf = false; + if (args[argidx] == "-clkbuf") { + clkbuf = true; continue; } break; @@ -210,9 +210,9 @@ struct SynthSf2Pass : public ScriptPass if (check_label("map_iobs")) { if (help_mode) - run("sf2_iobs [-noclkbuf]", "(unless -noiobs)"); + run("sf2_iobs [-clkbuf]", "(unless -noiobs)"); else if (iobs) - run(clkbuf ? "sf2_iobs" : "sf2_iobs -noclkbuf"); + run(clkbuf ? "sf2_iobs -clkbuf" : "sf2_iobs"); run("clean"); } |