akipro
Newbie level 6
- Joined
- Mar 14, 2013
- Messages
- 12
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,281
- Activity points
- 1,361
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: