get/put interface wrong way round
[shakti-peripherals.git] / src / peripherals / uart / Uart16550.bsv
index 8bb9d1bc2023f70bbd68da6365ff62bc67b6a9b2..86fc67b3fe5aee9eb0d80850a7583311f2526ea4 100644 (file)
@@ -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