Class/Object

chisel3.util

Queue

Related Docs: object Queue | package util

Permalink

class Queue[T <: Data] extends Module

A hardware module implementing a Queue

Example:
  1. val q = Module(new Queue(UInt(), 16))
    q.io.enq <> producer.io.out
    consumer.io.in <> q.io.deq
Linear Supertypes
LegacyModule, ImplicitModule, UserModule, BaseModule, HasId, InstanceId, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Queue
  2. LegacyModule
  3. ImplicitModule
  4. UserModule
  5. BaseModule
  6. HasId
  7. InstanceId
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Queue(gen: T, entries: Int, pipe: Boolean = false, flow: Boolean = false)(implicit compileOptions: CompileOptions)

    Permalink

    gen

    The type of data to queue

    entries

    The max number of entries in the queue

    pipe

    True if a single entry queue can run at full throughput (like a pipeline). The ready signals are combinationally coupled.

    flow

    True if the inputs can be consumed on the same cycle (the inputs "flow" through the queue immediately). The valid signals are coupled.

  2. new Queue(gen: T, entries: Int, pipe: Boolean, flow: Boolean, _reset: Bool)

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Module constructor with override _reset deprecated, use withReset

  3. new Queue(gen: T, entries: Int, pipe: Boolean, flow: Boolean, override_reset: Option[Bool])

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version chisel3) Module constructor with override _reset deprecated, use withReset

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def IO[T <: core.Data](iodef: T): iodef.type

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  5. def _autoWrapPorts(): Unit

    Permalink
    Definition Classes
    BaseModule
  6. var _closed: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  7. def _ioPortBound(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    LegacyModule
  8. def annotate(annotation: ChiselAnnotation): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val clock: core.Clock

    Permalink
    Definition Classes
    ImplicitModule
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. val compileOptions: CompileOptions

    Permalink
    Definition Classes
    UserModule
  13. def desiredName: String

    Permalink
    Definition Classes
    BaseModule
  14. val entries: Int

    Permalink

    The max number of entries in the queue

  15. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. def equals(that: Any): Boolean

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. val genType: T

    Permalink
  19. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  20. def getCommands: Seq[Command]

    Permalink
    Attributes
    protected
    Definition Classes
    UserModule
  21. def getIds: Seq[HasId]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  22. def getModulePorts: Seq[core.Data]

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  23. lazy val getPorts: Seq[Port]

    Permalink
    Definition Classes
    UserModule
  24. def hashCode(): Int

    Permalink
    Definition Classes
    HasId → AnyRef → Any
  25. def instanceName: String

    Permalink
    Definition Classes
    BaseModule → HasId → InstanceId
  26. val io: QueueIO[T]

    Permalink
    Definition Classes
    Queue → LegacyModule
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. final val name: String

    Permalink
    Definition Classes
    BaseModule
  29. def nameIds(rootClass: Class[_]): HashMap[HasId, String]

    Permalink
    Attributes
    protected
    Definition Classes
    LegacyModule → BaseModule
  30. val namingContext$macro$6: NamingContext

    Permalink
  31. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  34. var override_clock: Option[core.Clock]

    Permalink
    Attributes
    protected
    Definition Classes
    LegacyModule
  35. var override_reset: Option[core.Bool]

    Permalink
    Attributes
    protected
    Definition Classes
    LegacyModule
  36. def parentModName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  37. def parentPathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  38. def pathName: String

    Permalink
    Definition Classes
    HasId → InstanceId
  39. def portsContains(elem: core.Data): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  40. def portsSize: Int

    Permalink
    Attributes
    protected
    Definition Classes
    BaseModule
  41. val reset: Reset

    Permalink
    Definition Classes
    ImplicitModule
  42. def suggestName(name: ⇒ String): Queue.this.type

    Permalink
    Definition Classes
    HasId
  43. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  44. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LegacyModule

Inherited from ImplicitModule

Inherited from UserModule

Inherited from BaseModule

Inherited from HasId

Inherited from InstanceId

Inherited from AnyRef

Inherited from Any

Ungrouped