From f016929806f34b2e2e7ff00e9a9071f184a0f60d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 21 Mar 2018 14:11:33 +0000 Subject: [PATCH] invert uart rx/tx generation to match wiredefs and interfacedef --- src/interface_decl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}, -- 2.30.2