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, 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 chiseltest

    ChiselTest Compatibility Layer for Chisel 7

    ChiselTest Compatibility Layer for Chisel 7

    This package provides a drop-in replacement for the ChiselTest library that was removed in Chisel 7. It preserves the familiar ChiselTest API while delegating to Chisel 7's ChiselSim underneath.

    Usage:

    import chiseltest._
    import org.scalatest.flatspec.AnyFlatSpec
    
    class MyTest extends AnyFlatSpec with ChiselScalatestTester {
      it should "work" in {
        test(new MyModule) { dut =>
          dut.io.in.poke(42.U)
          dut.clock.step()
          dut.io.out.expect(42.U)
        }
      }
    }

    Key Components: - testableData, testableUInt, testableBoolExt: Implicit conversions for poke/peek/expect - testableClock: Clock stepping and control - DecoupledIOOps: Utilities for Decoupled interface testing - ChiselScalatestTester: ScalaTest integration trait

    See README.md for detailed documentation.

    Definition Classes
    root
  • package formal

    Formal compatibility API placeholders.

    Formal compatibility API placeholders.

    Formal verification is currently unsupported in this compatibility layer. Any usage should fail at compile time to avoid vacuously passing tests.

    Definition Classes
    chiseltest
  • ChiselScalatestTester
  • DecoupledDriver
  • DecoupledIOOps
  • ForkHandle
  • VerilatorBackendAnnotation
  • WriteVcdAnnotation
  • testableBoolExt
  • testableClock
  • testableData
  • testableReset
  • testableUInt
c

chiseltest

DecoupledIOOps

implicit final class DecoupledIOOps[T <: Data] extends AnyVal

Source
package.scala
Linear Supertypes
AnyVal, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DecoupledIOOps
  2. AnyVal
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DecoupledIOOps(x: DecoupledIO[T])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##: Int
    Definition Classes
    Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toany2stringadd[DecoupledIOOps[T]] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DecoupledIOOps[T], B)
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toArrowAssoc[DecoupledIOOps[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def enqueueNow(data: T)(implicit clock: Clock): Unit
  8. def enqueueSeq(data: Seq[T])(implicit clock: Clock): Unit
  9. def ensuring(cond: (DecoupledIOOps[T]) => Boolean, msg: => Any): DecoupledIOOps[T]
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toEnsuring[DecoupledIOOps[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (DecoupledIOOps[T]) => Boolean): DecoupledIOOps[T]
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toEnsuring[DecoupledIOOps[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: => Any): DecoupledIOOps[T]
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toEnsuring[DecoupledIOOps[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): DecoupledIOOps[T]
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toEnsuring[DecoupledIOOps[T]] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def expectDequeueNow(data: T, maxCycles: Int = 1000)(implicit clock: Clock): Unit
  14. def expectDequeueSeq(data: Seq[T])(implicit clock: Clock): Unit
  15. def expectInvalid(): Unit
  16. def expectPeek(data: T): Unit
  17. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  18. def initSink()(implicit clock: Clock): Unit
  19. def initSource()(implicit clock: Clock): Unit
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def toString(): String
    Definition Classes
    Any
  22. val x: DecoupledIO[T]

Deprecated Value Members

  1. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toStringFormat[DecoupledIOOps[T]] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  2. def [B](y: B): (DecoupledIOOps[T], B)
    Implicit
    This member is added by an implicit conversion from DecoupledIOOps[T] toArrowAssoc[DecoupledIOOps[T]] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from AnyVal

Inherited from Any

Inherited by implicit conversion any2stringadd fromDecoupledIOOps[T] to any2stringadd[DecoupledIOOps[T]]

Inherited by implicit conversion StringFormat fromDecoupledIOOps[T] to StringFormat[DecoupledIOOps[T]]

Inherited by implicit conversion Ensuring fromDecoupledIOOps[T] to Ensuring[DecoupledIOOps[T]]

Inherited by implicit conversion ArrowAssoc fromDecoupledIOOps[T] to ArrowAssoc[DecoupledIOOps[T]]

Ungrouped