bench/uartbone: Update with LiteX change.
This commit is contained in:
parent
b291032987
commit
39c0b0356c
|
@ -95,7 +95,7 @@ class BenchSoC(SoCCore):
|
|||
|
||||
# UARTBone ---------------------------------------------------------------------------------
|
||||
if uart != "serial":
|
||||
self.add_uartbone(name="serial", clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
self.add_uartbone(clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
|
||||
# Etherbone --------------------------------------------------------------------------------
|
||||
self.submodules.ethphy = LiteEthPHYMII(
|
||||
|
|
|
@ -86,7 +86,7 @@ class BenchSoC(SoCCore):
|
|||
|
||||
# UARTBone ---------------------------------------------------------------------------------
|
||||
if uart != "serial":
|
||||
self.add_uartbone(name="serial", clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
self.add_uartbone(clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
|
||||
# Etherbone --------------------------------------------------------------------------------
|
||||
self.submodules.ethphy = LiteEthPHYRGMII(
|
||||
|
|
|
@ -88,7 +88,7 @@ class BenchSoC(SoCCore):
|
|||
|
||||
# UARTBone ---------------------------------------------------------------------------------
|
||||
if uart != "serial":
|
||||
self.add_uartbone(name="serial", clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
self.add_uartbone(clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
|
||||
# Etherbone --------------------------------------------------------------------------------
|
||||
self.submodules.ethphy = LiteEthPHY(
|
||||
|
|
|
@ -105,7 +105,7 @@ class BenchSoC(SoCCore):
|
|||
|
||||
# UARTBone ---------------------------------------------------------------------------------
|
||||
if uart != "serial":
|
||||
self.add_uartbone(name="serial", clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
self.add_uartbone(clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
|
||||
# Etherbone --------------------------------------------------------------------------------
|
||||
self.submodules.ethphy = KU_1000BASEX(self.crg.cd_eth.clk,
|
||||
|
|
|
@ -103,7 +103,7 @@ class BenchSoC(SoCCore):
|
|||
|
||||
# UARTBone ---------------------------------------------------------------------------------
|
||||
if uart != "serial":
|
||||
self.add_uartbone(name="serial", clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
self.add_uartbone(clk_freq=100e6, baudrate=115200, cd="uart")
|
||||
|
||||
# Analyzer ---------------------------------------------------------------------------------
|
||||
if with_analyzer:
|
||||
|
|
|
@ -260,7 +260,7 @@ class BaseSoC(SoCCore):
|
|||
|
||||
if dynamic_freq:
|
||||
# UartBone -----------------------------------------------------------------------------
|
||||
self.add_uartbone(name="serial", clk_freq=100e6, baudrate=1e6, cd="uart")
|
||||
self.add_uartbone(clk_freq=100e6, baudrate=1e6, cd="uart")
|
||||
else:
|
||||
# Etherbone ----------------------------------------------------------------------------
|
||||
self.submodules.ethphy = LiteEthPHYMII(
|
||||
|
|
Loading…
Reference in New Issue