If an input parameter to a Verilog function is integer "lg" then can the function return an array of integers indexed from one to (lg)? Perhaps more to the point, if I get value (lg) as a value returned from a function, can I then declare "integer[1..lg] someArray"?
Re: Can a Verilog function return an array indexed from one to a value passed as an input parameter?
No.
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.