Packages

  • package root

    This is the documentation for Chisel.

    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, FixedPoint, Clock, and Reg, the abstract types Bits, Aggregate, and Data, and the aggregate types Bundle and Vec.

    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.

    Definition Classes
    root
  • package chisel3
    Definition Classes
    root
  • package util

    The util package provides extensions to core chisel for common hardware components and utility functions

    The util package provides extensions to core chisel for common hardware components and utility functions

    Definition Classes
    chisel3
  • class Pipe[T <: Data] extends Module

    Pipeline module generator parameterized by data type and latency.

    Pipeline module generator parameterized by data type and latency.

    This defines a module with one input, enq, and one output, deq. The input and output are Valid interfaces that wrap some Chisel type, e.g., a UInt or a Bundle. This generator will then chain together a number of pipeline stages that all advance when the input Valid enq fires. The output deq Valid will fire only when valid data has made it all the way through the pipeline.

    As an example, to construct a 4-stage pipe of 8-bit UInts and connect it to a producer and consumer, you can use the following:

    val foo = Module(new Pipe(UInt(8.W)), 4)
    pipe.io.enq := producer.io
    consumer.io := pipe.io.deq

    If you already have the Valid input or the components of a Valid interface, it may be simpler to use the Pipe factory companion object. This, which Pipe internally utilizes, will automatically connect the input for you.

    Definition Classes
    util
    See also

    Pipe factory for an alternative API

    Valid interface

    Queue and the Queue factory for actual queues

    The ShiftRegister factory to generate a pipe without a Valid interface

  • PipeIO

class PipeIO extends Bundle

Interface for Pipes composed of a Valid input and Valid output

Source
Valid.scala
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. PipeIO
  2. Bundle
  3. Record
  4. Aggregate
  5. Data
  6. SourceInfoDoc
  7. NamedComponent
  8. HasId
  9. InstanceId
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PipeIO()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def :=(that: ⇒ Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit
    Definition Classes
    Data
  4. final def <>(that: ⇒ Data)(implicit sourceInfo: SourceInfo, connectionCompileOptions: CompileOptions): Unit
    Definition Classes
    Data
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def _cloneTypeImpl: Bundle
    Attributes
    protected
    Definition Classes
    Bundle
  7. def _usingPlugin: Boolean
    Attributes
    protected
    Definition Classes
    Bundle
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. macro def asTypeOf[T <: Data](that: T): T
    Definition Classes
    Data
  10. final macro def asUInt: UInt
    Definition Classes
    Data
  11. def autoSeed(name: String): PipeIO.this.type
    Definition Classes
    Data → HasId
  12. def binding: Option[Binding]
    Attributes
    protected[chisel3]
    Definition Classes
    Data
  13. def binding_=(target: Binding): Unit
    Attributes
    protected
    Definition Classes
    Data
  14. def circuitName: String
    Attributes
    protected
    Definition Classes
    HasId
  15. def className: String
    Definition Classes
    Bundle → Record
  16. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  17. def cloneType: PipeIO.this.type
    Definition Classes
    Bundle → Data
  18. val deq: Valid[T]

    Valid output.

    Valid output. Data will appear here latency cycles after being valid at enq.

  19. def do_asTypeOf[T <: Data](that: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T
    Definition Classes
    Data
  20. def do_asUInt(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): UInt
    Definition Classes
    Aggregate → Data
  21. final lazy val elements: SeqMap[String, Data]
    Definition Classes
    Bundle → Record
  22. val enq: Valid[T]

    Valid input

  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(that: Any): Boolean
    Definition Classes
    HasId → AnyRef → Any
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. def getElements: Seq[Data]
    Definition Classes
    Record → Aggregate
  27. final def getWidth: Int
    Definition Classes
    Data
  28. def hasSeed: Boolean
    Definition Classes
    HasId
  29. def hashCode(): Int
    Definition Classes
    HasId → AnyRef → Any
  30. def ignoreSeq: Boolean
    Definition Classes
    Bundle
  31. def instanceName: String
    Definition Classes
    HasId → InstanceId
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isLit: Boolean
    Definition Classes
    Data
  34. final def isWidthKnown: Boolean
    Definition Classes
    Data
  35. def litOption: Option[BigInt]
    Definition Classes
    Aggregate → Data
  36. def litValue: BigInt
    Definition Classes
    Data
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  40. def parentModName: String
    Definition Classes
    HasId → InstanceId
  41. def parentPathName: String
    Definition Classes
    HasId → InstanceId
  42. def pathName: String
    Definition Classes
    HasId → InstanceId
  43. def suggestName(seed: ⇒ String): PipeIO.this.type
    Definition Classes
    HasId
  44. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  45. final def toAbsoluteTarget: ReferenceTarget
    Definition Classes
    NamedComponent → InstanceId
  46. final def toNamed: ComponentName
    Definition Classes
    NamedComponent → InstanceId
  47. def toPrintable: Printable
    Definition Classes
    Bundle → Record → Data
  48. def toString(): String
    Definition Classes
    Record → AnyRef → Any
  49. final def toTarget: ReferenceTarget
    Definition Classes
    NamedComponent → InstanceId
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def widthOption: Option[Int]
    Definition Classes
    Data

Deprecated Value Members

  1. final macro def asUInt(dummy: Int*): UInt
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 3.5) Calling this function with an empty argument list is invalid in Scala 3. Use the form without parentheses instead

  2. def bindingToString: String
    Attributes
    protected
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 3.5.0) This was never intended to be visible to user-defined types

  3. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  4. def isLit(dummy: Int*): Boolean
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 3.5) Calling this function with an empty argument list is invalid in Scala 3. Use the form without parentheses instead

  5. def litOption(dummy: Int*): Option[BigInt]
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 3.5) Calling this function with an empty argument list is invalid in Scala 3. Use the form without parentheses instead

  6. def litValue(dummy: Int*): BigInt
    Definition Classes
    Data
    Annotations
    @deprecated
    Deprecated

    (Since version Chisel 3.5) Calling this function with an empty argument list is invalid in Scala 3. Use the form without parentheses instead

Inherited from Bundle

Inherited from Record

Inherited from Aggregate

Inherited from Data

Inherited from SourceInfoDoc

Inherited from NamedComponent

Inherited from HasId

Inherited from internal.InstanceId

Inherited from AnyRef

Inherited from Any

Signals

Ungrouped