Article ID: 000077299 Content Type: Troubleshooting Last Reviewed: 02/18/2015

ALOG: Error: VCP2964: Parameter initializer must be a constant: altera_xcvr_functions_sv_bfm::get_value_at_index(ig,reference_clock_select)

Environment

  • Quartus® II Subscription Edition
  • Simulation
  • BUILT IN - ARTICLE INTRO SECOND COMPONENT
    Description

    In the file altpcietb_bfm_rp_gen3_x8.sv there is a problem in how certain import statements are included within the module declarations.

    Resolution

    To work around this problem, move the "import altera_xcvr_functions_sv_bfm::*; " after the module declaration, for example.

    module sv_xcvr_plls #(
      parameter plls                                  = 1,        // number of PLLs

    ...

    );
    import altera_xcvr_functions_sv_bfm::*;

    Further, move any *ncrypt files above the atom file of the same name as shown below:

    vlog  \" incdir /ep_g3x1_tb/simulation/submodules/\" "/ep_g3x1_tb/simulation/submodules/aldec/stratixv_pcie_hip_atoms_ncrypt.v" -work DUT_pcie_tb
    vlog  \" incdir /ep_g3x1_tb/simulation/submodules/\" "/ep_g3x1_tb/simulation/submodules/stratixv_hssi_atoms.v" -work DUT_pcie_tb

    Related Products

    This article applies to 3 products

    Intel® Arria® 10 SX SoC FPGA
    Intel® Arria® 10 GX FPGA
    Intel® Arria® 10 GT FPGA