From: Jacob Lifshay Date: Tue, 26 Apr 2022 05:14:09 +0000 (-0700) Subject: format code X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=698e2ae35feb84d33e125bb9f11d15069bdd87fa;p=utils.git format code --- diff --git a/uart_demo.py b/uart_demo.py index cf318d5..4054f9b 100755 --- a/uart_demo.py +++ b/uart_demo.py @@ -63,7 +63,7 @@ class TickGenerator(Elaboratable): class SimpleUART(Elaboratable): """Simple transmit-only UART""" - def __init__(self, baud_rate=115200): # default for minicom/screen: 115200 + def __init__(self, baud_rate=115200): # default for minicom/screen: 115200 self.__tick_gen = TickGenerator(baud_rate) self.data_in = Signal(8) self.data_in_valid = Signal() @@ -229,7 +229,7 @@ PLATFORMS = { DEFAULT_PLATFORM = next(iter(PLATFORMS.keys())) DEFAULT_TOOLCHAIN = "yosys_nextpnr" -DEFAULT_TEXT = "Hello World!\r\n" # carriage-return line-feed +DEFAULT_TEXT = "Hello World!\r\n" # carriage-return line-feed PLATFORMS_TEXT = '\n'.join(PLATFORMS.keys()) HELP_TEXT = f"""