config: Remove Clock parameter multiplication
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.
This commit is contained in:
parent
7d7ab73862
commit
a0e551869c
|
@ -1244,14 +1244,6 @@ class Clock(ParamValue):
|
|||
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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue