To workaround this problem, use the same widths for both ports.
This problem is fixed starting with the Intel Quartus Prime Standard Edition Software version 18.1