Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

HPS+PCIe project(Quartus II 13.1 64 bit),compile design--Assembler error

Info: *******************************************************************

Info: Running Quartus II 64-Bit Assembler

Info: Version 13.1.0 Build 162 10/23/2013 SJ Full Version

Info: Processing started: Thu Jan 09 10:46:06 2014

Info: Command: quartus_asm --read_settings_files=off --write_settings_files=off kz -c kz

Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

Info (115030): Assembler is generating device programming files

Error (210006): Can't save or open file D:/work/altera_pcie_hip_ast_ed/kz_cv/db/ip/pcie_de_gen1_x4_ast64_hps/submodules/sequencer/alt_types.pre.h

Error: Quartus II 64-Bit Assembler was unsuccessful. 1 error, 4 warnings

Error: Peak virtual memory: 706 megabytes

Error: Processing ended: Thu Jan 09 10:46:25 2014

Error: Elapsed time: 00:00:19

Error: Total CPU time (on all processors): 00:00:18

Error (293001): Quartus II Full Compilation was unsuccessful. 3 errors, 791 warnings

screenshots:

http://www.alteraforum.com.cn/attachment.aspx?attachmentid=1377

http://www.alteraforum.com.cn/attachment.aspx?attachmentid=1378

The alt_types.pre.h file is exist.

Anyone any suggestions on how to solve the problem ?

Thanks

PS:

alt_types.pre.h file;

#ifndef __alt_types_h__

#define __alt_types_h__

/*

* don't declare these typedefs if this file is included by assembly source.

*/

#ifndef alt_asm_src

typedef signed char alt_8;

typedef unsigned char alt_u8;

typedef signed short alt_16;

typedef unsigned short alt_u16;

typedef signed long alt_32;

typedef unsigned long alt_u32;

typedef long long alt_64;

typedef unsigned long long alt_u64;

#endif

#define alt_inline __inline__

#define alt_always_inline __attribute__ ((always_inline))

#define alt_weak __attribute__((weak))

#endif /* __alt_types_h__ */

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    Did you get a resolution to this problem? I'm getting the same problem on 13.1.0 Build 162 Full Version

    Thanks,

    Dave
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Found the issue - in the Project... Settings... Libraries the paths need to be added (they were automatically filled in in one of my projects, but not on the other) - not sure which one is needed (or maybe both) for the Project\db... and Project\QSysProject\synthesis...

    c:\projects\dvlc5\fpga\db\ip\qsyscoresystem

    c:\projects\dvlc5\fpga\db\ip\qsyscoresystem\submodules

    c:\projects\dvlc5\fpga\db\ip\qsyscoresystem\submodules\sequencer

    c:\projects\dvlc5\fpga\qsyscoresystem\synthesis

    c:\projects\dvlc5\fpga\qsyscoresystem\synthesis\submodules

    c:\projects\dvlc5\fpga\qsyscoresystem\synthesis\submodules\sequencer
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Info: *******************************************************************

    Info: Running Quartus II 64-Bit Assembler

    Info: Version 13.1.0 Build 162 10/23/2013 SJ Full Version

    Info: Processing started: Thu Jan 09 10:46:06 2014

    Info: Command: quartus_asm --read_settings_files=off --write_settings_files=off kz -c kz

    Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

    Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

    Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

    Warning (15104): Quartus II software detected a bonding design. Reconfiguration is not supported for Bonded designs and MIF is not created for this design.

    Info (115030): Assembler is generating device programming files

    Error (210006): Can't save or open file D:/work/altera_pcie_hip_ast_ed/kz_cv/db/ip/pcie_de_gen1_x4_ast64_hps/submodules/sequencer/alt_types.pre.h

    Error: Quartus II 64-Bit Assembler was unsuccessful. 1 error, 4 warnings

    Error: Peak virtual memory: 706 megabytes

    Error: Processing ended: Thu Jan 09 10:46:25 2014

    Error: Elapsed time: 00:00:19

    Error: Total CPU time (on all processors): 00:00:18

    Error (293001): Quartus II Full Compilation was unsuccessful. 3 errors, 791 warnings

    screenshots:

    http://www.alteraforum.com.cn/attachment.aspx?attachmentid=1377

    http://www.alteraforum.com.cn/attachment.aspx?attachmentid=1378

    The alt_types.pre.h file is exist.

    Anyone any suggestions on how to solve the problem ?

    Thanks

    PS:

    alt_types.pre.h file;

    #ifndef __alt_types_h__

    #define __alt_types_h__

    /*

    * don't declare these typedefs if this file is included by assembly source.

    */

    #ifndef alt_asm_src

    typedef signed char alt_8;

    typedef unsigned char alt_u8;

    typedef signed short alt_16;

    typedef unsigned short alt_u16;

    typedef signed long alt_32;

    typedef unsigned long alt_u32;

    typedef long long alt_64;

    typedef unsigned long long alt_u64;

    #endif

    #define alt_inline __inline__

    #define alt_always_inline __attribute__ ((always_inline))

    #define alt_weak __attribute__((weak))

    #endif /* __alt_types_h__ */

    --- Quote End ---

    The issue for me at least is that I was using the *.qsys file in my file list. Apparently you should instead use the *.qjp file from within the generated system hierarchy in the synthesis directory: pcie_de_gen1_x4_ast64_hps/synthesis/pcie_de_gen1_x4_ast64_hps.qjp