implicit class ConnectableBitsOpExtension[T <: Bits] extends ConnectableDocs
- Grouped
- Alphabetic
- By Inheritance
- ConnectableBitsOpExtension
- ConnectableDocs
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ConnectableBitsOpExtension(consumer: Connectable[T])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toany2stringadd[ConnectableBitsOpExtension[T]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (ConnectableBitsOpExtension[T], B)
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toArrowAssoc[ConnectableBitsOpExtension[T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def :%=[S <: Bits](lProducer: => S)(implicit evidence: =:=[T, S], sourceInfo: SourceInfo): Unit
The explicit "truncating connection operator" between a
Bitsconsumer and producer.The explicit "truncating connection operator" between a
Bitsconsumer and producer.For
consumer :%= producer, the producer is always squeezed before connecting, so a width mismatch truncates instead of erroring out. This is identical to callingconsumer :#= producer.squeeze.Symbol reference:
- ':' is the consumer side
- '=' is the producer side
- '%' means the producer is squeezed, so explicit truncation is allowed
The following restrictions apply:
- The Chisel type of consumer and producer must be the "same shape" recursively:
- All ground types are the same (UInt and UInt are same, SInt and UInt are not), but widths can be different (implicit trunction/padding occurs)
- All vector types are the same length
- All bundle types have the same member names, but the flips of members can be different between producer and consumer
- The leaf members that are ultimately assigned to, must be assignable. This means they cannot be module inputs or instance outputs.
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (ConnectableBitsOpExtension[T]) => Boolean, msg: => Any): ConnectableBitsOpExtension[T]
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toEnsuring[ConnectableBitsOpExtension[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (ConnectableBitsOpExtension[T]) => Boolean): ConnectableBitsOpExtension[T]
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toEnsuring[ConnectableBitsOpExtension[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): ConnectableBitsOpExtension[T]
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toEnsuring[ConnectableBitsOpExtension[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): ConnectableBitsOpExtension[T]
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toEnsuring[ConnectableBitsOpExtension[T]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
Deprecated Value Members
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toStringFormat[ConnectableBitsOpExtension[T]] 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,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (ConnectableBitsOpExtension[T], B)
- Implicit
- This member is added by an implicit conversion from ConnectableBitsOpExtension[T] toArrowAssoc[ConnectableBitsOpExtension[T]] 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 typesBundleandVec.The Chisel package is a compatibility layer that attempts to provide chisel2 compatibility in chisel3.
Utility objects and methods are found in the
utilpackage.The
testerspackage defines the basic interface for chisel testers.