diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-11-23 10:18:22 -0800 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-11-23 10:18:22 -0800 |
commit | eb11c06a69c3b50e39cf363926992b40a9c440c3 (patch) | |
tree | f184249c80e89dded1e0a4915ea318332be8bde5 /techlibs/xilinx/synth_xilinx.cc | |
parent | 7b2bccb3d328b0528003141feabfacb532679ac0 (diff) | |
download | yosys-eb11c06a69c3b50e39cf363926992b40a9c440c3.tar.gz yosys-eb11c06a69c3b50e39cf363926992b40a9c440c3.tar.bz2 yosys-eb11c06a69c3b50e39cf363926992b40a9c440c3.zip |
For abc9, run clkpart before ff_map and after abc9
Diffstat (limited to 'techlibs/xilinx/synth_xilinx.cc')
-rw-r--r-- | techlibs/xilinx/synth_xilinx.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index b5c203d1f..7105ba429 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -513,6 +513,7 @@ struct SynthXilinxPass : public ScriptPass if (check_label("map_ffs")) { if (abc9 || help_mode) { + run("clkpart -set_attr clkpart 1", "('-abc9' only)"); run("techmap -map " + ff_map_file, "('-abc9' only)"); } } @@ -537,6 +538,7 @@ struct SynthXilinxPass : public ScriptPass else abc9_opts += " -lut +/xilinx/abc9_xc7.lut"; run("abc9" + abc9_opts); + run("clkpart -unpart clkpart"); } else { if (nowidelut) |