Packages

c

chisel3

Binary

case class Binary(bits: Bits, width: FormatWidth = FormatWidth.Automatic) extends FirrtlFormat with Product with Serializable

Format bits as Binary

Source
Printable.scala
Linear Supertypes
Serializable, Product, Equals, FirrtlFormat, Printable, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binary
  2. Serializable
  3. Product
  4. Equals
  5. FirrtlFormat
  6. Printable
  7. AnyRef
  8. Any
Implicitly
  1. by Extensions
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Binary(bits: Bits, width: FormatWidth = FormatWidth.Automatic)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def +(that: String): Printables

    Allow for appending Strings to Printables

    Allow for appending Strings to Printables

    Definition Classes
    Printable
  4. def +(that: Printable): Printables

    Allow for appending Printables like Strings

    Allow for appending Printables like Strings

    Definition Classes
    Printable
  5. def ->[B](y: B): (Binary, B)
    Implicit
    This member is added by an implicit conversion from Binary toArrowAssoc[Binary] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. val bits: Bits
    Definition Classes
    BinaryFirrtlFormat
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def ensuring(cond: (Binary) => Boolean, msg: => Any): Binary
    Implicit
    This member is added by an implicit conversion from Binary toEnsuring[Binary] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Binary) => Boolean): Binary
    Implicit
    This member is added by an implicit conversion from Binary toEnsuring[Binary] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): Binary
    Implicit
    This member is added by an implicit conversion from Binary toEnsuring[Binary] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Binary
    Implicit
    This member is added by an implicit conversion from Binary toEnsuring[Binary] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def map(f: (Printable) => Printable): Printable

    Build a new Printable by applying a function to all sub-Printables

    Build a new Printable by applying a function to all sub-Printables

    Implicit
    This member is added by an implicit conversion from Binary toExtensions performed by method Extensions in chisel3.Printable.
    Definition Classes
    Extensions
    Note

    This is an extension method instead of normal method to avoid conflicts with the implicit conversion from String to Printable

  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. def productElementNames: Iterator[String]
    Definition Classes
    Product
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def unpack: (String, Seq[Data])

    Unpack into format String and a List of Data arguments

    Unpack into format String and a List of Data arguments

    Definition Classes
    BinaryPrintable
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  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. val width: FormatWidth

Shadowed Implicit Value Members

  1. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Binary toany2stringadd[Binary] performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is shadowed by one or more members in this class.
    To access this member you can use a type ascription:
    (binary: any2stringadd[Binary]).+(other)
    Definition Classes
    any2stringadd

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Binary toStringFormat[Binary] 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 unpack(ctx: Component)(implicit info: SourceInfo): (String, Iterable[String])

    Unpack into format String and a List of String arguments (identifiers)

    Unpack into format String and a List of String arguments (identifiers)

    Definition Classes
    FirrtlFormatPrintable
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Use unpack with no arguments instead.

    Note

    This must be called after elaboration when Chisel nodes actually have names

  3. def unpackArgs: Seq[Bits]

    Unpack into a Seq of captured Bits arguments

    Unpack into a Seq of captured Bits arguments

    Definition Classes
    FirrtlFormatPrintable
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Use unpack with no arguments instead.

  4. def [B](y: B): (Binary, B)
    Implicit
    This member is added by an implicit conversion from Binary toArrowAssoc[Binary] 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 Serializable

Inherited from Product

Inherited from Equals

Inherited from FirrtlFormat

Inherited from Printable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion Extensions fromBinary to Extensions

Inherited by implicit conversion any2stringadd fromBinary to any2stringadd[Binary]

Inherited by implicit conversion StringFormat fromBinary to StringFormat[Binary]

Inherited by implicit conversion Ensuring fromBinary to Ensuring[Binary]

Inherited by implicit conversion ArrowAssoc fromBinary to ArrowAssoc[Binary]

Ungrouped