Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21589 Discussions

Problem opening .qar archive

Altera_Forum
Honored Contributor II
1,477 Views

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?
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
593 Views

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.
0 Kudos
Reply