Object

spinal.core

U

Related Doc: package core

Permalink

object U extends BitVectorLiteralFactory[UInt]

Used to create a new UInt or cast to UInt

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. U
  2. BitVectorLiteralFactory
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(value: MaskedLiteral, filling: Boolean = false): UInt

    Permalink
  5. def apply(that: SInt, width: BitCount): UInt

    Permalink
  6. def apply(that: Bits, width: BitCount): UInt

    Permalink
  7. def apply(that: Bool, width: BitCount): UInt

    Permalink
  8. def apply(that: AFix): UInt

    Permalink
  9. def apply(that: UFix): UInt

    Permalink
  10. def apply(that: SInt): UInt

    Permalink
  11. def apply(that: Bits): UInt

    Permalink
  12. def apply(that: Bool): UInt

    Permalink
  13. def apply(): UInt

    Permalink
    Definition Classes
    UBitVectorLiteralFactory
  14. def apply(rangesValue: (Any, Any), _rangesValues: (Any, Any)*): UInt

    Permalink
    Definition Classes
    BitVectorLiteralFactory
  15. def apply(bitCount: BitCount, rangesValue: (Any, Any), _rangesValues: (Any, Any)*): UInt

    Permalink
    Definition Classes
    BitVectorLiteralFactory
  16. def apply(value: String): UInt

    Permalink

    Create an hardware literal from string literal definition.

    Create an hardware literal from string literal definition.

    Definition Classes
    BitVectorLiteralFactory
    Example:
    1. myUInt := U"0000_0101"  // Base per default is binary => 5
      myUInt := U"h1A"        // Base could be x (base 16)
                              //               h (base 16)
                              //               d (base 10)
                              //               o (base 8)
                              //               b (base 2)
      myUInt := U"8'h1A"
    See also

    Bits declaration

    UInt/SInt declaration

  17. def apply(value: BigInt, width: BitCount): UInt

    Permalink

    Create an hardware literal from a Scala BigInt with a given width

    Create an hardware literal from a Scala BigInt with a given width

    Definition Classes
    BitVectorLiteralFactory
    See also

    Bits declaration

    UInt/SInt declaration

  18. def apply(value: BigInt): UInt

    Permalink

    Create an hardware literal from a Scala BigInt

    Create an hardware literal from a Scala BigInt

    Definition Classes
    BitVectorLiteralFactory
    See also

    Bits declaration

    UInt/SInt declaration

  19. def apply(value: Long, width: BitCount): UInt

    Permalink

    Create an hardware literal from a Scala Long with a given width

    Create an hardware literal from a Scala Long with a given width

    Definition Classes
    BitVectorLiteralFactory
    See also

    Bits declaration

    UInt/SInt declaration

  20. def apply(value: Long): UInt

    Permalink

    Create an hardware literal from a Scala Long

    Create an hardware literal from a Scala Long

    Definition Classes
    BitVectorLiteralFactory
    See also

    Bits declaration

    UInt/SInt declaration

  21. def apply(value: Int, width: BitCount): UInt

    Permalink

    Create an hardware literal from a Scala Int with a given width

    Create an hardware literal from a Scala Int with a given width

    Definition Classes
    BitVectorLiteralFactory
    See also

    Bits declaration

    UInt/SInt declaration

  22. def apply(value: Int): UInt

    Permalink

    Create an hardware literal from a Scala Int

    Create an hardware literal from a Scala Int

    Definition Classes
    BitVectorLiteralFactory
    See also

    Bits declaration

    UInt/SInt declaration

  23. def applyTuples(on: UInt, rangesValues: Seq[(Any, Any)]): Unit

    Permalink
    Definition Classes
    BitVectorLiteralFactory
  24. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  25. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  26. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  29. def getFactory: (BigInt, Int, UInt) ⇒ UInt

    Permalink
    Definition Classes
    UBitVectorLiteralFactory
  30. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  31. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  32. def isSigned: Boolean

    Permalink
    Definition Classes
    UBitVectorLiteralFactory
  33. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  34. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  37. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  38. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from BitVectorLiteralFactory[UInt]

Inherited from AnyRef

Inherited from Any

Ungrouped