Forum Discussion

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

Problem opening .qar archive

I have created a .qar file from a working project in 11.1, which contains an SOPC Builder project. Re-opening the .qar file in 11.1 Quartus seems OK, but whenever I try to run QSys or SOPC Builder from the tools menu, I get this error:

Error: altpll: couldn't read file "../altera_avalon_mega_common/sopc_mwizc.tcl"

(file line 2)

invoked from within

"source "../altera_avalon_mega_common/sopc_mwizc.tcl""

(file "/home/LINX_SCLR/LINX_SCLR_7_2_89_restored/altera_avalon_altpll_hw.tcl" line 57)

Any thoughts?

1 Reply

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

    Firstly, by default, qar archive command doesn't recognize all source files (or misc files) of a project : SOPC or Qsys custom component TCL, IPX, some SDC files etc...

    If you want to add a missing file to archive, you can add the following command in the qsf : set_global_assignment -name MISC_FILE <value>

    see mnl_qsf_reference documentation :

    Chapter 1: Project-Wide Assignments

    MISC_FILE

    Associates a file with this project. Files assigned to this assignment is archived by the Project Archive command if the ‘Project source and settings files’ file subset is selected.

    Secondly, beware of the fact that archive command could break the original project directory paths.