get/put interface wrong way round
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 23 Jul 2018 14:31:44 +0000 (15:31 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 23 Jul 2018 14:31:44 +0000 (15:31 +0100)
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