summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/VectorPacketIO.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/VectorPacketIO.scala')
-rw-r--r--src/test/scala/chiselTests/VectorPacketIO.scala5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/test/scala/chiselTests/VectorPacketIO.scala b/src/test/scala/chiselTests/VectorPacketIO.scala
index bcf59e03..ba3664a3 100644
--- a/src/test/scala/chiselTests/VectorPacketIO.scala
+++ b/src/test/scala/chiselTests/VectorPacketIO.scala
@@ -40,6 +40,11 @@ class BrokenVectorPacketModule extends Module {
val n = 4
val io = IO(new VectorPacketIO(n))
+ // Avoid a "Reference io is not fully initialized" error from firrtl.
+ for (i <- 0 until n) {
+ io.outs(i) <> io.ins(i)
+ }
+
/* the following method of initializing the circuit may change in the future */
io.ins.foreach(_.nodeq())
io.outs.foreach(_.noenq())