summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/BundleWire.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/BundleWire.scala')
-rw-r--r--src/test/scala/chiselTests/BundleWire.scala8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/scala/chiselTests/BundleWire.scala b/src/test/scala/chiselTests/BundleWire.scala
index 3d3d58f3..0071041c 100644
--- a/src/test/scala/chiselTests/BundleWire.scala
+++ b/src/test/scala/chiselTests/BundleWire.scala
@@ -25,11 +25,11 @@ class BundleWire(n: Int) extends Module {
class BundleWireTester(n: Int, x: Int, y: Int) extends BasicTester {
val dut = Module(new BundleWire(n))
- dut.io.in.x := UInt.Lit(x)
- dut.io.in.y := UInt.Lit(y)
+ dut.io.in.x := UInt(x)
+ dut.io.in.y := UInt(y)
for (elt <- dut.io.outs) {
- assert(elt.x === UInt.Lit(x))
- assert(elt.y === UInt.Lit(y))
+ assert(elt.x === UInt(x))
+ assert(elt.y === UInt(y))
}
stop()
}