mibuild/platform/versa: fix clock_constraints

This commit is contained in:
Florent Kermarrec 2015-03-17 15:25:10 +01:00
parent e07b7f632c
commit 500e58ce7d
1 changed files with 3 additions and 0 deletions

View File

@ -79,6 +79,9 @@ class Platform(LatticePlatform):
def __init__(self):
LatticePlatform.__init__(self, "LFE3-35EA-6FN484C", _io)
def do_finalize(self, fragment):
LatticePlatform.do_finalize(self, fragment)
try:
self.add_period_constraint(self.lookup_request("eth_clocks", 0).rx, 8.0)
except ConstraintError: