The resize functions are used to convert a fixed-sized signed or unsigned array to a new (larger or smaller) size. If the resulting array is larger than the input array, the result is padded with ‘0’s. In the case of a signed array, the sign bit is extended to the least significant bit.

 

    function resize (ARG: signed; NEW_SIZE: natural) return signed;

    function resize (ARG: unsigned; NEW_SIZE: natural) return unsigned;