diff --git a/src/com/xilinx/rapidwright/examples/PolynomialGenerator.java b/src/com/xilinx/rapidwright/examples/PolynomialGenerator.java index f68c2730f..32d23667b 100644 --- a/src/com/xilinx/rapidwright/examples/PolynomialGenerator.java +++ b/src/com/xilinx/rapidwright/examples/PolynomialGenerator.java @@ -34,7 +34,6 @@ import com.xilinx.rapidwright.design.Design; import com.xilinx.rapidwright.design.Module; import com.xilinx.rapidwright.design.ModuleInst; -import com.xilinx.rapidwright.design.Net; import com.xilinx.rapidwright.design.NetType; import com.xilinx.rapidwright.design.SiteInst; import com.xilinx.rapidwright.design.blocks.PBlock; @@ -395,6 +394,7 @@ public static Design generatePolynomial(String polynomial, String name, int widt if (route) { t.stop().start("RWRoute"); + d.flattenDesign(); RWRoute.routeDesignFullNonTimingDriven(d); }