platforms/targets: fix CI.
This commit is contained in:
parent
22bcbec03a
commit
98d1b45157
|
@ -200,4 +200,4 @@ class Platform(XilinxPlatform):
|
||||||
def do_finalize(self, fragment):
|
def do_finalize(self, fragment):
|
||||||
XilinxPlatform.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("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("eth_clocks:ref_clk", loose=True), 1e9/50e6)
|
||||||
|
|
|
@ -244,4 +244,4 @@ class Platform(XilinxPlatform):
|
||||||
def do_finalize(self, fragment):
|
def do_finalize(self, fragment):
|
||||||
XilinxPlatform.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("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("eth_clocks:rx", loose=True), 1e9/125e6)
|
||||||
|
|
|
@ -134,7 +134,6 @@ class TestTargets(unittest.TestCase):
|
||||||
litex/boards/targets/simple.py litex.boards.platforms.{p} \
|
litex/boards/targets/simple.py litex.boards.platforms.{p} \
|
||||||
--cpu-type=vexriscv \
|
--cpu-type=vexriscv \
|
||||||
--no-compile-software \
|
--no-compile-software \
|
||||||
--no-compile-gateware \
|
|
||||||
--uart-name=stub \
|
--uart-name=stub \
|
||||||
""".format(p=p)
|
""".format(p=p)
|
||||||
subprocess.check_call(cmd, shell=True)
|
subprocess.check_call(cmd, shell=True)
|
||||||
|
@ -155,7 +154,6 @@ litex/boards/targets/simple.py litex.boards.platforms.arty \
|
||||||
--cpu-type={c} \
|
--cpu-type={c} \
|
||||||
--cpu-variant={v} \
|
--cpu-variant={v} \
|
||||||
--no-compile-software \
|
--no-compile-software \
|
||||||
--no-compile-gateware \
|
|
||||||
--uart-name=stub \
|
--uart-name=stub \
|
||||||
""".format(c=cpu, v=variant)
|
""".format(c=cpu, v=variant)
|
||||||
subprocess.check_output(cmd, shell=True)
|
subprocess.check_output(cmd, shell=True)
|
||||||
|
|
Loading…
Reference in New Issue