Class

treadle.utils

VcdRunner

Related Doc: package utils

Permalink

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)

    Permalink

    tester

    the circuit to be updated

    vcd

    the vcd values to use

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkValue(wire: Wire, newValue: BigInt): Unit

    Permalink

    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

    Permalink

    Zero all test results

  7. val clockNames: Set[String]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val engine: ExecutionEngine

    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 eventSummary(eventNumber: Int): String

    Permalink

    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]

    Permalink
  14. var eventsRun: Long

    Permalink
  15. def executeEvent(eventNumber: Int): Unit

    Permalink

    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

    Permalink

    Process the next event and increment the event counter

  17. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getTestResults: String

    Permalink

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

  20. def hasName(symbolName: String): Boolean

    Permalink

    Does the symbol name exist in the engine

    Does the symbol name exist in the engine

    symbolName

    symbol of interest

  21. def hasNextEvent: Boolean

    Permalink

    Are there more events to run

  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. def indexOutOfRange(index: Int, caller: String): Boolean

    Permalink
  24. var inputValuesSet: Long

    Permalink
  25. val inputs: Set[String]

    Permalink
  26. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  27. var justSetInputs: Boolean

    Permalink
  28. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  29. var nextEvent: Int

    Permalink
  30. def nextEventHasClockUp: Boolean

    Permalink

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

  31. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  33. val outputs: Set[String]

    Permalink
  34. def previousEvent: Int

    Permalink
  35. def setAllWires(eventNumber: Int): Unit

    Permalink

    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

    Permalink

    Set all initial values

  37. def setInputs(eventNumber: Int): Unit

    Permalink

    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

    Permalink

    just like it says

    just like it says

    eventNumber

    event number

  39. def setValue(wire: Wire, newValue: BigInt): Unit

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

    Permalink
    Definition Classes
    AnyRef
  41. var testAliasedWires: Boolean

    Permalink
  42. var testFailures: Long

    Permalink
  43. var testSuccesses: Long

    Permalink
  44. def testWires(eventNumber: Int, justOutputs: Boolean, clearResult: Boolean = true): Unit

    Permalink

    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

    Permalink

    the circuit to be updated

  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. var valuesTested: Long

    Permalink
  48. val vcd: VCD

    Permalink

    the vcd values to use

  49. var verbose: Boolean

    Permalink
  50. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped