From b58b9b9e6a3b2b4c3a61fe4fafc4a978d6162cea Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 5 May 2020 16:01:43 +0200 Subject: [PATCH] platforms: fix CI. --- litex_boards/platforms/colorlight_5a_75b.py | 4 +++- litex_boards/platforms/ecpix5.py | 1 + litex_boards/platforms/mimas_a7.py | 4 ++-- litex_boards/platforms/netv2.py | 4 ++-- litex_boards/platforms/nexys_video.py | 4 ++-- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/litex_boards/platforms/colorlight_5a_75b.py b/litex_boards/platforms/colorlight_5a_75b.py index 805e419..63a2c5b 100644 --- a/litex_boards/platforms/colorlight_5a_75b.py +++ b/litex_boards/platforms/colorlight_5a_75b.py @@ -227,4 +227,6 @@ class Platform(LatticePlatform): def do_finalize(self, fragment): LatticePlatform.do_finalize(self, fragment) - self.add_period_constraint(self.lookup_request("clk25", loose=True), 1e9/25e6) + self.add_period_constraint(self.lookup_request("clk25", loose=True), 1e9/25e6) + self.add_period_constraint(self.lookup_request("eth_clocks:rx", 0, loose=True), 1e9/125e6) + self.add_period_constraint(self.lookup_request("eth_clocks:rx", 1, loose=True), 1e9/125e6) \ No newline at end of file diff --git a/litex_boards/platforms/ecpix5.py b/litex_boards/platforms/ecpix5.py index 221fa06..7745b20 100644 --- a/litex_boards/platforms/ecpix5.py +++ b/litex_boards/platforms/ecpix5.py @@ -104,3 +104,4 @@ class Platform(LatticePlatform): def do_finalize(self, fragment): LatticePlatform.do_finalize(self, fragment) self.add_period_constraint(self.lookup_request("clk100", loose=True), 1e9/100e6) + self.add_period_constraint(self.lookup_request("eth_clocks:rx", 0, loose=True), 1e9/125e6) diff --git a/litex_boards/platforms/mimas_a7.py b/litex_boards/platforms/mimas_a7.py index 3a1b949..207837c 100644 --- a/litex_boards/platforms/mimas_a7.py +++ b/litex_boards/platforms/mimas_a7.py @@ -187,5 +187,5 @@ class Platform(XilinxPlatform): def do_finalize(self, fragment): XilinxPlatform.do_finalize(self, fragment) - self.add_period_constraint(self.lookup_request("clk100", loose=True), 1e9/100e6) - self.add_period_constraint(self.lookup_request("eth_clocks", loose=True), 1e9/125e6) + self.add_period_constraint(self.lookup_request("clk100", loose=True), 1e9/100e6) + self.add_period_constraint(self.lookup_request("eth_clocks:rx", loose=True), 1e9/125e6) diff --git a/litex_boards/platforms/netv2.py b/litex_boards/platforms/netv2.py index 0d6d9e2..bc6e104 100644 --- a/litex_boards/platforms/netv2.py +++ b/litex_boards/platforms/netv2.py @@ -197,5 +197,5 @@ class Platform(XilinxPlatform): def do_finalize(self, fragment): XilinxPlatform.do_finalize(self, fragment) - self.add_period_constraint(self.lookup_request("clk50", loose=True), 1e9/50e6) - self.add_period_constraint(self.lookup_request("eth_clocks", loose=True), 1e9/50e6) + self.add_period_constraint(self.lookup_request("clk50", loose=True), 1e9/50e6) + self.add_period_constraint(self.lookup_request("eth_clocks:ref_clk", loose=True), 1e9/50e6) diff --git a/litex_boards/platforms/nexys_video.py b/litex_boards/platforms/nexys_video.py index e4a58ac..c8604e9 100644 --- a/litex_boards/platforms/nexys_video.py +++ b/litex_boards/platforms/nexys_video.py @@ -243,5 +243,5 @@ class Platform(XilinxPlatform): def do_finalize(self, fragment): XilinxPlatform.do_finalize(self, fragment) - self.add_period_constraint(self.lookup_request("clk100", loose=True), 1e9/100e6) - self.add_period_constraint(self.lookup_request("eth_clocks", loose=True), 1e9/125e6) + self.add_period_constraint(self.lookup_request("clk100", loose=True), 1e9/100e6) + self.add_period_constraint(self.lookup_request("eth_clocks:rx", loose=True), 1e9/125e6)