aboutsummaryrefslogtreecommitdiffstats
path: root/techlibs/xilinx/synth_xilinx.cc
diff options
context:
space:
mode:
authorEddie Hung <eddie@fpgeh.com>2020-01-01 08:34:43 -0800
committerEddie Hung <eddie@fpgeh.com>2020-01-01 08:34:43 -0800
commitc40b1aae42c91f200194f7f5f2caa512787ed5a3 (patch)
treecc34ef4e6469c0e310479711c39e5c5ebee39830 /techlibs/xilinx/synth_xilinx.cc
parentac808c5e2aa0fbcfb5b56160131fcc61ba13da05 (diff)
downloadyosys-c40b1aae42c91f200194f7f5f2caa512787ed5a3.tar.gz
yosys-c40b1aae42c91f200194f7f5f2caa512787ed5a3.tar.bz2
yosys-c40b1aae42c91f200194f7f5f2caa512787ed5a3.zip
Restore abc9 -keepff
Diffstat (limited to 'techlibs/xilinx/synth_xilinx.cc')
-rw-r--r--techlibs/xilinx/synth_xilinx.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc
index f2a9ae982..10aa7be5f 100644
--- a/techlibs/xilinx/synth_xilinx.cc
+++ b/techlibs/xilinx/synth_xilinx.cc
@@ -108,7 +108,7 @@ struct SynthXilinxPass : public ScriptPass
log(" flatten design before synthesis\n");
log("\n");
log(" -dff\n");
- log(" run 'abc9' with -dff option\n");
+ log(" enable sequential synthesis with 'abc9'\n");
log("\n");
log(" -retime\n");
log(" run 'abc' with -dff option\n");
@@ -559,6 +559,8 @@ struct SynthXilinxPass : public ScriptPass
abc9_opts += " -lut +/xilinx/abc9_xc7_nowide.lut";
else
abc9_opts += " -lut +/xilinx/abc9_xc7.lut";
+ if (!dff_mode)
+ abc9_opts += " -keepff";
run("abc9" + abc9_opts);
run("techmap -map +/xilinx/abc9_unmap.v");
}