summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/scala/chisel3/testers/BasicTester.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/scala/chisel3/testers/BasicTester.scala b/src/main/scala/chisel3/testers/BasicTester.scala
index 7bb441ba..1f988a3b 100644
--- a/src/main/scala/chisel3/testers/BasicTester.scala
+++ b/src/main/scala/chisel3/testers/BasicTester.scala
@@ -26,7 +26,7 @@ class BasicTester extends Module() {
def stop()(implicit sourceInfo: SourceInfo) {
// TODO: rewrite this using library-style SourceInfo passing.
when (!reset.toBool) {
- pushCommand(Stop(sourceInfo, Node(clock), 0))
+ pushCommand(Stop(sourceInfo, clock.ref, 0))
}
}