def mkslow_peripheral(self, size=0):
print "gpioslow", self.peripheral, dir(self.peripheral)
size = len(self.peripheral.pinspecs)
- return "MUX#(%d) mux{0} <- mkmux();\n" % size + \
+ dflt = "%s" % ("0"*size*2) # XX TODO: read default from config
+ return "MUX#(%d) mux{0} <- mkmux(`b%s);\n" % (size, dflt)+ \
"GPIO#(%d) gpio{0} <- mkgpio();" % size
def mk_connection(self, count, fabricname, typ):