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