Packages

c

spinal.core

BitVectorLiteralFactory

abstract class BitVectorLiteralFactory[T <: BitVector] extends AnyRef

Base class to create Bit Vector from literal

Linear Supertypes
AnyRef, Any
Known Subclasses
B, S, U
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BitVectorLiteralFactory
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new BitVectorLiteralFactory()

Abstract Value Members

  1. abstract def apply(): T
  2. abstract def getFactory: (BigInt, Int, T) => T
  3. abstract def isSigned: Boolean

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply(rangesValue: (Any, Any), _rangesValues: (Any, Any)*): T
  5. def apply(bitCount: BitCount, rangesValue: (Any, Any), _rangesValues: (Any, Any)*): T
  6. def apply(value: String): T

    Create an hardware literal from string literal definition.

    Create an hardware literal from string literal definition.

    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

    UInt/SInt declaration

    Bits declaration

  7. def apply(value: BigInt, width: BitCount): T

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

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

    See also

    UInt/SInt declaration

    Bits declaration

  8. def apply(value: BigInt): T

    Create an hardware literal from a Scala BigInt

    Create an hardware literal from a Scala BigInt

    See also

    UInt/SInt declaration

    Bits declaration

  9. def apply(value: Long, width: BitCount): T

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

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

    See also

    UInt/SInt declaration

    Bits declaration

  10. def apply(value: Long): T

    Create an hardware literal from a Scala Long

    Create an hardware literal from a Scala Long

    See also

    UInt/SInt declaration

    Bits declaration

  11. def apply(value: Int, width: BitCount): T

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

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

    See also

    UInt/SInt declaration

    Bits declaration

  12. def apply(value: Int): T

    Create an hardware literal from a Scala Int

    Create an hardware literal from a Scala Int

    See also

    UInt/SInt declaration

    Bits declaration

  13. def applyTuples(on: T, rangesValues: Seq[(Any, Any)]): Unit
  14. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped