私は以下のコードで試しました:
module try;
int a[8];
initial
begin
a = 8'hCC;
$display(a);
end
endmodule
これは次のようなエラーを出しています:
Incompatible complex type assignment
Type of source expression is incompatible with type of target expression.
Mismatching types cannot be used in assignments, initializations and
instantiations. The type of the target is 'bit$[0:7]', while the type of the
source is 'bit[7:0]'.