remove slowifdecl for sdmmc and rgbttl
[pinmux.git] / src / bsv / peripheral_gen / sdmmc.py
1 from bsv.peripheral_gen.base import PBase
2
3 class sdmmc(PBase):
4
5 def slowimport(self):
6 return " import sdcard_dummy :: *;"
7
8 def num_axi_regs32(self):
9 return 13
10
11 def mkslow_peripheral(self):
12 return " Ifc_sdcard_dummy sd{0} <- mksdcard_dummy();"
13
14 def _mk_connection(self, name=None, count=0):
15 return "sd{0}.slave"
16
17 def pinname_in(self, pname):
18 return "%s_in" % pname
19
20 def pinname_out(self, pname):
21 if pname.startswith('d'):
22 return "%s_out" % pname
23 return pname
24
25 def pinname_outen(self, pname):
26 if pname.startswith('d'):
27 return "%s_outen" % pname