"""
def __init__(self, *, sys_clk_freq=100e6,
"""
def __init__(self, *, sys_clk_freq=100e6,
# uart peripheral clock rate, currently assumed to be system clock
# 0 ..31 : UART clock freq (in HZ)
# 32 : UART is 16550 (otherwise pp)
# uart peripheral clock rate, currently assumed to be system clock
# 0 ..31 : UART clock freq (in HZ)
# 32 : UART is 16550 (otherwise pp)
# Reg Info, defines what peripherals and characteristics are present
comb += self._reg_info_r.r_data[0].eq(self.has_uart) # has UART0
# Reg Info, defines what peripherals and characteristics are present
comb += self._reg_info_r.r_data[0].eq(self.has_uart) # has UART0