convert rgbttl to axi master
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 25 Jul 2018 09:15:14 +0000 (10:15 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 25 Jul 2018 09:15:14 +0000 (10:15 +0100)
src/peripherals/rgbttl/rgbttl_dummy.bsv

index 88fafda634c997a41742ec483a36dcb52cc3567c..80fa8c6fde57b25211737a7ce35c94fa3d86457e 100644 (file)
@@ -36,10 +36,10 @@ package rgbttl_dummy;
   import ConcatReg::*;
   import Semi_FIFOF::*;
   import BUtils ::*;
-  import AXI4_Lite_Types::*;
+  import AXI4_Types::*;
 
   interface Ifc_rgbttl_dummy;
-         interface AXI4_Lite_Slave_IFC#(`ADDR, `DATA, `USERSPACE) slave;
+         interface AXI4_Master_IFC#(`ADDR, `DATA, `USERSPACE) master;
       interface Get#(Bit#(1)) de;
       interface Get#(Bit#(1)) ck;
       interface Get#(Bit#(1)) vs;
@@ -88,6 +88,6 @@ package rgbttl_dummy;
         endmethod
       endinterface;
 
-      interface slave=s_xactor.axi_side;
+      interface master=s_xactor.axi_side;
   endmodule
 endpackage