From 6776e2275c645c9376b7883db356f7c67040b628 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sun, 1 Jul 2012 18:14:16 +0200 Subject: [PATCH] Work around imbecilic timing constraints system --- constraints.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/constraints.py b/constraints.py index 75fafc148..4e2c4f7c4 100644 --- a/constraints.py +++ b/constraints.py @@ -100,6 +100,11 @@ TIMESPEC "TSphy_rx_clk" = PERIOD "GRPphy_rx_clk" 40 ns HIGH 50%; TIMESPEC "TSphy_tx_clk" = PERIOD "GRPphy_tx_clk" 40 ns HIGH 50%; TIMESPEC "TSphy_tx_clk_io" = FROM "GRPphy_tx_clk" TO "PADS" 10 ns; TIMESPEC "TSphy_rx_clk_io" = FROM "PADS" TO "GRPphy_rx_clk" 10 ns; + +NET "asfifo*/counter_read/gray_count*" TIG; +NET "asfifo*/counter_write/gray_count*" TIG; +NET "asfifo*/preset_empty*" TIG; + """.format(phy_rx_clk=ns.get_name(self._phy_rx_clk), phy_tx_clk=ns.get_name(self._phy_tx_clk)) return r