How to initialize a 2 dimensional arry

Status
Not open for further replies.

kakarala

Member level 1
Joined
Jun 22, 2010
Messages
40
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Activity points
1,801
Hi

Can anyone tell me how to initialize a 2D array ?
for 1D array we use
signal x : arraytype(0 to 7) := (1 2 3 4 5 6 7 8);
 

( array1, array2, ... arrayN);
which can break down to ( (a0, a1, ... an), (b0, b1, ... bn), ... (z0, z1, ... zn) );

the same works for arrays of record types: ( record1, record2, ... recordN)
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…