class VcdRunner extends AnyRef
Executes a vcd file as a script against a TreadleTester instance.
- Source
- VcdRunner.scala
- Alphabetic
- By Inheritance
- VcdRunner
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
VcdRunner(tester: TreadleTester, vcd: VCD)
- tester
the circuit to be updated
- vcd
the vcd values to use
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
-
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
-
def
clearTestResults(): Unit
Zero all test results
- val clockNames: Set[String]
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val engine: ExecutionEngine
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
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
- val events: Array[Long]
- var eventsRun: Long
-
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
-
def
executeNextEvent(): Unit
Process the next event and increment the event counter
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getTestResults: String
One line string showing results of last (or cumulative) tests
-
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
-
def
hasNextEvent: Boolean
Are there more events to run
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def indexOutOfRange(index: Int, caller: String): Boolean
- var inputValuesSet: Long
- val inputs: Set[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var justSetInputs: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- var nextEvent: Int
-
def
nextEventHasClockUp: Boolean
Used to determine whether the next event has a clock up transition
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val outputs: Set[String]
- def previousEvent: Int
-
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.
-
def
setInitialValues(): Unit
Set all initial values
-
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.
-
def
setNextEvent(eventNumber: Int): Unit
just like it says
just like it says
- eventNumber
event number
- def setValue(wire: Wire, newValue: BigInt): Unit
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- var testAliasedWires: Boolean
- var testFailures: Long
- var testSuccesses: Long
-
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
- val tester: TreadleTester
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- var valuesTested: Long
- val vcd: VCD
- var verbose: Boolean
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )