DataView

chisel3.experimental.dataview.DataView
See theDataView companion class
object DataView

Factory methods for constructing DataViews, see class for example use

Attributes

Companion
class
Source
DataView.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
DataView.type

Members list

Value members

Concrete methods

def apply[T : DataProduct, V <: Data](mkView: T => V, pairs: (T, V) => (Data, Data)*)(implicit evidence$1: DataProduct[T], sourceInfo: SourceInfo): DataView[T, V]

Default factory method, alias for pairs

Default factory method, alias for pairs

Attributes

Source
DataView.scala
def mapping[T : DataProduct, V <: Data](mkView: T => V, mapping: (T, V) => Iterable[(Data, Data)])(implicit evidence$1: DataProduct[T], sourceInfo: SourceInfo): DataView[T, V]

More general factory method for complex mappings

More general factory method for complex mappings

Attributes

Source
DataView.scala
def pairs[T : DataProduct, V <: Data](mkView: T => V, pairs: (T, V) => (Data, Data)*)(implicit evidence$1: DataProduct[T], sourceInfo: SourceInfo): DataView[T, V]

Construct DataViews with pairs of functions from the target and view to corresponding fields

Construct DataViews with pairs of functions from the target and view to corresponding fields

Attributes

Source
DataView.scala

Implicits

Implicits

implicit def identityView[A <: Data](implicit sourceInfo: SourceInfo): DataView[A, A]

All Chisel Data are viewable as their own type

All Chisel Data are viewable as their own type

Attributes

Source
DataView.scala
implicit def seqDataView[A : DataProduct, B <: Data](implicit evidence$1: DataProduct[A], dv: DataView[A, B], sourceInfo: SourceInfo): DataView[Seq[A], Vec[B]]

Provides DataView[Seq[A], Vec[B]] for all A such that there exists DataView[A, B]

Provides DataView[Seq[A], Vec[B]] for all A such that there exists DataView[A, B]

Attributes

Source
DataView.scala
implicit def tuple10DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, T5 : DataProduct, T6 : DataProduct, T7 : DataProduct, T8 : DataProduct, T9 : DataProduct, T10 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data, V5 <: Data, V6 <: Data, V7 <: Data, V8 <: Data, V9 <: Data, V10 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], evidence$5: DataProduct[T5], evidence$6: DataProduct[T6], evidence$7: DataProduct[T7], evidence$8: DataProduct[T8], evidence$9: DataProduct[T9], evidence$10: DataProduct[T10], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], v5: DataView[T5, V5], v6: DataView[T6, V6], v7: DataView[T7, V7], v8: DataView[T8, V8], v9: DataView[T9, V9], v10: DataView[T10, V10], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4, T5, T6, T7, T8, T9, T10), HWTuple10[V1, V2, V3, V4, V5, V6, V7, V8, V9, V10]]

Provides implementations of DataView for scala.Tuple10 to HWTuple10

Provides implementations of DataView for scala.Tuple10 to HWTuple10

Attributes

Source
DataView.scala
implicit def tuple2DataView[T1 : DataProduct, T2 : DataProduct, V1 <: Data, V2 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], v1: DataView[T1, V1], v2: DataView[T2, V2], sourceInfo: SourceInfo): DataView[(T1, T2), HWTuple2[V1, V2]]

Provides implementations of DataView for scala.Tuple2 to HWTuple2

Provides implementations of DataView for scala.Tuple2 to HWTuple2

Attributes

Source
DataView.scala
implicit def tuple3DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], sourceInfo: SourceInfo): DataView[(T1, T2, T3), HWTuple3[V1, V2, V3]]

Provides implementations of DataView for scala.Tuple3 to HWTuple3

Provides implementations of DataView for scala.Tuple3 to HWTuple3

Attributes

Source
DataView.scala
implicit def tuple4DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4), HWTuple4[V1, V2, V3, V4]]

Provides implementations of DataView for scala.Tuple4 to HWTuple4

