Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top