Is it possible to take array inputs in module terminal list?
Yes you can as long as you use the I1[0:3], I2[0:3], I3[0:3], I4[0:3], in the correct order as will be specified or else you'll get wrong answer at the output.