soc/integration/soc: fix typo at UARTBone call (addr_width -> address_width)
This commit is contained in:
parent
4b9601bdab
commit
16133359d6
|
@ -1482,10 +1482,10 @@ class LiteXSoC(SoC):
|
||||||
self.check_if_exists(name)
|
self.check_if_exists(name)
|
||||||
uartbone_phy = uart.UARTPHY(self.platform.request(uart_name), clk_freq, baudrate)
|
uartbone_phy = uart.UARTPHY(self.platform.request(uart_name), clk_freq, baudrate)
|
||||||
uartbone = uart.UARTBone(
|
uartbone = uart.UARTBone(
|
||||||
phy = uartbone_phy,
|
phy = uartbone_phy,
|
||||||
clk_freq = clk_freq,
|
clk_freq = clk_freq,
|
||||||
cd = cd,
|
cd = cd,
|
||||||
addr_width = self.bus.address_width)
|
address_width = self.bus.address_width)
|
||||||
self.add_module(name=f"{name}_phy", module=uartbone_phy)
|
self.add_module(name=f"{name}_phy", module=uartbone_phy)
|
||||||
self.add_module(name=name, module=uartbone)
|
self.add_module(name=name, module=uartbone)
|
||||||
self.bus.add_master(name=name, master=uartbone.wishbone)
|
self.bus.add_master(name=name, master=uartbone.wishbone)
|
||||||
|
|
Loading…
Reference in New Issue