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
-  object BitPat
  Definition Classes
    util
- fromUIntToBitPatComparable

c

chisel3.util.BitPat

# fromUIntToBitPatComparable

###

#### implicit class fromUIntToBitPatComparable extends SourceInfoDoc

Source
  BitPat.scala

Linear Supertypes
SourceInfoDoc, AnyRef, Any
Type Hierarchy

Ordering

1. Grouped
2. Alphabetic
3. By Inheritance

Inherited

1. fromUIntToBitPatComparable
2. SourceInfoDoc
3. AnyRef
4. Any

Implicitly

1. by any2stringadd
2. by StringFormat
3. by Ensuring
4. by ArrowAssoc

1. Hide All
2. Show All

Visibility

1. Public
2. Protected

### Instance Constructors

1.  new fromUIntToBitPatComparable(x: UInt)

### Value Members

1.  final def !=(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
2.  final def ##: Int
   Definition Classes
     AnyRef → Any
3.  def +(other: String): String
   Implicit
     This member is added by an implicit conversion from fromUIntToBitPatComparable toany2stringadd[fromUIntToBitPatComparable] performed by method any2stringadd in scala.Predef.
   Definition Classes
     any2stringadd
4.  def ->[B](y: B): (fromUIntToBitPatComparable, B)
   Implicit
     This member is added by an implicit conversion from fromUIntToBitPatComparable toArrowAssoc[fromUIntToBitPatComparable] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @inline()
5.  final macro def =/=(that: BitPat): Bool
6.  final def ==(arg0: Any): Boolean
   Definition Classes
     AnyRef → Any
7.  final macro def ===(that: BitPat): Bool
8.  final def asInstanceOf[T0]: T0
   Definition Classes
     Any
9.  def clone(): AnyRef
   Attributes
     protected[lang]
   Definition Classes
     AnyRef
   Annotations
     @throws(classOf[java.lang.CloneNotSupportedException]) @native()
10.  def do_=/=(that: BitPat)(implicit sourceInfo: SourceInfo): Bool

11.  def do_===(that: BitPat)(implicit sourceInfo: SourceInfo): Bool

12.  def ensuring(cond: (fromUIntToBitPatComparable) => Boolean, msg: => Any): fromUIntToBitPatComparable
    Implicit
      This member is added by an implicit conversion from fromUIntToBitPatComparable toEnsuring[fromUIntToBitPatComparable] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
13.  def ensuring(cond: (fromUIntToBitPatComparable) => Boolean): fromUIntToBitPatComparable
    Implicit
      This member is added by an implicit conversion from fromUIntToBitPatComparable toEnsuring[fromUIntToBitPatComparable] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
14.  def ensuring(cond: Boolean, msg: => Any): fromUIntToBitPatComparable
    Implicit
      This member is added by an implicit conversion from fromUIntToBitPatComparable toEnsuring[fromUIntToBitPatComparable] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
15.  def ensuring(cond: Boolean): fromUIntToBitPatComparable
    Implicit
      This member is added by an implicit conversion from fromUIntToBitPatComparable toEnsuring[fromUIntToBitPatComparable] performed by method Ensuring in scala.Predef.
    Definition Classes
      Ensuring
16.  final def eq(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
17.  def equals(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef → Any
18.  def finalize(): Unit
    Attributes
      protected[lang]
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.Throwable])
19.  final def getClass(): Class[_ <: AnyRef]
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
20.  def hashCode(): Int
    Definition Classes
      AnyRef → Any
    Annotations
      @native()
21.  final def isInstanceOf[T0]: Boolean
    Definition Classes
      Any
22.  final def ne(arg0: AnyRef): Boolean
    Definition Classes
      AnyRef
23.  final def notify(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
24.  final def notifyAll(): Unit
    Definition Classes
      AnyRef
    Annotations
      @native()
25.  final def synchronized[T0](arg0: => T0): T0
    Definition Classes
      AnyRef
26.  def toString(): String
    Definition Classes
      AnyRef → Any
27.  final def wait(): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
28.  final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException])
29.  final def wait(arg0: Long): Unit
    Definition Classes
      AnyRef
    Annotations
      @throws(classOf[java.lang.InterruptedException]) @native()

### Deprecated Value Members

1.  def formatted(fmtstr: String): String
   Implicit
     This member is added by an implicit conversion from fromUIntToBitPatComparable toStringFormat[fromUIntToBitPatComparable] performed by method StringFormat in scala.Predef.
   Definition Classes
     StringFormat
   Annotations
     @deprecated @inline()
   Deprecated

     (Since version 2.12.16) Use `formatString.format(value)` instead of `value.formatted(formatString)`, or use the `f""` string interpolator. In Java 15 and later, `formatted` resolves to the new method in String which has reversed parameters.

2.  def →[B](y: B): (fromUIntToBitPatComparable, B)
   Implicit
     This member is added by an implicit conversion from fromUIntToBitPatComparable toArrowAssoc[fromUIntToBitPatComparable] performed by method ArrowAssoc in scala.Predef.
   Definition Classes
     ArrowAssoc
   Annotations
     @deprecated
   Deprecated

     (Since version 2.13.0) Use `->` instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

### Inherited from SourceInfoDoc

### Inherited from AnyRef

### Inherited from Any

### Inherited by implicit conversion any2stringadd fromfromUIntToBitPatComparable to any2stringadd[fromUIntToBitPatComparable]

### Inherited by implicit conversion StringFormat fromfromUIntToBitPatComparable to StringFormat[fromUIntToBitPatComparable]

### Inherited by implicit conversion Ensuring fromfromUIntToBitPatComparable to Ensuring[fromUIntToBitPatComparable]

### Inherited by implicit conversion ArrowAssoc fromfromUIntToBitPatComparable to ArrowAssoc[fromUIntToBitPatComparable]

### Ungrouped

### SourceInfoTransformMacro

These internal methods are not part of the public-facing API!
The equivalent public-facing methods do not have the `do_` prefix or have the same name. Use and look at the documentation for those. If you want left shift, use `<<`, not `do_<<`. If you want conversion to a Seq of Bools look at the `asBools` above, not the one below. Users can safely ignore every method in this group!
🐉🐉🐉 Here be dragons... 🐉🐉🐉
These `do_X` methods are used to enable both implicit passing of SourceInfo while also supporting chained apply methods. In effect all "normal" methods that you, as a user, will use in your designs, are converted to their "hidden", `do_*`, via macro transformations. Without using macros here, only one of the above wanted behaviors is allowed (implicit passing and chained applies)---the compiler interprets a chained apply as an explicit 'implicit' argument and will throw type errors.
The "normal", public-facing methods then take no SourceInfo. However, a macro transforms this public-facing method into a call to an internal, hidden `do_*` that takes an explicit SourceInfo by inserting an `implicitly[SourceInfo]` as the explicit argument.