chisel3.experimental.dataview.DataProduct
See theDataProduct companion object
Typeclass interface for getting elements of type Data
This is needed for validating DataViews targeting type A. Can be thought of as "can be the Target of a DataView".
Chisel provides some implementations in object DataProduct that are available by default in the implicit scope.
Type parameters
-
A
-
Type that has elements of type Data
Attributes
-
See also
-
-
Companion
-
object
-
Source
-
DataProduct.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
Members list
Provides Data elements within some containing object
Provides Data elements within some containing object
Value parameters
-
a
-
Containing object
-
path
-
Hierarchical path to current signal (for error reporting)
Attributes
-
Returns
-
Data elements and associated String paths (Strings for error reporting only!)
-
Source
-
DataProduct.scala
Provides Data elements within some containing object
Provides Data elements within some containing object
Value parameters
-
a
-
Containing object
-
path
-
Hierarchical path to current signal (for error reporting)
Attributes
-
Returns
-
Data elements and associated String paths (Strings for error reporting only!)
-
Source
-
DataProduct.scala
Returns a checker to test if the containing object contains a Data object
Returns a checker to test if the containing object contains a Data object
Value parameters
-
a
-
Containing object
Attributes
-
Returns
-
A checker that itself returns True if a given Data is contained in a as determined by an == test
-
Note
-
Implementers may want to override if iterating on all Data is expensive for A and A will primarily be used in PartialDataViews
The returned value is a function, not a true Set, but is describing the functionality of Set containment
-
Source
-
DataProduct.scala
Returns a checker to test if the containing object contains a Data object
Returns a checker to test if the containing object contains a Data object
Value parameters
-
a
-
Containing object
Attributes
-
Returns
-
A checker that itself returns True if a given Data is contained in a as determined by an == test
-
Note
-
Implementers may want to override if iterating on all Data is expensive for A and A will primarily be used in PartialDataViews
The returned value is a function, not a true Set, but is describing the functionality of Set containment
-
Source
-
DataProduct.scala