From 892d371e16407caf0cd98ffc3ab8f4bcd699015f Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 15:31:44 +0100 Subject: [PATCH] get/put interface wrong way round --- src/peripherals/uart/Uart16550.bsv | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/peripherals/uart/Uart16550.bsv b/src/peripherals/uart/Uart16550.bsv index 8bb9d1b..86fc67b 100644 --- a/src/peripherals/uart/Uart16550.bsv +++ b/src/peripherals/uart/Uart16550.bsv @@ -176,14 +176,14 @@ typedef enum { (* always_ready, always_enabled *) interface RS232_PHY_Ifc; - interface Get#(Bit#(1)) srx_in; - interface Get#(Bit#(1)) cts_in; - interface Get#(Bit#(1)) dsr_in; - interface Get#(Bit#(1)) ri_in; - interface Get#(Bit#(1)) dcd_in; - interface Put#(Bit#(1)) stx_out; - interface Put#(Bit#(1)) rts_out; - interface Put#(Bit#(1)) dtr_out; + interface Put#(Bit#(1)) srx_in; + interface Put#(Bit#(1)) cts_in; + interface Put#(Bit#(1)) dsr_in; + interface Put#(Bit#(1)) ri_in; + interface Put#(Bit#(1)) dcd_in; + interface Get#(Bit#(1)) stx_out; + interface Get#(Bit#(1)) rts_out; + interface Get#(Bit#(1)) dtr_out; endinterface -- 2.30.2