Packages

object Lookupable

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

Type Members

  1. type Aux[B, C0] = Lookupable[B] { type C = C0 }

    Type alias for simplifying explicit Lookupable type ascriptions

  2. type Simple[B] = Lookupable[B] { type C = B }

    Type alias for simple Lookupable types

Deprecated Type Members

  1. class SimpleLookupable[X] extends Lookupable[X]
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Use Lookupable.isLookupable instead of extending this.

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  12. def isLookupable[X]: Simple[X]

    Provides a lookupable for a type X that does not need special handling

    Provides a lookupable for a type X that does not need special handling

    This can only be used by types that do not contain a Data, BaseModule, or any IsInstantiable.

  13. implicit val lookupBigInt: Simple[BigInt]
  14. implicit val lookupBoolean: Simple[Boolean]
  15. implicit val lookupByte: Simple[Byte]
  16. implicit val lookupChar: Simple[Char]
  17. implicit def lookupData[B <: Data](implicit sourceInfo: SourceInfo): Simple[B]
  18. implicit val lookupDouble: Simple[Double]
  19. implicit def lookupEither[L, R](implicit sourceInfo: SourceInfo, lookupableL: Lookupable[L], lookupableR: Lookupable[R]): Aux[Either[L, R], Either[C, C]]
  20. implicit val lookupFloat: Simple[Float]
  21. implicit def lookupHasTarget(implicit sourceInfo: SourceInfo): Simple[HasTarget]
  22. implicit def lookupInstance[B <: BaseModule](implicit sourceInfo: SourceInfo): Simple[Instance[B]]
  23. implicit val lookupInt: Simple[Int]
  24. implicit def lookupIsLookupable[B <: IsLookupable](implicit sourceInfo: SourceInfo): Simple[B]
  25. implicit def lookupIterable[B, F[_] <: Iterable[_]](implicit sourceInfo: SourceInfo, lookupable: Lookupable[B]): Aux[F[B], F[C]]
  26. implicit val lookupLong: Simple[Long]
  27. implicit def lookupMem[B <: MemBase[_]](implicit sourceInfo: SourceInfo): Simple[B]
  28. implicit def lookupOption[B](implicit sourceInfo: SourceInfo, lookupable: Lookupable[B]): Aux[Option[B], Option[C]]
  29. implicit val lookupShort: Simple[Short]
  30. implicit val lookupString: Simple[String]
  31. implicit def lookupTuple2[T1, T2](implicit sourceInfo: SourceInfo, lookupableT1: Lookupable[T1], lookupableT2: Lookupable[T2]): Aux[(T1, T2), (C, C)]
  32. implicit def lookupTuple3[T1, T2, T3](implicit sourceInfo: SourceInfo, lookupableT1: Lookupable[T1], lookupableT2: Lookupable[T2], lookupableT3: Lookupable[T3]): Aux[(T1, T2, T3), (C, C, C)]
  33. implicit def lookupTuple4[T1, T2, T3, T4](implicit sourceInfo: SourceInfo, lookupableT1: Lookupable[T1], lookupableT2: Lookupable[T2], lookupableT3: Lookupable[T3], lookupableT4: Lookupable[T4]): Aux[(T1, T2, T3, T4), (C, C, C, C)]
  34. implicit def lookupTuple5[T1, T2, T3, T4, T5](implicit sourceInfo: SourceInfo, lookupableT1: Lookupable[T1], lookupableT2: Lookupable[T2], lookupableT3: Lookupable[T3], lookupableT4: Lookupable[T4], lookupableT5: Lookupable[T5]): Aux[(T1, T2, T3, T4, T5), (C, C, C, C, C)]
  35. implicit val lookupUnit: Simple[Unit]
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def product1[X, T1](in: (X) => T1, out: (T1) => X)(implicit arg0: Lookupable[T1], sourceInfo: SourceInfo): Simple[X]

    Factory method for creating Lookupable for user-defined types

  40. def product2[X, T1, T2](in: (X) => (T1, T2), out: (T1, T2) => X)(implicit arg0: Lookupable[T1], arg1: Lookupable[T2], sourceInfo: SourceInfo): Simple[X]

    Factory method for creating Lookupable for user-defined types

  41. def product3[X, T1, T2, T3](in: (X) => (T1, T2, T3), out: (T1, T2, T3) => X)(implicit arg0: Lookupable[T1], arg1: Lookupable[T2], arg2: Lookupable[T3], sourceInfo: SourceInfo): Simple[X]

    Factory method for creating Lookupable for user-defined types

  42. def product4[X, T1, T2, T3, T4](in: (X) => (T1, T2, T3, T4), out: (T1, T2, T3, T4) => X)(implicit arg0: Lookupable[T1], arg1: Lookupable[T2], arg2: Lookupable[T3], arg3: Lookupable[T4], sourceInfo: SourceInfo): Simple[X]

    Factory method for creating Lookupable for user-defined types

  43. def product5[X, T1, T2, T3, T4, T5](in: (X) => (T1, T2, T3, T4, T5), out: (T1, T2, T3, T4, T5) => X)(implicit arg0: Lookupable[T1], arg1: Lookupable[T2], arg2: Lookupable[T3], arg3: Lookupable[T4], arg4: Lookupable[T5], sourceInfo: SourceInfo): Simple[X]

    Factory method for creating Lookupable for user-defined types

  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. implicit def lookupIsInstantiable[B <: IsInstantiable](implicit sourceInfo: SourceInfo): Aux[B, Instance[B]]
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Use of @instantiable on user-defined types is deprecated. Implement Lookupable for your type instead.

  2. implicit def lookupModule[B <: BaseModule](implicit sourceInfo: SourceInfo): Aux[B, Instance[B]]
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 7.0.0) Looking up Modules is deprecated, please cast to Instance instead (.toInstance).

Inherited from AnyRef

Inherited from Any

Ungrouped