Due to a problem with the file altpcietb_bfm_rp_gen3_x8.sv, you will see compilation errors when simulating with the Aldec Riviera Pro™ simulator.
To work around this problem, edit the file altpcietb_bfm_rp_gen3_x8.sv so that "import altera_xcvr_functions_sv_bfm::*;" is located after the module declaration, as shown below:
module sv_xcvr_plls #(
parameter plls =1, // number of PLLs
This problem is not currently scheduled to be fixed in a future Quartus® Prime Software release.