On Friday, May 13, 2016 02:59 AM, William D. Jones wrote:
     def add_period_constraint(self, platform, clk, period):
-        pass
+        new_freq = 1000.0/period
+        if self.freq_constraint < new_freq:
+            self.freq_constraint = new_freq

What if the design has multiple clocks? Why is calling this function twice for the same clock allowed, with the fastest clock taken into account?
_______________________________________________
M-Labs devel mailing list
https://ssl.serverraum.org/lists/listinfo/devel

Reply via email to