platforms/kc705: add automatic clk200 constraint
authorSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 3 Aug 2014 07:53:58 +0000 (15:53 +0800)
committerSebastien Bourdeauducq <sb@m-labs.hk>
Sun, 3 Aug 2014 07:53:58 +0000 (15:53 +0800)
mibuild/platforms/kc705.py

index 4bfc13a82d6559770bee0be7d29be4ca0b170c35..66366c15214dfc0fa7564b77d09611eb033ed70b 100644 (file)
@@ -138,4 +138,8 @@ def Platform(*args, toolchain="vivado", **kwargs):
                                self.add_period_constraint(self.lookup_request("clk156").p, 6.4)
                        except ConstraintError:
                                pass
+                       try:
+                               self.add_period_constraint(self.lookup_request("clk200").p, 5.0)
+                       except ConstraintError:
+                               pass
        return RealPlatform(*args, **kwargs)