synth_xilinx to now have shregmap call after dff2dffe
authorEddie Hung <eddieh@ece.ubc.ca>
Thu, 28 Feb 2019 17:32:29 +0000 (09:32 -0800)
committerEddie Hung <eddieh@ece.ubc.ca>
Thu, 28 Feb 2019 17:32:29 +0000 (09:32 -0800)
techlibs/xilinx/synth_xilinx.cc

index 6c11d885d53a1aeedbe62c77963e95e51b1614af..afd868743ae88fa442de0cdd918e536da67ae423 100644 (file)
@@ -103,6 +103,7 @@ struct SynthXilinxPass : public Pass
                log("        memory_map\n");
                log("        dffsr2dff\n");
                log("        dff2dffe\n");
+               log("        shregmap -init\n");
                log("        opt -full\n");
                log("        techmap -map +/techmap.v -map +/xilinx/arith_map.v\n");
                log("        opt -fast\n");
@@ -222,6 +223,7 @@ struct SynthXilinxPass : public Pass
                        Pass::call(design, "memory_map");
                        Pass::call(design, "dffsr2dff");
                        Pass::call(design, "dff2dffe");
+                       Pass::call(design, "shregmap -init");
                        Pass::call(design, "opt -full");
                        Pass::call(design, "techmap -map +/techmap.v -map +/xilinx/arith_map.v");
                        Pass::call(design, "opt -fast");