1c1
< # Copyright (c) 2012 ARM Limited
---
> # Copyright (c) 2012-2013 ARM Limited
1210,1212c1210,1213
< # A generic frequency and/or Latency value. Value is stored as a latency,
< # but to avoid ambiguity this object does not support numeric ops (* or /).
< # An explicit conversion to a Latency or Frequency must be made first.
---
> # A generic frequency and/or Latency value. Value is stored as a
> # latency, and any manipulation using a multiplier thus scales the
> # clock period, i.e. a 2x multiplier doubles the clock period and thus
> # halves the clock frequency.
1245a1247,1254
> def __mul__(self, other):
> # Always treat the clock as a period when scaling
> newobj = self.__class__(self)
> newobj.value *= other
> return newobj
>
> __rmul__ = __mul__
>