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
    @HotSpotIntrinsicCandidate() @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 finish: Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  25. def incTime(n: Int): Unit

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

    Permalink

    Convert Pokeables to BigInt

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

    Permalink

    Convert a Boolean to BigInt

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

  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. implicit val logger: TestErrorLog

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

    Permalink
  32. 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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  35. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  36. val optionsManager: TesterOptionsManager

    Permalink
  37. 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.

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

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

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

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

    Permalink
  42. 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

  43. def peekFixedPointBig(signal: FixedPoint): BigDecimal

    Permalink

    returns the value of signal as BigDecimal

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

  45. def peekIntervalBig(signal: Interval): BigDecimal

    Permalink

    returns the value of signal as BigDecimal

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

    Permalink
  47. 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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
  61. val rnd: Random

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

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

    Permalink
    Definition Classes
    AnyRef
  64. def t: Long

    Permalink
  65. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  66. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. final def wait(): Unit

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

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from AnyRef

Inherited from Any

Ungrouped