rename sd to mmc
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 Aug 2018 09:32:29 +0000 (10:32 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 2 Aug 2018 09:32:29 +0000 (10:32 +0100)
src/bsv/peripheral_gen/sdmmc.py

index e3a0624c472192184b51c7483602016fdbb3af08..dcdb57c41b653f8aaa931b6a0ccf59f937d19d8a 100644 (file)
@@ -10,10 +10,10 @@ class sdmmc(PBase):
         return 13
 
     def mkslow_peripheral(self):
-        return "Ifc_sdcard_dummy sd{0} <-  mksdcard_dummy();"
+        return "Ifc_sdcard_dummy mmc{0} <-  mksdcard_dummy();"
 
     def _mk_connection(self, name=None, count=0):
-        return "sd{0}.slave"
+        return "mmc{0}.slave"
 
     def pinname_out(self, pname):
         if pname in ['cmd', 'clk']: