From: Luke Kenneth Casson Leighton Date: Wed, 21 Mar 2018 14:11:33 +0000 (+0000) Subject: invert uart rx/tx generation to match wiredefs and interfacedef X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f016929806f34b2e2e7ff00e9a9071f184a0f60d;p=pinmux.git invert uart rx/tx generation to match wiredefs and interfacedef --- diff --git a/src/interface_decl.py b/src/interface_decl.py index 92d0b9a..122de2d 100644 --- a/src/interface_decl.py +++ b/src/interface_decl.py @@ -153,8 +153,8 @@ io_interface = IOInterface([{'name': 'io_outputval_{0}', 'enabled': False}, # Outputs from the peripherals will be inputs to the pinmux # module. Hence the change in direction for most pins -uartinterface_decl = Interface([{'name': 'tx_{0}', 'action': True}, - {'name': 'rx_{0}'}, +uartinterface_decl = Interface([{'name': 'rx_{0}'}, + {'name': 'tx_{0}', 'action': True}, ]) spiinterface_decl = Interface([{'name': 'sclk_{0}', 'action': True},