class IfaceIter(object):
- def __init__(self, name, count, *args):
+ def __init__(self, ifaces, name, count, *args):
+ self.ifaces = ifaces
self.i = 0
self.name = name
self.maxcount = count
class MkConnection(IfaceIter):
- def __init__(self, ifaces, name, count, *args):
- self.ifaces = ifaces
- IfaceIter.__init__(self, name, count, *args)
-
def check(self, name, i):
return not self.ifaces.is_on_fastbus(name, i)
class MkExtIface(IfaceIter):
- def __init__(self, ifaces, name, count, *args):
- self.ifaces = ifaces
- IfaceIter.__init__(self, name, count, *args)
-
def check(self, name, i):
return not self.ifaces.is_on_fastbus(name, i)
class MkPinCon(IfaceIter):
- def __init__(self, ifaces, name, count, *args):
- self.ifaces = ifaces
- IfaceIter.__init__(self, name, count, *args)
-
def check(self, name, i):
return not self.ifaces.is_on_fastbus(name, i)
class MkClkCon(IfaceIter):
- def __init__(self, ifaces, name, count, *args):
- self.ifaces = ifaces
- IfaceIter.__init__(self, name, count, *args)
-
def check(self, name, i):
return not self.ifaces.is_on_fastbus(name, i)