need to rename packages to match "master" convention
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 13:27:38 +0000 (14:27 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 24 Jul 2018 13:27:38 +0000 (14:27 +0100)
src/peripherals/qspi/mqspi.bsv
src/peripherals/spi/mspi.bsv

index 132edf9b6ed4662ab247165dac7d6caa8769de6a..e22bd8c6daff98c9bfb4f8170b2ed7ae869bad21 100644 (file)
@@ -66,7 +66,7 @@ package mqspi;
         interface Get#(Bit#(1)) ncs_o;
     endinterface
 
-    interface Ifc_qspi;
+    interface Ifc_mqspi;
         interface QSPI_out out;
                interface AXI4_Lite_Slave_IFC#(`PADDR,`Reg_width,`USERSPACE) slave;
                method Bit#(6) interrupts; // 0=TOF, 1=SMF, 2=Threshold, 3=TCF, 4=TEF 5 = request_ready
@@ -140,7 +140,7 @@ package mqspi;
                                                Idle=6} Phase deriving (Bits,Eq,FShow);
 
        (*synthesize*)
-       module mkqspi(Ifc_qspi);
+       module mkqspi(Ifc_mqspi);
        
        AXI4_Lite_Slave_Xactor_IFC #(`PADDR, `Reg_width, `USERSPACE)  s_xactor <- mkAXI4_Lite_Slave_Xactor;
        /*************** List of implementation defined Registers *****************/
index c49f9298c6092dd690628dd6b2daf054ef93ba81..40568abd28cc180b62d9303ac0158d917573234e 100644 (file)
@@ -50,7 +50,7 @@ package mspi;
         interface Get#(Bit#(1)) ncs_o;
     endinterface
 
-    interface Ifc_spi;
+    interface Ifc_mspi;
         interface SPI_out out;
                interface AXI4_Lite_Slave_IFC#(`PADDR,`Reg_width,`USERSPACE) slave;
         // 0=TOF, 1=SMF, 2=Threshold, 3=TCF, 4=TEF 5 = request_ready
@@ -59,7 +59,7 @@ package mspi;
 
 
        (*synthesize*)
-       module mkspi(Ifc_spi);
+       module mkspi(Ifc_mspi);
        
     Ifc_qspi qspi <- mkqspi();