> for i=0,i++
> a(i)=signal,
> end
You don't state what type signal is, but if you put signal inside a for
loop and wire the value out, it will auto-accumulate into an array at
the edge. Wire up N and you are finished.
In the case where signal is an array, the default behavior is to build
an array of one higher dimension -- a 2D array. This is normally fine,
but when you don't want this, wire to a bundle first, then to the edge
of the loop.
Greg McKaskle