Revert "Add -tech xilinx_static"
authorEddie Hung <eddie@fpgeh.com>
Mon, 10 Jun 2019 21:34:14 +0000 (14:34 -0700)
committerEddie Hung <eddie@fpgeh.com>
Mon, 10 Jun 2019 21:34:14 +0000 (14:34 -0700)
This reverts commit dfe9d95579ab98d7518d40e427af858243de4eb3.

passes/techmap/shregmap.cc

index a1483fab580542a105e53d7d2de7a1d4288e00d8..c8971170a14c129011c07f7abaf21cb7c5dc1128 100644 (file)
@@ -719,7 +719,7 @@ struct ShregmapPass : public Pass {
                                        opts.zinit = true;
                                        opts.tech = new ShregmapTechGreenpak4;
                                }
-                               else if (tech == "xilinx_static" || tech == "xilinx_dynamic") {
+                               else if (tech == "xilinx_dynamic") {
                                        opts.init = true;
                                        opts.ffcells["$_DFF_P_"] = make_pair(IdString("\\D"), IdString("\\Q"));
                                        opts.ffcells["$_DFF_N_"] = make_pair(IdString("\\D"), IdString("\\Q"));
@@ -727,18 +727,7 @@ struct ShregmapPass : public Pass {
                                        opts.ffcells["$_DFFE_PN_"] = make_pair(IdString("\\D"), IdString("\\Q"));
                                        opts.ffcells["$_DFFE_NP_"] = make_pair(IdString("\\D"), IdString("\\Q"));
                                        opts.ffcells["$_DFFE_NN_"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDRE"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDRE_1"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDSE"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDSE_1"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDCE"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDCE_1"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDPE"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       opts.ffcells["FDPE_1"] = make_pair(IdString("\\D"), IdString("\\Q"));
-                                       if (tech == "xilinx_static")
-                                               opts.tech = new ShregmapTechXilinx7Dynamic(opts);
-                                       else if (tech == "xilinx_dynamic")
-                                               opts.tech = new ShregmapTechXilinx7Dynamic(opts);
+                                       opts.tech = new ShregmapTechXilinx7Dynamic(opts);
                                } else {
                                        argidx--;
                                        break;