Packages

object PartialDataView

Factory methods for constructing non-total DataViews

Source
DataView.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialDataView
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[T, V <: Data](mkView: (T) => V, pairs: (T, V) => (Data, Data)*)(implicit arg0: DataProduct[T], sourceInfo: SourceInfo): DataView[T, V]

    Default factory method, alias for pairs

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. def mapping[T, V <: Data](mkView: (T) => V, mapping: (T, V) => Iterable[(Data, Data)])(implicit arg0: DataProduct[T], sourceInfo: SourceInfo): DataView[T, V]

    More general factory method for complex mappings

  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. def pairs[T, V <: Data](mkView: (T) => V, pairs: (T, V) => (Data, Data)*)(implicit arg0: DataProduct[T], sourceInfo: SourceInfo): DataView[T, V]

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

  18. def supertype[T <: Record, V <: Record](mkView: (T) => V)(implicit ev: ChiselSubtypeOf[T, V], sourceInfo: SourceInfo): DataView[T, V]

    Constructs a non-total DataView mapping from a Bundle or Record type to a parent Bundle or Record type

    Constructs a non-total DataView mapping from a Bundle or Record type to a parent Bundle or Record type

    mkView

    a function constructing an instance V from an instance of T

    returns

    the DataView that enables viewing instances of a Bundle/Record as instances of a parent type

  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped