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

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. All

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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  9. val dut: T
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): 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
  18. def fail: Unit
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. def finish: Boolean
  21. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def incTime(n: Int): Unit
    Attributes
    protected[chisel3.iotesters]
  24. implicit def int[T <: Element](x: T)(implicit arg0: Pokeable[T]): BigInt

    Convert Pokeables to BigInt

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

    Convert a Boolean to BigInt

  26. 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

  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. implicit val logger: TestErrorLog
  29. implicit def longToInt(x: Long): Int
  30. 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

  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. val optionsManager: TesterOptionsManager
  35. 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.

  36. def peek(signal: Aggregate): Seq[BigInt]
  37. def peek[T <: Element](signal: T)(implicit arg0: Pokeable[T]): BigInt
  38. def peek(path: String): BigInt
  39. def peekAt[TT <: Element](data: MemBase[TT], off: Int)(implicit arg0: Pokeable[TT]): BigInt
  40. def peekFixedPoint(signal: FixedPoint): Double
  41. def poke(signal: Aggregate, value: IndexedSeq[BigInt]): Unit
  42. 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

  43. def poke[T <: Element](signal: T, value: Long)(implicit arg0: Pokeable[T]): Unit
  44. def poke[T <: Element](signal: T, value: Int)(implicit arg0: Pokeable[T]): Unit
  45. def poke[T <: Element](signal: T, value: BigInt)(implicit arg0: Pokeable[T]): Unit
  46. def poke(path: String, value: Long): Unit
  47. def poke(path: String, value: Int): Unit
  48. def poke(path: String, value: BigInt): Unit
  49. def pokeAt[TT <: Element](data: MemBase[TT], value: BigInt, off: Int)(implicit arg0: Pokeable[TT]): Unit
  50. def pokeFixedPoint(signal: FixedPoint, value: Double): Unit
  51. def println(msg: String = ""): Unit
  52. def reset(n: Int = 1): Unit
  53. val rnd: Random
  54. def step(n: Int): Unit
  55. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  56. def t: Long
  57. def toString(): String
    Definition Classes
    AnyRef → Any
  58. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  60. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped