When doing new[SIZE]
to a dynamic array, is there a limit for the SIZE
we can use in Systemverilog?
The limit is very big.
IEEE Std 1800-2017, section 7.5.1 New[ ] states
[ expression ]:
The desired size of the dynamic array. The type of this operand is longint.
It shall be an error if the value of this operand is negative.
longint
is 64-bit signed.