summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/BundleWire.scala
diff options
context:
space:
mode:
authorJim Lawson2016-04-26 13:37:39 -0700
committerJim Lawson2016-04-26 13:37:39 -0700
commit6183533596a1706c65cb20d07a9d42eadac32df2 (patch)
tree18a215bf0b19b50d8de8cbaa815f9918d4c7b0b8 /src/test/scala/chiselTests/BundleWire.scala
parent09958f63470697188e1ed1a01c7ea39b8c56e7ef (diff)
Replace deprecated usage in tests. Issue #149
Diffstat (limited to 'src/test/scala/chiselTests/BundleWire.scala')
-rw-r--r--src/test/scala/chiselTests/BundleWire.scala4
1 files changed, 2 insertions, 2 deletions
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)