Do not support array of gates with global reference signals
jimmysitu opened this issue · 0 comments
jimmysitu commented
CVC cannot compile this code correctly
module arraybuf();
buf #(2) arrbuf2[31:0] (outmod.outout[31:0], inmod.inin[31:0]);
endmodule
module outmod();
wire [31:0] outout;
endmodule
module inmod();
wire [31:0] inin;
endmodule
It will report
arraybuf.v(2) ERROR [698] arrayed buf gate arrbuf2 terminal 1 connection width 32 illegal - must be 1 or 32
arraybuf.v(2) ERROR [698] arrayed buf gate arrbuf2 terminal 2 connection width 32 illegal - must be 1 or 32
There is a FIXME in v_fx2.c which I do not know how to fix it, hope anyone see this may help me fix it
Thanks.