From 6183533596a1706c65cb20d07a9d42eadac32df2 Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Tue, 26 Apr 2016 13:37:39 -0700 Subject: Replace deprecated usage in tests. Issue #149 --- src/test/scala/chiselTests/BundleWire.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/scala/chiselTests/BundleWire.scala') diff --git a/src/test/scala/chiselTests/BundleWire.scala b/src/test/scala/chiselTests/BundleWire.scala index bef56a56..d2e42fa9 100644 --- a/src/test/scala/chiselTests/BundleWire.scala +++ b/src/test/scala/chiselTests/BundleWire.scala @@ -14,9 +14,9 @@ class Coord extends Bundle { class BundleWire(n: Int) extends Module { val io = new Bundle { val in = (new Coord).asInput - val outs = Vec(new Coord, n).asOutput + val outs = Vec(n, new Coord).asOutput } - val coords = Wire(Vec(new Coord, n)) + val coords = Wire(Vec(n, new Coord)) for (i <- 0 until n) { coords(i) := io.in io.outs(i) := coords(i) -- cgit v1.2.3