value length 4 does not match target length 3
bounds36.vhd
    |
 16 |         (i1, y) := x(4 downto i1);                -- Error
    |                    ^^^^^^^^^^^^^^
