Class/Object

chisel3.iotesters

PeekPokeTester

Related Docs: object PeekPokeTester | package iotesters

Permalink

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)

    Permalink

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. implicit val _base: Int

    Permalink
  5. implicit val _verbose: Boolean

    Permalink
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. val backend: Backend

    Permalink

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

  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val dut: T

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def expect(signal: Bundle, expected: Map[String, BigInt]): Boolean

    Permalink

    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

    Permalink
  14. def expect[T <: Element](signal: T, expected: Int, msg: ⇒ String)(implicit arg0: Pokeable[T]): Boolean

    Permalink
  15. def expect[T <: Element](signal: T, expected: BigInt, msg: ⇒ String = "")(implicit arg0: Pokeable[T]): Boolean

    Permalink
  16. def expect(good: Boolean, msg: ⇒ String): Boolean

    Permalink
  17. def expectFixedPoint(signal: FixedPoint, expected: Double, msg: ⇒ String, epsilon: Double = 0.01): Boolean

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def finish: Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. def incTime(n: Int): Unit

    Permalink
    Attributes
    protected[chisel3.iotesters]
  27. implicit def int[T <: Element](x: T)(implicit arg0: Pokeable[T]): BigInt

    Permalink

    Convert Pokeables to BigInt

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

    Permalink

    Convert a Boolean to BigInt

  29. def intToUnsignedBigInt(x: Int): BigInt

    Permalink

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

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

    x

    number to be converted

  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. implicit val logger: TestErrorLog

    Permalink
  32. implicit def longToInt(x: Long): Int

    Permalink
  33. def longToUnsignedBigInt(x: Long): BigInt

    Permalink

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

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

    x

    long to be converted

  34. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  37. val optionsManager: TesterOptionsManager

    Permalink
  38. def peek(signal: Bundle): LinkedHashMap[String, BigInt]

    Permalink

    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.

  39. def peek(signal: Aggregate): Seq[BigInt]

    Permalink
  40. def peek[T <: Element](signal: T)(implicit arg0: Pokeable[T]): BigInt

    Permalink
  41. def peek(path: String): BigInt

    Permalink
  42. def peekAt[TT <: Element](data: MemBase[TT], off: Int)(implicit arg0: Pokeable[TT]): BigInt

    Permalink
  43. def peekFixedPoint(signal: FixedPoint): Double

    Permalink

    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

  44. def peekFixedPointBig(signal: FixedPoint): BigDecimal

    Permalink

    returns the value of signal as BigDecimal

  45. def peekInterval(signal: Interval): Double

    Permalink

    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

  46. def peekIntervalBig(signal: Interval): BigDecimal

    Permalink

    returns the value of signal as BigDecimal

  47. def poke(signal: Aggregate, value: IndexedSeq[BigInt]): Unit

    Permalink
  48. def poke(signal: Bundle, map: Map[String, BigInt]): Unit

    Permalink

    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

  49. def poke[T <: Element](signal: T, value: Long)(implicit arg0: Pokeable[T]): Unit

    Permalink
  50. def poke[T <: Element](signal: T, value: Int)(implicit arg0: Pokeable[T]): Unit

    Permalink
  51. def poke[T <: Element](signal: T, value: BigInt)(implicit arg0: Pokeable[T]): Unit

    Permalink
  52. def poke(path: String, value: Long): Unit

    Permalink
  53. def poke(path: String, value: Int): Unit

    Permalink
  54. def poke(path: String, value: BigInt): Unit

    Permalink
  55. def pokeAt[TT <: Element](data: MemBase[TT], value: BigInt, off: Int)(implicit arg0: Pokeable[TT]): Unit

    Permalink
  56. def pokeFixedPoint(signal: FixedPoint, value: Double): Unit

    Permalink
  57. def pokeFixedPointBig(signal: FixedPoint, value: BigDecimal): Unit

    Permalink
  58. def pokeInterval(signal: Interval, value: Double): Unit

    Permalink
  59. def pokeIntervalBig(signal: Interval, value: BigDecimal): Unit

    Permalink
  60. def println(msg: String = ""): Unit

    Permalink
  61. def reset(n: Int = 1): Unit

    Permalink
  62. val rnd: Random

    Permalink
  63. def step(n: Int): Unit

    Permalink
  64. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  65. def t: Long

    Permalink
  66. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped