diff options
Diffstat (limited to 'src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala')
| -rw-r--r-- | src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala b/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala index 52ca418a..43f2b0fd 100644 --- a/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala +++ b/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala @@ -22,9 +22,9 @@ class MissingCloneBindingExceptionSpec extends ChiselFlatSpec with Matchers { class TestTop extends Module { val io = IO(new Bundle {}) - val subs = Vec.fill(2) { + val subs = VecInit(Seq.fill(2) { Module(new Test).io - } + }) } elaborate(new TestTop) |
