object Data
- Source
- Data.scala
- Alphabetic
- By Inheritance
- Data
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
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
,FixedPoint
,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.