ab68dcbbe7cbae52da50d213aea0e99d4bb3d2cd
7 return " import Uart16550 :: *;"
10 return " interface RS232_PHY_Ifc uart{0}_coe;\n" \
11 " method Bit#(1) uart{0}_intr;"
13 def num_axi_regs32(self
):
19 return " import Uart_bs::*;\n" \
20 " import RS232_modified::*;"
23 return " interface RS232 uart{0}_coe;"
25 def num_axi_regs32(self
):
31 return " import I2C_top :: *;"
34 return " interface I2C_out i2c{0}_out;\n" \
35 " method Bit#(1) i2c{0}_isint;"
37 def num_axi_regs32(self
):
43 return " import qspi :: *;"
46 return " interface QSPI_out qspi{0}_out;\n" \
47 " method Bit#(1) qspi{0}_isint;"
49 def num_axi_regs32(self
):
55 return " import pwm::*;"
58 return " interface PWMIO pwm_o;"
60 def num_axi_regs32(self
):
66 return " import pinmux::*;\n" \
71 return " interface GPIO_config#({1}) pad_config{0};"
73 def num_axi_regs32(self
):
77 class PFactory(object):
78 def getcls(self
, name
):