object U extends BitVectorLiteralFactory[UInt]
Used to create a new UInt or cast to UInt
- Alphabetic
- By Inheritance
- U
- BitVectorLiteralFactory
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(value: MaskedLiteral, filling: Boolean = false): UInt
- def apply(that: SInt, width: BitCount): UInt
- def apply(that: Bits, width: BitCount): UInt
- def apply(that: Bool, width: BitCount): UInt
- def apply(that: AFix): UInt
- def apply(that: UFix): UInt
- def apply(that: SInt): UInt
- def apply(that: Bits): UInt
- def apply(that: Bool): UInt
- def apply(): UInt
- Definition Classes
- U → BitVectorLiteralFactory
- def apply(rangesValue: (Any, Any), _rangesValues: (Any, Any)*): UInt
- Definition Classes
- BitVectorLiteralFactory
- def apply(bitCount: BitCount, rangesValue: (Any, Any), _rangesValues: (Any, Any)*): UInt
- Definition Classes
- BitVectorLiteralFactory
- def apply(value: String): UInt
Create an hardware literal from string literal definition.
Create an hardware literal from string literal definition.
- Definition Classes
- BitVectorLiteralFactory
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
Example: - def apply(value: BigInt, width: BitCount): UInt
Create an hardware literal from a Scala
BigInt
with a givenwidth
Create an hardware literal from a Scala
BigInt
with a givenwidth
- Definition Classes
- BitVectorLiteralFactory
- See also
- def apply(value: BigInt): UInt
Create an hardware literal from a Scala
BigInt
Create an hardware literal from a Scala
BigInt
- Definition Classes
- BitVectorLiteralFactory
- See also
- def apply(value: Long, width: BitCount): UInt
Create an hardware literal from a Scala
Long
with a givenwidth
Create an hardware literal from a Scala
Long
with a givenwidth
- Definition Classes
- BitVectorLiteralFactory
- See also
- def apply(value: Long): UInt
Create an hardware literal from a Scala
Long
Create an hardware literal from a Scala
Long
- Definition Classes
- BitVectorLiteralFactory
- See also
- def apply(value: Int, width: BitCount): UInt
Create an hardware literal from a Scala
Int
with a givenwidth
Create an hardware literal from a Scala
Int
with a givenwidth
- Definition Classes
- BitVectorLiteralFactory
- See also
- def apply(value: Int): UInt
Create an hardware literal from a Scala
Int
Create an hardware literal from a Scala
Int
- Definition Classes
- BitVectorLiteralFactory
- See also
- def applyTuples(on: UInt, rangesValues: Seq[(Any, Any)]): Unit
- Definition Classes
- BitVectorLiteralFactory
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- def getFactory: (BigInt, Int, UInt) => UInt
- Definition Classes
- U → BitVectorLiteralFactory
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSigned: Boolean
- Definition Classes
- U → BitVectorLiteralFactory
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)