summaryrefslogtreecommitdiff
path: root/src/main/scala/Chisel/testers/BasicTester.scala
diff options
context:
space:
mode:
authorchick2016-02-10 12:11:51 -0800
committerchick2016-02-10 12:11:51 -0800
commit82da362037a227a1c16eb56ead69f3f73cea6c4f (patch)
tree6166a563a19a5c136623eed56fe7aa1f665a484d /src/main/scala/Chisel/testers/BasicTester.scala
parent29dc51f8a1e1ebb3072fd6e7bd5fba7c331d029b (diff)
Added some comments describing potential use of the finish method hook
clean up the test example
Diffstat (limited to 'src/main/scala/Chisel/testers/BasicTester.scala')
-rw-r--r--src/main/scala/Chisel/testers/BasicTester.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/scala/Chisel/testers/BasicTester.scala b/src/main/scala/Chisel/testers/BasicTester.scala
index 98033486..8f4d60f4 100644
--- a/src/main/scala/Chisel/testers/BasicTester.scala
+++ b/src/main/scala/Chisel/testers/BasicTester.scala
@@ -25,5 +25,10 @@ class BasicTester extends Module {
}
}
+ /** Called this class or a subclass's constructor has finished giving
+ * developers of chisel testers a post construction hook.
+ * For example, a decoupled tester subclassing BasicTester could override finish in order to
+ * add flow control logic around loading the device under test's input io from a Vec of values
+ */
def finish(): Unit = {}
}