summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/MultiClockSpec.scala
diff options
context:
space:
mode:
authorJack Koenig2018-12-04 13:53:36 -0800
committerGitHub2018-12-04 13:53:36 -0800
commit83f2a65a3ab1d21258883c0b113406ef9900a57f (patch)
treec21edf9bc9c5f2f42ec5716a829145024bb82862 /src/test/scala/chiselTests/MultiClockSpec.scala
parentab951049c2c60402e2318ba863520d4a16c8288d (diff)
parent3db21bd8e5a32c29efa55494d180dac4d22589e5 (diff)
Merge pull request #950 from freechipsproject/as-bools
asBools, asBool, and chained apply on asBools
Diffstat (limited to 'src/test/scala/chiselTests/MultiClockSpec.scala')
-rw-r--r--src/test/scala/chiselTests/MultiClockSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/MultiClockSpec.scala b/src/test/scala/chiselTests/MultiClockSpec.scala
index 778806e3..88856009 100644
--- a/src/test/scala/chiselTests/MultiClockSpec.scala
+++ b/src/test/scala/chiselTests/MultiClockSpec.scala
@@ -55,7 +55,7 @@ class MultiClockSubModuleTest extends BasicTester {
/** Test withReset changing the reset of a Reg */
class WithResetTest extends BasicTester {
val reset2 = WireInit(false.B)
- val reg = withReset(reset2 || reset.toBool) { RegInit(0.U(8.W)) }
+ val reg = withReset(reset2 || reset.asBool) { RegInit(0.U(8.W)) }
reg := reg + 1.U
val (cycle, done) = Counter(true.B, 10)