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: core.Aggregate, expected: IndexedSeq[BigInt]): Boolean

    Permalink
  14. def expect(signal: Bits, expected: Int, msg: ⇒ String): Boolean

    Permalink
  15. def expect(signal: Bits, expected: BigInt, msg: ⇒ String = ""): 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
  18. def fail: Unit

    Permalink
  19. def finalize(): Unit

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

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

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

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

    Permalink
    Attributes
    protected[chisel3.iotesters]
  24. implicit def int(x: Bits): BigInt

    Permalink

    Convert Bits to BigInt

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

    Permalink

    Convert a Boolean to BigInt

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

  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. implicit val logger: TestErrorLog

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  34. val optionsManager: TesterOptionsManager

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

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

    Permalink
  37. def peek(signal: Bits): BigInt

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

    Permalink
  39. def peekAt[TT <: Bits](data: Mem[TT], off: Int): BigInt

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

    Permalink
  41. def poke(signal: core.Aggregate, value: IndexedSeq[BigInt]): Unit

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

  43. def poke(signal: Bits, value: Long): Unit

    Permalink
  44. def poke(signal: Bits, value: Int): Unit

    Permalink
  45. def poke(signal: Bits, value: BigInt): Unit

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

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

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

    Permalink
  49. def pokeAt[TT <: Bits](data: Mem[TT], value: BigInt, off: Int): Unit

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

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

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

    Permalink
  53. val rnd: Random

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

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

    Permalink
    Definition Classes
    AnyRef
  56. def t: Long

    Permalink
  57. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped