[an error occurred while processing this directive]
|
module hdl7(
LED1
);
output LED1;
reg LED1;
foo FOO(.out1(o));
always @(posedge CLK)
if(o[1] == 0) LED1 = o[0];
endmodule
module foo(output wire [1:0] out1);
assign out1 = {1,1};
endmodule
----quartus:
Error: Verilog HDL error at hdl7.v(74): index 1 cannot be outside range (0 to 0) of array o
Error: Can't elaborate user hierarchy
E-mail: info@telesys.ru