object B extends BitVectorLiteralFactory[Bits]
Used to create a new Bits or cast to Bits
- Alphabetic
- By Inheritance
- B
- 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): Bits
Create a
Bits
hardware literal, from a string deCreate a
Bits
hardware literal, from a string de- See also
- def apply[T <: Data](value: Vec[T]): Bits
- def apply(value: Seq[Data]): Bits
- def apply(value: Data, times: Int): Bits
- def apply(head: Data, tail: Data*): Bits
- def apply(that: Data, width: BitCount): Bits
- def apply(that: Data): Bits
- def apply(): Bits
Create an
Bits
hardware literal.Create an
Bits
hardware literal.Bit count is inferred from the widest assignment statement after construction.
- Definition Classes
- B → BitVectorLiteralFactory
- See also
- def apply(rangesValue: (Any, Any), _rangesValues: (Any, Any)*): Bits
- Definition Classes
- BitVectorLiteralFactory
- def apply(bitCount: BitCount, rangesValue: (Any, Any), _rangesValues: (Any, Any)*): Bits
- Definition Classes
- BitVectorLiteralFactory
- def apply(value: String): Bits
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): Bits
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): Bits
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): Bits
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): Bits
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): Bits
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): Bits
Create an hardware literal from a Scala
Int
Create an hardware literal from a Scala
Int
- Definition Classes
- BitVectorLiteralFactory
- See also
- def applyTuples(on: Bits, 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, Bits) => Bits
- Definition Classes
- B → BitVectorLiteralFactory
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isSigned: Boolean
- Definition Classes
- B → 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)