Add xilinx_srl_pm.variable to test_pmgen
authorEddie Hung <eddie@fpgeh.com>
Tue, 27 Aug 2019 00:44:57 +0000 (17:44 -0700)
committerEddie Hung <eddie@fpgeh.com>
Tue, 27 Aug 2019 00:44:57 +0000 (17:44 -0700)
passes/pmgen/test_pmgen.cc

index b406f90f8279aeef3c1a6884549ab9ce07bf8e05..5b0cf075157cd449116553162f9346704ff5523c 100644 (file)
@@ -352,6 +352,8 @@ struct TestPmgenPass : public Pass {
 
                if (pattern == "xilinx_srl_fixed")
                        return GENERATE_PATTERN(xilinx_srl_pm, fixed);
+               if (pattern == "xilinx_srl_variable")
+                       return GENERATE_PATTERN(xilinx_srl_pm, variable);
 
                if (pattern == "peepopt-muldiv")
                        return GENERATE_PATTERN(peepopt_pm, muldiv);