Due to a problem in the Intel® Quartus® Prime Pro Edition Software version 21.1 and earlier, the rx_lanes_aligned signal was not synced to usr_clk before exiting to the intellectual property (IP) core. This can cause metastability at the user logic if it is not synchronized by the user. The metastable issue can propagate to the user logic even if the change of aligned is not frequent.
To work around this, Intel recommends adding a synchronizer to the rx_lanes_aligned signal onto the usr_clk domain.
This problem is fixed starting with the Intel® Quartus® Prime Pro Edition Software version 22.3.