c

treadle2.utils

VcdRunner

class VcdRunner extends AnyRef

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

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

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(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. val engine: ExecutionEngine
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): 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. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. def getTestResults: String

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

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

  20. def hasNextEvent: Boolean

    Are there more events to run

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

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

  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  32. val outputs: Set[String]
  33. def previousEvent: Int
  34. 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.

  35. def setInitialValues(): Unit

    Set all initial values

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

  37. def setNextEvent(eventNumber: Int): Unit

    just like it says

    just like it says

    eventNumber

    event number

  38. def setValue(wire: Wire, newValue: BigInt): Unit
  39. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  40. var testAliasedWires: Boolean
  41. var testFailures: Long
  42. var testSuccesses: Long
  43. 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

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

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from AnyRef

Inherited from Any

Ungrouped