This patch removes the multiplication operator support for Clock
parameters as this functionality is now achieved by creating derived
clock domains.
Nate, this one is for you.
return Latency(self)
raise AttributeError, "Frequency object has no attribute '%s'" % attr
- def __mul__(self, other):
- # Always treat the clock as a period when scaling
- newobj = self.__class__(self)
- newobj.value *= other
- return newobj
-
- __rmul__ = __mul__
-
def getValue(self):
return self.period.getValue()