Article ID: 000084173 Content Type: Troubleshooting Last Reviewed: 04/03/2023

Why do I get an internal error message when compiling the PCIe design in the Platform Designer stage Assembler (Generate programming files) of the Quartus ® II software?

Environment

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

    The internal error is due to an invalid Class code value (e.g “0x01000000”), which exceed 24-bit of binary representation.
    Hence it triggers an internal error similar to the one below:

    Internal Error: Sub-system: ASMDB, File: /quartus/db/asmdb/asmdb_mux.cpp, Line: 363
    ASMDB_MUX error: ENCODED_MUX::select : index out of range (index = 16777216, size = 16777216) : last archgroup encountered: type = GX_HIP_UINT_CLASS_CODE, block_type = HSSI_PCIE_HIP
    Stack Trace:
        0x2681e: ASMDB_MUX::internal_error 0x82e (db_asmdb)
        0x26c71: ASMDB_ENCODED_MUX::select 0x61 (db_asmdb)
        0x12a3b: ASMDB_ARCH_GROUP_STD::select 0x14b (db_asmdb)
        0x19f78: ASM_ARCH_GROUP::mux_select 0xd8 (comp_asmcc)
        0x39e58: ASMGX_ARRIAV_MODEL_XNCLK_NETWK::process_end_of_phase 0x20958 (comp_asmgx)
       0x20626f: ASM_AVALON_SPACE::operator= 0x117f (comp_asm)
       0x209016: ASM_AVALON_SPACE::operator= 0x3f26 (comp_asm)
       0x20d5c3: asm_process_sof 0x1e63 (comp_asm)
       0x20dd5b: asm_assemble 0x3db (comp_asm)

        0x1264b: qexe_get_command_line 0x1c5b (comp_qexe)
        0x1588d: qexe_process_cmdline_arguments 0x5ad (comp_qexe)
        0x159a1: qexe_standard_main 0xa1 (comp_qexe)

         0x1a48: MSG_INITIALIZER::~MSG_INITIALIZER 0x118 (CCL_MSG)
         0x19ec: MSG_INITIALIZER::~MSG_INITIALIZER 0xbc (CCL_MSG)
         0x84a8: mem_purify_is_running 0x258 (ccl_mem)
        0x3379f: msg_exe_main 0x8f (CCL_MSG)

        0x1964b: BaseProcessStart 0x2b (kernel32)
    End-trace

    Resolution

    To fix the problem, input the valid value of Class code (e.g. “0x00ff0000”) that does not exceed 24 bit of binary representation for the IP Compiler for PCI Express,
    regenerate the design in the Platform Designer, and run the full compilation again.

    Related Products

    This article applies to 3 products

    Cyclone® IV GX FPGA
    Stratix® IV GX FPGA
    Arria® II GX FPGA