object Data
- Source
- Data.scala
- Alphabetic
- By Inheritance
- Data
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class AsReadOnly[T <: Data] extends AnyRef
- implicit class ConnectableDefault[T <: Data] extends ConnectableOperators[T]
Provides :<=, :>=, :<>=, and :#= between consumer and producer of the same T <: Data
- implicit class ConnectableVecDefault[T <: Data] extends ConnectableVecOperators[T]
Provides :<>=, :<=, :>=, and :#= between a (consumer: Vec) and (producer: Seq)
- implicit class DataEquality[T <: Data] extends AnyRef
Provides generic, recursive equality for Bundle and Vec hardware.
Provides generic, recursive equality for Bundle and Vec hardware. This avoids the need to use workarounds such as
bundle1.asUInt === bundle2.asUInt
by allowing users to instead writebundle1 === bundle2
.Static type safety of this comparison is guaranteed at compile time as the extension method requires the same parameterized type for both the left-hand and right-hand sides. It is, however, possible to get around this type safety using
Bundle
subtypes that can differ during runtime (e.g. through a generator). These cases are subsequently raised as elaboration errors.
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- 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()
- implicit val dataMatchingZipOfChildren: HasMatchingZipOfChildren[Data]
Typeclass implementation of HasMatchingZipOfChildren for Data
Typeclass implementation of HasMatchingZipOfChildren for Data
The canonical API to iterate through two Chisel types or components, where matching children are provided together, while non-matching members are provided separately
Only zips immediate children (vs members, which are all children/grandchildren etc.)
- 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
- implicit def toConnectableDefault[T <: Data](d: T): Connectable[T]
Can implicitly convert a Data to a Connectable
Can implicitly convert a Data to a Connectable
Originally this was done with an implicit class, but all functions we want to add to Data we also want on Connectable, so an implicit conversion makes the most sense so the ScalaDoc can be shared.
- 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()