Due to a problem in the Intel® Quartus® Prime Software version 17.0, you may see this error when compiling a VHDL testbench for the Intel PCIe* Hard IP.
This error does not indicate a real problem and can be ignored.
To work around this problem, add the compile option below, to the vsim command line in the script you are using (e.g. msim_setup.tcl):
Doing so will reduce the error to a warning, allowing the compile to proceed.
This problem is fixed in the Quartus Prime software version 17.0.1.