From: Luke Kenneth Casson Leighton Date: Mon, 23 Jul 2018 14:31:44 +0000 (+0100) Subject: get/put interface wrong way round X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=892d371e16407caf0cd98ffc3ab8f4bcd699015f;p=shakti-peripherals.git get/put interface wrong way round --- 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