Thank you all for answering this question for me. Unfortunately this was the answer I suspected. I would like to make a request that this capability be added. A function that is written to process arrays is not very useful if the arrays it can take as input (or return as output) must be a predetermined fixed size. (This is assuming that Marq's previous reply was correct in saying that arrays can be passed at all). What is the procedure for submitting requests? Can I (an observer) enter items in Mantis, or does it have to be done by one of the "officials"? Thanks, Arpad ====================================================== ________________________________ From: owner-verilog-ams@eda.org [mailto:owner-verilog-ams@eda.org] On Behalf Of Marq Kole Sent: Friday, September 16, 2005 12:28 AM To: verilog-ams Subject: Re: Analog function question Oops, need to correct a small mistake below: ... ... > > analog function real myFunctionName; > > input in1; > > real in1[1:5]; <--------- How would I know the size? > ... ... I mean an argument-controlled size given the fact that you cannot set a parameter value from the outside. So a call: myArrayFunction(myArraySize, myArray); Where myArraySize argument carries the length of the myArray argument cannot be handled in current Verilog-AMS. ... ... > Marq Kole > Competence Leader Analog Simulation, Philips ED&TReceived on Fri Sep 16 08:41:19 2005
This archive was generated by hypermail 2.1.8 : Fri Sep 16 2005 - 08:42:14 PDT