Due to a problem with the Intel® Quartus® Prime software version 17.1, the altera_global component entity alias in VDHL is not mapped to the correct VHDL altera_global entity.
In the PCIe* top-level VHDL instantiation file, for example pcie_pcie_a10_hip_0.vhd, comment out these two lines of VHDL code. Then re-run the implementation.
for pcie_a10_hip_0 : pcie_pcie_a10_hip_0_altera_pcie_a10_hip_171_<random string>_cmp
use entity altera_pcie_a10_hip_171.pcie_pcie_a10_hip_0_altera_pcie_a10_hip_171_<same random string>;
This problem is scheduled to be fixed in a future Intel® Quartus® Prime software release.