I'm trying to create a two dimensional array in that form:
reg arr[5:0][0:5];
and when I try to assign a value to it lets say
assign arr[1] = 22;
it gives some errors saying that:
"Reference to scalar reg array 'arr' is not a legal net lvalue" and "Illegal left hand side of continuous assign".
So my intention is to assign a number in the index of the array. How does this assignment work? Any help, suggestion would be highly appreciated.