"and {!r} do not"
.format(self.p, self.n))
- self.dir = self.p.dir
+ self.dir = dir
def __repr__(self):
return "(diffpairs {} {})".format(self.p, self.n)
class Resource(Subsignal):
def __init__(self, name, number, *io, extras=()):
- self.number = number
super().__init__(name, *io, extras=extras)
+ self.number = number
+
def __repr__(self):
return "(resource {} {} {} {})".format(self.name, self.number,
" ".join(map(repr, self.io)),