reformat header
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 08:13:06 +0000 (09:13 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 08:13:06 +0000 (09:13 +0100)
src/peripherals/spi/spi.bsv

index 71204d54e803d904f5210141d42ced27fd13400d..81be0501732e7fe69d6612aad80b7b002dbc2944 100644 (file)
@@ -60,7 +60,7 @@ package spi;
        
     Ifc_qspi qspi <- mkqspi();
 
-    interface SPI_out out;
+    interface out = interface SPI_out
        method Bit#(9) io0_sdio_ctrl;
                return qspi.out.io0_sdio_ctrl;
        endmethod
@@ -89,7 +89,7 @@ package spi;
       endinterface;
       interface clk_o = qspi.out.clk_o;
       interface ncs_o = qspi.ncs_o;
-    endinterface
+    endinterface;
 
     interface slave = qspi.slave;
 
@@ -98,4 +98,5 @@ package spi;
                return qspi.interripts;
        endmethod
 
+  endmodule
 endpackage