sealed class IntervalRange extends IntervalType with RangeType
- Alphabetic
- By Inheritance
- IntervalRange
- RangeType
- IntervalType
- Serializable
- Serializable
- Product
- Equals
- GroundType
- Type
- FirrtlNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new IntervalRange(lowerBound: Bound, upperBound: Bound, firrtlBinaryPoint: firrtl.ir.Width)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
*(that: IntervalRange): IntervalRange
Multiply this by that, here we return a fully unknown range, firrtl's range inference can figure this out
Multiply this by that, here we return a fully unknown range, firrtl's range inference can figure this out
- Definition Classes
- IntervalRange → RangeType
-
def
+&(that: IntervalRange): IntervalRange
Add that to this, here we return a fully unknown range, firrtl's range inference can figure this out
Add that to this, here we return a fully unknown range, firrtl's range inference can figure this out
- Definition Classes
- IntervalRange → RangeType
-
def
-&(that: IntervalRange): IntervalRange
Subtract that from this, here we return a fully unknown range, firrtl's range inference can figure this out
Subtract that from this, here we return a fully unknown range, firrtl's range inference can figure this out
- Definition Classes
- IntervalRange → RangeType
-
def
<<(that: UInt): IntervalRange
Shift this range left, i.e.
Shift this range left, i.e. shifts the min and max by value
-
def
<<(that: KnownWidth): IntervalRange
Shift this range left, i.e.
Shift this range left, i.e. shifts the min and max by the known width
- Definition Classes
- IntervalRange → RangeType
-
def
<<(that: Int): IntervalRange
Shift this range left, i.e.
Shift this range left, i.e. shifts the min and max by the specified amount
- Definition Classes
- IntervalRange → RangeType
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
>>(that: UInt): IntervalRange
Shift this range right, i.e.
Shift this range right, i.e. shifts the min and max by value
-
def
>>(that: KnownWidth): IntervalRange
Shift this range right, i.e.
Shift this range right, i.e. shifts the min and max by the known width
- Definition Classes
- IntervalRange → RangeType
-
def
>>(that: Int): IntervalRange
Shift this range right, i.e.
Shift this range right, i.e. shifts the min and max by the specified amount
- Definition Classes
- IntervalRange → RangeType
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def binaryPoint: BinaryPoint
-
def
clip(that: IntervalRange): IntervalRange
Clip the value of this Interval into the range of a different Interval with a presumably smaller range.
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
decPrecision(newBinaryPoint: BinaryPoint): IntervalRange
Creates a new range with the decreased precision
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
foreachType(f: (Type) ⇒ Unit): Unit
- Definition Classes
- GroundType → Type
-
def
foreachWidth(f: (firrtl.ir.Width) ⇒ Unit): Unit
- Definition Classes
- IntervalType → Type
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
val
getHighestPossibleValue: Option[BigDecimal]
If possible returns the highest possible value for this Interval
-
val
getLowestPossibleValue: Option[BigDecimal]
If possible returns the lowest possible value for this Interval
-
def
getPossibleValues: NumericRange[BigDecimal]
Return a Seq of the possible values for this range Mostly to be used for testing
-
def
getWidth: Width
- Definition Classes
- IntervalRange → RangeType
-
def
incPrecision(newBinaryPoint: BinaryPoint): IntervalRange
Creates a new range with the increased precision
- val increment: Option[BigDecimal]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
lower: Bound
- Definition Classes
- IntervalType
- val lowerBound: Bound
-
def
mapType(f: (Type) ⇒ Type): Type
- Definition Classes
- GroundType → Type
-
def
mapWidth(f: (firrtl.ir.Width) ⇒ firrtl.ir.Width): Type
- Definition Classes
- IntervalType → Type
-
def
max: Option[BigDecimal]
- Definition Classes
- IntervalType
-
def
maxAdjusted: Option[BigInt]
- Definition Classes
- IntervalType
-
def
merge(that: IntervalRange): IntervalRange
merges the ranges of this and that, basically takes lowest low, highest high and biggest bp set unknown if any of this or that's value of above is unknown Like an union but will slurp up points in between the two ranges that were part of neither
merges the ranges of this and that, basically takes lowest low, highest high and biggest bp set unknown if any of this or that's value of above is unknown Like an union but will slurp up points in between the two ranges that were part of neither
- Definition Classes
- IntervalRange → RangeType
-
def
min: Option[BigDecimal]
- Definition Classes
- IntervalType
-
def
minAdjusted: Option[BigInt]
- Definition Classes
- IntervalType
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
point: firrtl.ir.Width
- Definition Classes
- IntervalType
-
lazy val
range: Option[Seq[BigDecimal]]
- Definition Classes
- IntervalType
-
def
serialize: String
- Definition Classes
- IntervalType → FirrtlNode
-
def
setPrecision(newBinaryPoint: BinaryPoint): IntervalRange
Creates a new range with the given binary point, adjusting precision on bounds as necessary
-
def
squeeze(that: IntervalRange): IntervalRange
Squeeze returns the intersection of the ranges this interval and that Interval
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- IntervalRange → IntervalType → AnyRef → Any
-
val
upper: Bound
- Definition Classes
- IntervalType
- val upperBound: Bound
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
width: firrtl.ir.Width
- Definition Classes
- IntervalType → GroundType
-
def
wrap(that: IntervalRange): IntervalRange
Wrap the value of this Interval into the range of a different Interval with a presumably smaller range.