platforms/targets: fix CI.
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 5 May 2020 13:55:09 +0000 (15:55 +0200)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Tue, 5 May 2020 13:55:09 +0000 (15:55 +0200)
litex/boards/platforms/netv2.py
litex/boards/platforms/nexys_video.py
test/test_targets.py

index c201b07f4a8b204550d1ce41137da935fab79f48..b598172c72fcad3c728a8f95f6d5922039464e6a 100644 (file)
@@ -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)
index e4a58ac8245761ef98b3575497a58b5d4c5d6b11..c8604e9f4152afe7cad0c1a01ed0bc19ba5ac182 100644 (file)
@@ -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)
index f8100fe49e685db30b8dc5d5346a23f49f9fef0f..2e71719f3b0d8f5ce39d69c68d4c88e6e603d583 100644 (file)
@@ -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)