case class Decimal(bits: Bits, width: FormatWidth = FormatWidth.Automatic) extends FirrtlFormat with Product with Serializable
- Alphabetic
- By Inheritance
- Decimal
- Serializable
- Product
- Equals
- FirrtlFormat
- Printable
- AnyRef
- Any
- by Extensions
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Decimal(bits: Bits, width: FormatWidth = FormatWidth.Automatic)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def +(that: String): Printables
Allow for appending Strings to Printables
Allow for appending Strings to Printables
- Definition Classes
- Printable
- def +(that: Printable): Printables
Allow for appending Printables like Strings
Allow for appending Printables like Strings
- Definition Classes
- Printable
- def ->[B](y: B): (Decimal, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val bits: Bits
- Definition Classes
- Decimal → FirrtlFormat
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (Decimal) => Boolean, msg: => Any): Decimal
- def ensuring(cond: (Decimal) => Boolean): Decimal
- def ensuring(cond: Boolean, msg: => Any): Decimal
- def ensuring(cond: Boolean): Decimal
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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 Decimal 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
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def unpack: (String, Seq[Data])
Unpack into format String and a List of Data arguments
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- val width: FormatWidth
Shadowed Implicit Value Members
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from Decimal toany2stringadd[Decimal] 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:(decimal: any2stringadd[Decimal]).+(other)
- Definition Classes
- any2stringadd
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Decimal toStringFormat[Decimal] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)
instead ofvalue.formatted(formatString)
, or use thef""
string interpolator. In Java 15 and later,formatted
resolves to the new method in String which has reversed parameters.
- 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
- FirrtlFormat → Printable
- 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
- def unpackArgs: Seq[Bits]
Unpack into a Seq of captured Bits arguments
Unpack into a Seq of captured Bits arguments
- Definition Classes
- FirrtlFormat → Printable
- Annotations
- @deprecated
- Deprecated
(Since version Chisel 7.0.0) Use unpack with no arguments instead.
- def →[B](y: B): (Decimal, B)
- Implicit
- This member is added by an implicit conversion from Decimal toArrowAssoc[Decimal] 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.
This is the documentation for Chisel.
Package structure
The chisel3 package presents the public API of Chisel. It contains the concrete core types
UInt
,SInt
,Bool
,Clock
, andReg
, the abstract typesBits
,Aggregate
, andData
, and the aggregate typesBundle
andVec
.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
util
package.The
testers
package defines the basic interface for chisel testers.