diff options
author | Eddie Hung <eddie@fpgeh.com> | 2019-05-22 02:36:28 -0700 |
---|---|---|
committer | Eddie Hung <eddie@fpgeh.com> | 2019-05-22 02:36:28 -0700 |
commit | 4f44e3399ba6c959c830943c44c4ad728be895fa (patch) | |
tree | e62ccb58dd1083d7219d5aedfab85b78b5ffd998 | |
parent | 9b1078b9bde70141514488acd01bb32b5422f9bd (diff) | |
download | yosys-4f44e3399ba6c959c830943c44c4ad728be895fa.tar.gz yosys-4f44e3399ba6c959c830943c44c4ad728be895fa.tar.bz2 yosys-4f44e3399ba6c959c830943c44c4ad728be895fa.zip |
shift register inference before mux
-rw-r--r-- | techlibs/xilinx/synth_xilinx.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/techlibs/xilinx/synth_xilinx.cc b/techlibs/xilinx/synth_xilinx.cc index ec7768ffe..3cee81a7b 100644 --- a/techlibs/xilinx/synth_xilinx.cc +++ b/techlibs/xilinx/synth_xilinx.cc @@ -266,9 +266,6 @@ struct SynthXilinxPass : public ScriptPass else if (!nocarry || help_mode) run("techmap -map +/xilinx/arith_map.v", "(skip if '-nocarry')"); - if (!nomux || help_mode) - run("techmap -map +/xilinx/cells_map.v"); - if (!nosrl || help_mode) { // shregmap operates on bit-level flops, not word-level, // so break those down here @@ -277,6 +274,9 @@ struct SynthXilinxPass : public ScriptPass run("shregmap -tech xilinx -minlen 3", "(skip if '-nosrl')"); } + if (!nomux || help_mode) + run("techmap -map +/xilinx/cells_map.v"); + run("techmap"); run("opt -fast"); } |