Я пробовал использовать следующий код:
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]'.