summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/Direction.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/Direction.scala')
-rw-r--r--src/test/scala/chiselTests/Direction.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/Direction.scala b/src/test/scala/chiselTests/Direction.scala
index 2fe31475..83484a64 100644
--- a/src/test/scala/chiselTests/Direction.scala
+++ b/src/test/scala/chiselTests/Direction.scala
@@ -15,11 +15,11 @@ class DirectionHaver extends Module {
}
class GoodDirection extends DirectionHaver {
- io.out := UInt.Lit(0)
+ io.out := UInt(0)
}
class BadDirection extends DirectionHaver {
- io.in := UInt.Lit(0)
+ io.in := UInt(0)
}
class DirectionSpec extends ChiselPropSpec with ShouldMatchers {