diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-06-05 11:53:06 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-06-05 11:53:06 -0700 |
commit | e473e7456545d702c011ee7872956f94a8522865 (patch) | |
tree | 357849f6ba0321d580757090481f88dc32ba8d72 | |
parent | dfe9d95579ab98d7518d40e427af858243de4eb3 (diff) | |
download | yosys-e473e7456545d702c011ee7872956f94a8522865.tar.gz yosys-e473e7456545d702c011ee7872956f94a8522865.tar.bz2 yosys-e473e7456545d702c011ee7872956f94a8522865.zip |
Revert "Move ff_map back after ABC for shregmap"
This reverts commit 9b9bd4e19f3da363eb3c90ef27ace282716d2e06.
-rw-r--r-- | techlibs/xilinx/synth_xilinx.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index b2559d272..e825a032c 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -286,7 +286,9 @@ struct SynthXilinxPass : public ScriptPass } if (check_label("map_cells")) { - run("techmap -map +/techmap.v -map +/xilinx/cells_map.v"); + run("techmap -map +/techmap.v -map +/xilinx/cells_map.v -map +/xilinx/ff_map.v "); + run("dffinit -ff FDRE Q INIT -ff FDCE Q INIT -ff FDPE Q INIT -ff FDSE Q INIT " + "-ff FDRE_1 Q INIT -ff FDCE_1 Q INIT -ff FDPE_1 Q INIT -ff FDSE_1 Q INIT"); run("clean"); } @@ -303,9 +305,7 @@ struct SynthXilinxPass : public ScriptPass // has performed any necessary retiming if (!nosrl || help_mode) run("shregmap -minlen 3 -init -params -enpol any_or_none", "(skip if '-nosrl')"); - run("techmap -map +/xilinx/lut_map.v -map +/xilinx/cells_map.v -map +/xilinx/ff_map.v"); - run("dffinit -ff FDRE Q INIT -ff FDCE Q INIT -ff FDPE Q INIT -ff FDSE Q INIT " - "-ff FDRE_1 Q INIT -ff FDCE_1 Q INIT -ff FDPE_1 Q INIT -ff FDSE_1 Q INIT"); + run("techmap -map +/xilinx/lut_map.v -map +/xilinx/cells_map.v"); run("clean"); } |