Provides implementations of DataView for scala.Tuple4 to HWTuple4

Attributes

Source
DataView.scala
implicit def tuple5DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, T5 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data, V5 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], evidence$5: DataProduct[T5], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], v5: DataView[T5, V5], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4, T5), HWTuple5[V1, V2, V3, V4, V5]]

Provides implementations of DataView for scala.Tuple5 to HWTuple5

Provides implementations of DataView for scala.Tuple5 to HWTuple5

Attributes

Source
DataView.scala
implicit def tuple6DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, T5 : DataProduct, T6 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data, V5 <: Data, V6 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], evidence$5: DataProduct[T5], evidence$6: DataProduct[T6], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], v5: DataView[T5, V5], v6: DataView[T6, V6], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4, T5, T6), HWTuple6[V1, V2, V3, V4, V5, V6]]

Provides implementations of DataView for scala.Tuple6 to HWTuple6

Provides implementations of DataView for scala.Tuple6 to HWTuple6

Attributes

Source
DataView.scala
implicit def tuple7DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, T5 : DataProduct, T6 : DataProduct, T7 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data, V5 <: Data, V6 <: Data, V7 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], evidence$5: DataProduct[T5], evidence$6: DataProduct[T6], evidence$7: DataProduct[T7], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], v5: DataView[T5, V5], v6: DataView[T6, V6], v7: DataView[T7, V7], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4, T5, T6, T7), HWTuple7[V1, V2, V3, V4, V5, V6, V7]]

Provides implementations of DataView for scala.Tuple7 to HWTuple7

Provides implementations of DataView for scala.Tuple7 to HWTuple7

Attributes

Source
DataView.scala
implicit def tuple8DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, T5 : DataProduct, T6 : DataProduct, T7 : DataProduct, T8 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data, V5 <: Data, V6 <: Data, V7 <: Data, V8 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], evidence$5: DataProduct[T5], evidence$6: DataProduct[T6], evidence$7: DataProduct[T7], evidence$8: DataProduct[T8], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], v5: DataView[T5, V5], v6: DataView[T6, V6], v7: DataView[T7, V7], v8: DataView[T8, V8], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4, T5, T6, T7, T8), HWTuple8[V1, V2, V3, V4, V5, V6, V7, V8]]

Provides implementations of DataView for scala.Tuple8 to HWTuple8

Provides implementations of DataView for scala.Tuple8 to HWTuple8

Attributes

Source
DataView.scala
implicit def tuple9DataView[T1 : DataProduct, T2 : DataProduct, T3 : DataProduct, T4 : DataProduct, T5 : DataProduct, T6 : DataProduct, T7 : DataProduct, T8 : DataProduct, T9 : DataProduct, V1 <: Data, V2 <: Data, V3 <: Data, V4 <: Data, V5 <: Data, V6 <: Data, V7 <: Data, V8 <: Data, V9 <: Data](implicit evidence$1: DataProduct[T1], evidence$2: DataProduct[T2], evidence$3: DataProduct[T3], evidence$4: DataProduct[T4], evidence$5: DataProduct[T5], evidence$6: DataProduct[T6], evidence$7: DataProduct[T7], evidence$8: DataProduct[T8], evidence$9: DataProduct[T9], v1: DataView[T1, V1], v2: DataView[T2, V2], v3: DataView[T3, V3], v4: DataView[T4, V4], v5: DataView[T5, V5], v6: DataView[T6, V6], v7: DataView[T7, V7], v8: DataView[T8, V8], v9: DataView[T9, V9], sourceInfo: SourceInfo): DataView[(T1, T2, T3, T4, T5, T6, T7, T8, T9), HWTuple9[V1, V2, V3, V4, V5, V6, V7, V8, V9]]

Provides implementations of DataView for scala.Tuple9 to HWTuple9

Provides implementations of DataView for scala.Tuple9 to HWTuple9

Attributes

Source
DataView.scala