platforms/kc705: add automatic clk200 constraint

This commit is contained in:
Sebastien Bourdeauducq 2014-08-03 15:53:58 +08:00
parent 40dcc8b2aa
commit 8adf6027e1
1 changed files with 4 additions and 0 deletions

View 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)