Due to a problem in the Intel® Arria® 10 Low Latency 40GBASE-KR4 logic implementation, Auto-Negotiation(AN) may fail prior to Intel Quartus® Prime softwar version 16.0 update1.
The IP core might fail AN if the master lane is selected as 0, 1, or 3, due to timing issues internal to the core.
As this problem is caused by a timing issue, simulation will work correctly.