hassanzia
Junior Member level 3
- Joined
- Nov 24, 2011
- Messages
- 30
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1,286
- Activity points
- 1,506
Is there a difference between the following two statements?
AND
I'm just curious because declaring them together caused my code to go haywire, whilst declaring them separately solved everything!
Code:
reg [7:0] a,b [0:1023];
AND
Code:
reg [7:0] a [0:1023];
reg [7:0] b [0:1023];
I'm just curious because declaring them together caused my code to go haywire, whilst declaring them separately solved everything!