chisel6.4.0 < Back


# Packages

-  package root
  Definition Classes
    root
-  package chisel3

  This package contains the main chisel3 API.

  This package contains the main chisel3 API.

  Definition Classes
    root
-  package util

  The util package provides extensions to core chisel for common hardware components and utility functions

  The util package provides extensions to core chisel for common hardware components and utility functions

  Definition Classes
    chisel3
-  package experimental
  Definition Classes
    util
-  package decode
  Definition Classes
    experimental
- BitSet
- BoringUtils
- BoringUtilsException
- FlattenInstance
- ForceNameAnnotation
- InlineInstance
- forceName
- getAnnotations
- loadMemoryFromFile
- loadMemoryFromFileInline

o

chisel3.util.experimental

# BitSet

###
Companion trait BitSet

#### object BitSet

Source
  BitPat.scala

Linear Supertypes
AnyRef, Any

Ordering

1. Alphabetic
2. By Inheritance

Inherited

1. BitSet
2. AnyRef
3. Any

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### 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(bitpats: BitPat*): BitSet

   Construct a `BitSet` from a sequence of BitPat`. All` BitPat`must have the same width.`

5.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
6.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
7.  val empty: BitSet

   Empty `BitSet`.

8.  final def eq(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef
9.  def equals(arg0: AnyRef): Boolean
   Definition Classes
     AnyRef → Any
10.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
11.  def fromRange(start: BigInt, length: BigInt, width: Int): BitSet

    Construct a `BitSet` matching a range of value

    Construct a `BitSet` matching a range of value

    start

      The smallest matching value

    length

      The length of the matching range

    width

      The width of the constructed `BitSet`. If not given, the returned `BitSet` have the width of the maximum possible matching value.

    returns

      A `BitSet` matcing exactly all inputs in range [start, start + length)

12.  def fromRange(start: BigInt, length: BigInt): BitSet

    Construct a `BitSet` matching a range of value automatically infer width by the bit length of (start + length - 1)

    Construct a `BitSet` matching a range of value automatically infer width by the bit length of (start + length - 1)

    start

      The smallest matching value

    length

      The length of the matching range

    returns

      A `BitSet` matching exactly all inputs in range [start, start + length)

13.  def fromString(str: String): BitSet

    Construct a `BitSet` from String.

    Construct a `BitSet` from String. each line should be a valid `BitPat` string with the same width.

14.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
15.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
16.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
17.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
18.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
19.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
20.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
21.  def toString(): String
    Definition Classes
      AnyRef → Any
22.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
23.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
24.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Inherited from AnyRef

### Inherited from Any

### Ungrouped