mibuild/platform/versa: fix clock_constraints
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 17 Mar 2015 14:25:10 +0000 (15:25 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 17 Mar 2015 14:25:10 +0000 (15:25 +0100)
mibuild/platforms/versa.py

index acdd9cfd06893e61927e1dab207971e8373a6ec4..b753ac7fb1698bfa5aa3c078fc3e17289931fbcf 100644 (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: