00407ec391d26a0163f816471219d62fc6c9ca4b
1 from bsv
.peripheral_gen
.base
import PBase
6 return " import sdcard_dummy :: *;"
8 def num_axi_regs32(self
):
11 def mkslow_peripheral(self
):
12 return " Ifc_sdcard_dummy sd{0} <- mksdcard_dummy();"
14 def _mk_connection(self
, name
=None, count
=0):
17 def pinname_in(self
, pname
):
18 return "%s_in" % pname
20 def pinname_out(self
, pname
):
21 if pname
.startswith('d'):
22 return "%s_out" % pname
25 def pinname_outen(self
, pname
):
26 if pname
.startswith('d'):
27 return "%s_outen" % pname