xls icon indicating copy to clipboard operation
xls copied to clipboard

Modify syntax for arrays of channels

Open RobSpringer opened this issue 2 years ago • 0 comments

Right now, an array of channels is declared as: chan[COLS][ROWS] F32; and one side of a channel is declared (as a proc member) as: zeroes_out: chan out[COLS] F32;

It may be nicer to have channels as always parameterized entities so we could instead do declarations as: chan<F32>[COLS][ROWS] and as a proc member: zeroes_out: chan<F32>[COLS];

That way we can get rid of the somewhat awkward positioning of arrayness vis-a-vis the in/out qualifiers.

RobSpringer avatar Apr 27 '22 03:04 RobSpringer