R
Robert Finch
Guest
Hi,
Is it possible to pass an array to a module in Verilog ? If so How ? I tried
this:
module arrayTest(s, a, o);
input [2:0] s;
input [3:0] a [4:0]; // this line cause the synthesizer to
croak with an error 'expecting ; not [ '
output [3:0] o;
assign o = a;
endmodule
Thanks,
Rob
Is it possible to pass an array to a module in Verilog ? If so How ? I tried
this:
module arrayTest(s, a, o);
input [2:0] s;
input [3:0] a [4:0]; // this line cause the synthesizer to
croak with an error 'expecting ; not [ '
output [3:0] o;
assign o = a
endmodule
Thanks,
Rob