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/
- Alphabetic
- By Inheritance
- PeekPokeTester
- LazyLogging
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PeekPokeTester(dut: T)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val backend: SimulatorContext
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- val dataNames: Map[Data, String]
- val dut: T
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- 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.
- def expect(signal: Aggregate, expected: IndexedSeq[BigInt]): Boolean
- def expect[E <: Element](signal: E, expected: Int, msg: => String)(implicit arg0: Pokeable[E]): Boolean
- def expect[E <: Element](signal: E, expected: BigInt, msg: => String = "")(implicit arg0: Pokeable[E]): Boolean
- def expect(good: Boolean, msg: => String): Boolean
- def fail(): Unit
- def finish: Unit
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getLogger: Logger
- Definition Classes
- LazyLogging
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def incTime(n: Int): Unit
- Attributes
- protected[iotesters]
- implicit def int[E <: Element](x: E)(implicit arg0: Pokeable[E]): BigInt
Convert Pokeables to BigInt
- implicit def int(x: Boolean): BigInt
Convert a Boolean to BigInt
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val logger: Logger
- Attributes
- protected
- Definition Classes
- LazyLogging
- implicit def longToInt(x: Long): Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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.
- def peek(signal: Aggregate): Seq[BigInt]
- def peek[E <: Element](signal: E)(implicit arg0: Pokeable[E]): BigInt
- def peek(path: String): BigInt
- def peekAt[E <: Element](data: MemBase[E], off: Int)(implicit arg0: Pokeable[E]): BigInt
- def poke(signal: Aggregate, value: IndexedSeq[BigInt]): Unit
- 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
- def poke[E <: Element](signal: E, value: Long)(implicit arg0: Pokeable[E]): Unit
- def poke[E <: Element](signal: E, value: Int)(implicit arg0: Pokeable[E]): Unit
- def poke[T <: Element](signal: T, value: BigInt)(implicit arg0: Pokeable[T]): Unit
- def poke(path: String, value: Long): Unit
- def poke(path: String, value: Int): Unit
- def poke(path: String, value: BigInt): Unit
- def pokeAt[E <: Element](data: MemBase[E], value: BigInt, off: Int)(implicit arg0: Pokeable[E]): Unit
- def println(msg: String = ""): Unit
- def reset(n: Int = 1): Unit
- def step(n: Int): Unit
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def t: Long
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)