Since I posted this question I found some information on multi dimensional arrays, and it seems that the declaration would go something like this: real myMultiDimArray[1:3][1:2]; However, I still wonder whether this is available for parameters in Verilog-AMS, and if so, what the syntax is to initialize the elements? Could someone please answer the question? parameter real myMultiDimArray[1:3][1:2] = ???; Thanks, Arpad ======================================================== -----Original Message----- From: owner-verilog-ams@eda.org [mailto:owner-verilog-ams@eda.org] On Behalf Of Muranyi, Arpad Sent: Friday, September 09, 2005 3:52 PM To: verilog-ams@eda.org Subject: Multi-dimensional arrays? Hello everyone, Are multi dimensional arrays possible in Verilog-AMS? The reason I am asking is because "one-dimensional array" is mentioned many times in LRM v2.2, but I can't find anything on how to declare multi-dimensional arrays. What would be the syntax for a three row, two column array? parameter real Test[1:3,1:2] = {1.1, 1.2; 2.1, 2.2; 3.1, 3.2}; Thanks, Arpad ===============================================================Received on Mon Sep 12 16:34:43 2005
This archive was generated by hypermail 2.1.8 : Mon Sep 12 2005 - 16:35:54 PDT