Chisel

Width

class Width extends Ordered[Width]

Create a new width

Source
Width.scala
Linear Supertypes
Ordered[Width], Comparable[Width], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Width
  2. Ordered
  3. Comparable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Width(_width: Int)

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(i: Int): Width

  5. def +(w: Width): Width

  6. def -(i: Int): Width

  7. def -(w: Width): Width

  8. def <(that: Width): Boolean

    Definition Classes
    Ordered
  9. def <=(that: Width): Boolean

    Definition Classes
    Ordered
  10. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  12. def >(that: Width): Boolean

    Definition Classes
    Ordered
  13. def >=(that: Width): Boolean

    Definition Classes
    Ordered
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def binaryOp(op: String, operand: Width): Width

  16. def canEqual(other: Any): Boolean

    check if 'other' is a Width to check if its possible to equal a Width

  17. def clone(): Width

    clone this width

    clone this width

    Definition Classes
    Width → AnyRef
  18. def compare(that: Width): Int

    Compare two widths where an unknown width is less than any known width

    Compare two widths where an unknown width is less than any known width

    Definition Classes
    Width → Ordered
  19. def compareTo(that: Width): Int

    Definition Classes
    Ordered → Comparable
  20. def copy(w: Int = this.widthVal.get): Width

    create a copy of this width

    create a copy of this width

    w

    optionally set the width for the new copy

  21. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. def equals(other: Any): Boolean

    Define equality for width

    Define equality for width

    Definition Classes
    Width → AnyRef → Any
  23. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  24. implicit def fromInt(i: Int): Width

  25. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int

    Define the hashcode based on the width the same widths should have the same hash code unknown widths should be unique

    Define the hashcode based on the width the same widths should have the same hash code unknown widths should be unique

    Definition Classes
    Width → AnyRef → Any
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isKnown: Boolean

    Indicate whether width is actually known(set) or not

  29. def max(that: Width): Width

  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def needWidth(): Int

    returns

    an "known" integer value

    Exceptions thrown
    NoSuchElementException

    if called when the width is unknown

  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def setWidth(w: Int): Unit

    Set the width of a Node, w must be >= 0

  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Print a string representation of width

    Print a string representation of width

    Definition Classes
    Width → AnyRef → Any
  37. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def widthOrValue(v: Int): Int

    returns

    the width or the specificed value if the width isn't set

  41. def width_=(w: Int): Unit

Deprecated Value Members

  1. def width: Int

    Annotations
    @deprecated
    Deprecated

    (Since version 2.3) Clients should not expect a Width is directly convertable to an Int

Inherited from Ordered[Width]

Inherited from Comparable[Width]

Inherited from AnyRef

Inherited from Any

Ungrouped