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.

Four Dimensional Array in Verilog

Status
Not open for further replies.

kumar_eee

Advanced Member level 3
Joined
Sep 22, 2004
Messages
814
Helped
139
Reputation
276
Reaction score
113
Trophy points
1,323
Location
Bangalore,India
Activity points
4,677
Can anybody explain abt Four dimesional arrays ( Verilog)?...

Eg:
reg [1023:0] abc [7:0] [7:0] 7:0] 7:0]
 

in verilog i think you can not use multi dim. array

dont forget veilog is HDL no cpu high level language such as pascal or c ....
 

Multi-dimensional arrays are fine Verilog 2001 but not Verilog 1995. However, you omitted a few characters:
reg [1023:0] abc [7:0] [7:0] [7:0] [7:0];

Two practial problems:
1. Some synthesizer tools claim Verilog 2001 compatibility but still won't accept multi-dimensional arrays.
2. Your array has 4 trillion bits. Good luck even simulating that!
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top