c

treadle.utils

VcdRunner

class VcdRunner extends AnyRef

Executes a vcd file as a script against a TreadleTester instance.

Source
VcdRunner.scala
Linear Supertypes
AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VcdRunner
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VcdRunner(tester: TreadleTester, vcd: VCD)

    tester

    the circuit to be updated

    vcd

    the vcd values to use

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkValue(wire: Wire, newValue: BigInt): Unit

    Test that a wire is set to the correct value, print if error or verbose

    Test that a wire is set to the correct value, print if error or verbose

    wire

    wire to check

    newValue

    value it should be

  6. def clearTestResults(): Unit

    Zero all test results

  7. val clockNames: Set[String]
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. val engine: ExecutionEngine
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def eventSummary(eventNumber: Int): String

    Show information about the event at the specified time index

    Show information about the event at the specified time index

    eventNumber

    the event number

  13. val events: Array[Long]
  14. var eventsRun: Long
  15. def executeEvent(eventNumber: Int): Unit

    Short cut to set next event number and run

    Short cut to set next event number and run

    eventNumber

    event number

  16. def executeNextEvent(): Unit

    Process the next event and increment the event counter

  17. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def getTestResults: String

    One line string showing results of last (or cumulative) tests

  20. def hasName(symbolName: String): Boolean

    Does the symbol name exist in the engine

    Does the symbol name exist in the engine

    symbolName

    symbol of interest

  21. def hasNextEvent: Boolean

    Are there more events to run

  22. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def indexOutOfRange(index: Int, caller: String): Boolean
  24. var inputValuesSet: Long
  25. val inputs: Set[String]
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. var justSetInputs: Boolean
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. var nextEvent: Int
  30. def nextEventHasClockUp: Boolean

    Used to determine whether the next event has a clock up transition

  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. val outputs: Set[String]
  34. def previousEvent: Int
  35. def setAllWires(eventNumber: Int): Unit

    poke every changed wire with it's new value

    poke every changed wire with it's new value

    eventNumber

    current time from VCS file.

  36. def setInitialValues(): Unit

    Set all initial values

  37. def setInputs(eventNumber: Int): Unit

    poke the top level inputs, if the input is a clock call the associated assigner so that dependent registers get flipped

    poke the top level inputs, if the input is a clock call the associated assigner so that dependent registers get flipped

    eventNumber

    current time from VCS file.

  38. def setNextEvent(eventNumber: Int): Unit

    just like it says

    just like it says

    eventNumber

    event number

  39. def setValue(wire: Wire, newValue: BigInt): Unit
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. var testAliasedWires: Boolean
  42. var testFailures: Long
  43. var testSuccesses: Long
  44. def testWires(eventNumber: Int, justOutputs: Boolean, clearResult: Boolean = true): Unit

    Test wires at specified time index, args control just outputs or all non-input wires

    Test wires at specified time index, args control just outputs or all non-input wires

    eventNumber

    time index to test

    justOutputs

    can verify outputs or all wires that are not top-level inputs

    clearResult

    repl want this to clear all the time, but can override to accumulate stats

  45. val tester: TreadleTester
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. var valuesTested: Long
  48. val vcd: VCD
  49. var verbose: Boolean
  50. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  51. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  52. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped