object Lookupable
- Source
- Lookupable.scala
- Alphabetic
- By Inheritance
- Lookupable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Aux[B, C0] = Lookupable[B] { type C = C0 }
Type alias for simplifying explicit Lookupable type ascriptions
- type Simple[B] = Lookupable[B] { type C = B }
Type alias for simple Lookupable types
Deprecated Type Members
- class SimpleLookupable[X] extends Lookupable[X]
- Annotations
- @deprecated
- Deprecated
(Since version Chisel 7.0.0) Use Lookupable.isLookupable instead of extending this.
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(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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.
- implicit val lookupBigInt: Simple[BigInt]
- implicit val lookupBoolean: Simple[Boolean]
- implicit val lookupByte: Simple[Byte]
- implicit val lookupChar: Simple[Char]
- implicit def lookupData[B <: Data](implicit sourceInfo: SourceInfo): Simple[B]
- implicit val lookupDouble: Simple[Double]
- implicit def lookupEither[L, R](implicit sourceInfo: SourceInfo, lookupableL: Lookupable[L], lookupableR: Lookupable[R]): Aux[Either[L, R], Either[C, C]]
- implicit val lookupFloat: Simple[Float]
- implicit def lookupHasTarget(implicit sourceInfo: SourceInfo): Simple[HasTarget]
- implicit def lookupInstance[B <: BaseModule](implicit sourceInfo: SourceInfo): Simple[Instance[B]]
- implicit val lookupInt: Simple[Int]
- implicit def lookupIsLookupable[B <: IsLookupable](implicit sourceInfo: SourceInfo): Simple[B]
- implicit def lookupIterable[B, F[_] <: Iterable[_]](implicit sourceInfo: SourceInfo, lookupable: Lookupable[B]): Aux[F[B], F[C]]
- implicit val lookupLong: Simple[Long]
- implicit def lookupMem[B <: MemBase[_]](implicit sourceInfo: SourceInfo): Simple[B]
- implicit def lookupOption[B](implicit sourceInfo: SourceInfo, lookupable: Lookupable[B]): Aux[Option[B], Option[C]]
- implicit val lookupShort: Simple[Short]
- implicit val lookupString: Simple[String]
- implicit def lookupTuple2[T1, T2](implicit sourceInfo: SourceInfo, lookupableT1: Lookupable[T1], lookupableT2: Lookupable[T2]): Aux[(T1, T2), (C, C)]
- 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)]
- 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)]
- 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)]
- implicit val lookupUnit: Simple[Unit]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- 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
- 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
- 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
- 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
- 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
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- 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.
- 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).
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
,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.