P
parag_paul@hotmail.com
Guest
module M1;
integer a[4];
bit [31:0] b[4];
initial begin
a[0] = 1; a[1] = 2; a[2] = 3; a[3] = 4;
b = a;
end
endmodule
but the following is allowed
module M1;
int a;
bit [31:0] b;
initial begin
a[0] = 1; a[1] = 2; a[2] = 3; a[3] = 4;
b = a;
end
endmodule
Is the first error, wrong?
integer a[4];
bit [31:0] b[4];
initial begin
a[0] = 1; a[1] = 2; a[2] = 3; a[3] = 4;
b = a;
end
endmodule
but the following is allowed
module M1;
int a;
bit [31:0] b;
initial begin
a[0] = 1; a[1] = 2; a[2] = 3; a[3] = 4;
b = a;
end
endmodule
Is the first error, wrong?