summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/ModuleExplicitResetSpec.scala
diff options
context:
space:
mode:
authorSchuyler Eldridge2020-06-22 20:34:46 -0400
committerGitHub2020-06-22 20:34:46 -0400
commit9f44b593efe4830aeb56d17f5ed59277a74832f8 (patch)
treeac43010dd7fc2a14303497f95e12f2a40bb16d0e /src/test/scala/chiselTests/ModuleExplicitResetSpec.scala
parentd099d01ae6b11d8befdf7b32ab74c3167a552984 (diff)
parentb5e59895e13550006fd8e951b7e9483de00f82dd (diff)
Merge pull request #1481 from freechipsproject/driver-deprecations
Remove Deprecated Usages of chisel3.Driver, CircuitForm
Diffstat (limited to 'src/test/scala/chiselTests/ModuleExplicitResetSpec.scala')
-rw-r--r--src/test/scala/chiselTests/ModuleExplicitResetSpec.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/ModuleExplicitResetSpec.scala b/src/test/scala/chiselTests/ModuleExplicitResetSpec.scala
index af2db95f..184c2bff 100644
--- a/src/test/scala/chiselTests/ModuleExplicitResetSpec.scala
+++ b/src/test/scala/chiselTests/ModuleExplicitResetSpec.scala
@@ -2,6 +2,8 @@
package chiselTests
+import chisel3.stage.ChiselStage
+
class ModuleExplicitResetSpec extends ChiselFlatSpec {
"A Module with an explicit reset in compatibility mode" should "elaborate" in {
@@ -15,7 +17,7 @@ class ModuleExplicitResetSpec extends ChiselFlatSpec {
io.done := false.B
}
- elaborate {
+ ChiselStage.elaborate {
new ModuleExplicitReset(myReset)
}
}