Object

spinal.core

B

Related Doc: package core

Permalink

object B extends BitVectorLiteralFactory[Bits]

Used to create a new Bits or cast to Bits

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. B
  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): Bits

    Permalink

    Create a Bits hardware literal, from a string de

    Create a Bits hardware literal, from a string de

    See also

    Bits declaration

  5. def apply[T <: Data](value: Vec[T]): Bits

    Permalink
  6. def apply(value: Seq[Data]): Bits

    Permalink
  7. def apply(value: Data, times: Int): Bits

    Permalink
  8. def apply(head: Data, tail: Data*): Bits

    Permalink
  9. def apply(that: Data, width: BitCount): Bits

    Permalink
  10. def apply(that: Data): Bits

    Permalink
  11. def apply(): Bits

    Permalink

    Create an Bits hardware literal.

    Create an Bits hardware literal.

    Bit count is inferred from the widest assignment statement after construction.

    Definition Classes
    BBitVectorLiteralFactory
    See also

    Bits declaration

  12. def apply(rangesValue: (Any, Any), _rangesValues: (Any, Any)*): Bits

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

    Permalink
    Definition Classes
    BitVectorLiteralFactory
  14. def apply(value: String): Bits

    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

  15. def apply(value: BigInt, width: BitCount): Bits

    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

  16. def apply(value: BigInt): Bits

    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

  17. def apply(value: Long, width: BitCount): Bits

    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

  18. def apply(value: Long): Bits

    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

  19. def apply(value: Int, width: BitCount): Bits

    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

  20. def apply(value: Int): Bits

    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

  21. def applyTuples(on: Bits, rangesValues: Seq[(Any, Any)]): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    BBitVectorLiteralFactory
  28. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  30. def isSigned: Boolean

    Permalink
    Definition Classes
    BBitVectorLiteralFactory
  31. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. 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[Bits]

Inherited from AnyRef

Inherited from Any

Ungrouped