From: Florent Kermarrec Date: Tue, 5 May 2020 13:55:09 +0000 (+0200) Subject: platforms/targets: fix CI. X-Git-Tag: 24jan2021_ls180~384 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=98d1b45157c90ddf0d07ebf3bcdafef51dc6324d;p=litex.git platforms/targets: fix CI. --- diff --git a/litex/boards/platforms/netv2.py b/litex/boards/platforms/netv2.py index c201b07f..b598172c 100644 --- a/litex/boards/platforms/netv2.py +++ b/litex/boards/platforms/netv2.py @@ -199,5 +199,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 e4a58ac8..c8604e9f 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) diff --git a/test/test_targets.py b/test/test_targets.py index f8100fe4..2e71719f 100644 --- a/test/test_targets.py +++ b/test/test_targets.py @@ -134,7 +134,6 @@ class TestTargets(unittest.TestCase): litex/boards/targets/simple.py litex.boards.platforms.{p} \ --cpu-type=vexriscv \ --no-compile-software \ - --no-compile-gateware \ --uart-name=stub \ """.format(p=p) subprocess.check_call(cmd, shell=True) @@ -155,7 +154,6 @@ litex/boards/targets/simple.py litex.boards.platforms.arty \ --cpu-type={c} \ --cpu-variant={v} \ --no-compile-software \ - --no-compile-gateware \ --uart-name=stub \ """.format(c=cpu, v=variant) subprocess.check_output(cmd, shell=True)