Packages

c

chiseltest.iotesters

PeekPokeTester

abstract class PeekPokeTester[T <: Module] extends LazyLogging

Legacy PeekPokeTester made to work with the new chiseltest infrastructure. This code is meant to help port legacy tests, but may be deprecated in the future. Adapted from the original sources at: https://github.com/freechipsproject/chisel-testers/

Linear Supertypes
LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PeekPokeTester
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PeekPokeTester(dut: T)

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val backend: SimulatorContext
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  7. val dataNames: Map[Data, String]
  8. val dut: T
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. 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.

  12. def expect(signal: Aggregate, expected: IndexedSeq[BigInt]): Boolean
  13. def expect[E <: Element](signal: E, expected: Int, msg: => String)(implicit arg0: Pokeable[E]): Boolean
  14. def expect[E <: Element](signal: E, expected: BigInt, msg: => String = "")(implicit arg0: Pokeable[E]): Boolean
  15. def expect(good: Boolean, msg: => String): Boolean
  16. def fail(): Unit
  17. def finish: Unit
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  19. def getLogger: Logger
    Definition Classes
    LazyLogging
  20. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  21. def incTime(n: Int): Unit
    Attributes
    protected[iotesters]
  22. implicit def int[E <: Element](x: E)(implicit arg0: Pokeable[E]): BigInt

    Convert Pokeables to BigInt

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

    Convert a Boolean to BigInt

  24. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  25. val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
  26. implicit def longToInt(x: Long): Int
  27. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  28. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  29. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  30. 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.

  31. def peek(signal: Aggregate): Seq[BigInt]
  32. def peek[E <: Element](signal: E)(implicit arg0: Pokeable[E]): BigInt
  33. def peek(path: String): BigInt
  34. def peekAt[E <: Element](data: MemBase[E], off: Int)(implicit arg0: Pokeable[E]): BigInt
  35. def poke(signal: Aggregate, value: IndexedSeq[BigInt]): Unit
  36. 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

  37. def poke[E <: Element](signal: E, value: Long)(implicit arg0: Pokeable[E]): Unit
  38. def poke[E <: Element](signal: E, value: Int)(implicit arg0: Pokeable[E]): Unit
  39. def poke[T <: Element](signal: T, value: BigInt)(implicit arg0: Pokeable[T]): Unit
  40. def poke(path: String, value: Long): Unit
  41. def poke(path: String, value: Int): Unit
  42. def poke(path: String, value: BigInt): Unit
  43. def pokeAt[E <: Element](data: MemBase[E], value: BigInt, off: Int)(implicit arg0: Pokeable[E]): Unit
  44. def println(msg: String = ""): Unit
  45. def reset(n: Int = 1): Unit
  46. def step(n: Int): Unit
  47. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  48. def t: Long
  49. def toString(): String
    Definition Classes
    AnyRef → Any
  50. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  51. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  52. 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

    (Since version 9)

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped