How to pass array wires from the design which will be by reference and not static?

In reply to gabi0307:

I don’t know what you mean by /* all the arguments */. Didn’t you want to pass design_array1 by reference?

It would help to show a minimal compete example of what you are trying to accomplish.