diff --git a/litex/boards/platforms/netv2.py b/litex/boards/platforms/netv2.py index c201b07f4..b598172c7 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 e4a58ac82..c8604e9f4 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 f8100fe49..2e71719f3 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)