abstract class PeekPokeTester[+T <: Module] extends AnyRef

Annotations
@deprecated
Deprecated

(Since version chisel-iotesters 2.5.0) chisel-iotesters is end-of-life. Use chiseltest instead, see https://www.chisel-lang.org/chiseltest/migrating-from-iotesters.

Source
PeekPokeTester.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PeekPokeTester
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PeekPokeTester(dut: T, base: Int = 16, logFile: Option[File] = None)

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. implicit val _base: Int
  5. implicit val _verbose: Boolean
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val backend: Backend

    *************************

  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. val dut: T
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def expect(signal: Bundle, expected: Map[String, BigInt]): Boolean

    Return true or false if an aggregate signal (Bundle) matches the expected map of values.

    Return true or false if an aggregate signal (Bundle) matches the expected map of values. TODO: deal with Vecs

    signal

    the Bundle to "expect"

    expected

    a map of signal names ("dotted" Bundle notation) to BigInt values

    returns

    true if the specified values match, false otherwise.

  13. def expect(signal: Aggregate, expected: IndexedSeq[BigInt]): Boolean
  14. def expect[T <: Element](signal: T, expected: Int, msg: => String)(implicit arg0: Pokeable[T]): Boolean
  15. def expect[T <: Element](signal: T, expected: BigInt, msg: => String = "")(implicit arg0: Pokeable[T]): Boolean
  16. def expect(good: Boolean, msg: => String): Boolean
  17. def expectFixedPoint(signal: FixedPoint, expected: Double, msg: => String, epsilon: Double = 0.01): Boolean

    Uses a Double as the expected value

    Uses a Double as the expected value

    Consider using the more reliable expectFixedPointBig

    signal

    signal

    expected

    value expected

    msg

    message on failure

    epsilon

    error bounds on expected value are +/- epsilon

  18. def expectFixedPointBig(signal: FixedPoint, expected: BigDecimal, msg: => String, epsilon: BigDecimal = 0.01): Boolean

    Uses a BigDecimal as the expected value

    Uses a BigDecimal as the expected value

    signal

    signal

    expected

    value expected

    msg

    message on failure

    epsilon

    error bounds on expected value are +/- epsilon

  19. def expectInterval(signal: Interval, expected: Double, msg: => String, epsilon: Double = 0.01): Boolean

    Uses a Double as the expected value

    Uses a Double as the expected value

    Consider using the more reliable expectIntervalBig

    signal

    signal

    expected

    value expected

    msg

    message on failure

    epsilon

    error bounds on expected value are +/- epsilon

  20. def expectIntervalBig(signal: Interval, expected: BigDecimal, msg: => String, epsilon: BigDecimal = 0.01): Boolean

    Uses a BigDecimal as the expected value

    Uses a BigDecimal as the expected value

    signal

    signal

    expected

    value expected

    msg

    message on failure

    epsilon

    error bounds on expected value are +/- epsilon

  21. def fail: Unit
  22. def finish: Boolean
  23. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def incTime(n: Int): Unit
    Attributes
    protected[iotesters]
  26. implicit def int[T <: Element](x: T)(implicit arg0: Pokeable[T]): BigInt

    Convert Pokeables to BigInt

  27. implicit def int(x: Boolean): BigInt

    Convert a Boolean to BigInt

  28. def intToUnsignedBigInt(x: Int): BigInt

    Convert an Int to unsigned (effectively 32-bit) BigInt

    Convert an Int to unsigned (effectively 32-bit) BigInt

    x

    number to be converted

  29. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  30. implicit val logger: TestErrorLog
  31. implicit def longToInt(x: Long): Int
  32. def longToUnsignedBigInt(x: Long): BigInt

    Convert an Int to unsigned (effectively 64-bit) BigInt

    Convert an Int to unsigned (effectively 64-bit) BigInt

    x

    long to be converted

  33. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  34. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  36. val optionsManager: TesterOptionsManager
  37. def peek(signal: Bundle): LinkedHashMap[String, BigInt]

    Peek an aggregate (Bundle) signal.

    Peek an aggregate (Bundle) signal.

    signal

    the signal to peek

    returns

    a map of signal names ("dotted" Bundle) to BigInt values.

  38. def peek(signal: Aggregate): Seq[BigInt]
  39. def peek[T <: Element](signal: T)(implicit arg0: Pokeable[T]): BigInt
  40. def peek(path: String): BigInt
  41. def peekAt[TT <: Element](data: MemBase[TT], off: Int)(implicit arg0: Pokeable[TT]): BigInt
  42. def peekFixedPoint(signal: FixedPoint): Double

    Returns the value signal as a Double.

    Returns the value signal as a Double. Double may not be big enough to contain the value without precision loss. This situation will Throw ChiselException Consider using the more reliable peekFixedPointBig

  43. def peekFixedPointBig(signal: FixedPoint): BigDecimal

    returns the value of signal as BigDecimal

  44. def peekInterval(signal: Interval): Double

    Returns the value signal as a Double.

    Returns the value signal as a Double. Double may not be big enough to contain the value without precision loss. This situation will Throw ChiselException Consider using the more reliable peekIntervalBig

  45. def peekIntervalBig(signal: Interval): BigDecimal

    returns the value of signal as BigDecimal

  46. def poke(signal: Aggregate, value: IndexedSeq[BigInt]): Unit
  47. def poke(signal: Bundle, map: Map[String, BigInt]): Unit

    Poke a Bundle given a map of elements and values.

    Poke a Bundle given a map of elements and values.

    signal

    the bundle to be poked

    map

    a map from names (using '.' to delimit bundle elements), to BigInt values

  48. def poke[T <: Element](signal: T, value: Long)(implicit arg0: Pokeable[T]): Unit
  49. def poke[T <: Element](signal: T, value: Int)(implicit arg0: Pokeable[T]): Unit
  50. def poke[T <: Element](signal: T, value: BigInt)(implicit arg0: Pokeable[T]): Unit
  51. def poke(path: String, value: Long): Unit
  52. def poke(path: String, value: Int): Unit
  53. def poke(path: String, value: BigInt): Unit
  54. def pokeAt[TT <: Element](data: MemBase[TT], value: BigInt, off: Int)(implicit arg0: Pokeable[TT]): Unit
  55. def pokeFixedPoint(signal: FixedPoint, value: Double): Unit
  56. def pokeFixedPointBig(signal: FixedPoint, value: BigDecimal): Unit
  57. def pokeInterval(signal: Interval, value: Double): Unit
  58. def pokeIntervalBig(signal: Interval, value: BigDecimal): Unit
  59. def println(msg: String = ""): Unit
  60. def reset(n: Int = 1): Unit
  61. val rnd: Random
  62. def step(n: Int): Unit
  63. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  64. def t: Long
  65. def toString(): String
    Definition Classes
    AnyRef → Any
  66. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  67. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  68. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped