I am trying to understand multidimensional arrays such as this
reg [7:0][3:0] array[2][2]
- what does reg [7:0][3:0] mean?
- how do I access elements in the array, does this work array[0][0] = '{8’h4,4’h2};array[0][1] = '{8’h5,4’h3}
- how do I iterate through the elements using foreach loop, what’s the exact syntax. if someone can provide me a working code that would be great Thanks