akipro
Newbie level 6
Hey, I want to input a n*m (n and m are defined) matrix in verilog (where each element is of 32 bit length), but the compiler gives an error. Is there any direct way to do so? I don't want to write n*m separate input elements.
This is what I tried:
Anything wrong here?
Thanks
This is what I tried:
Code:
input reg [31:0] matrix [0:9][0:12]
Anything wrong here?
Thanks
Last edited by a moderator: