I found the similar example in https://github.com/ucb-bar/chisel-tutorial/blob/release/src/main/scala/examples/Adder.scala.
However, I am still confused with using Array or Vec method and do not clearly understand the comments from line 15 ~ line 18.
Could anyone explain it more detail? If I want to create array of module, when to use Array and Vec in proper way?