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

How to archive Quartus Project using commands promt (inside and outside of Quartus)?

Altera_Forum
Honored Contributor II
1,316 Views

Hi All,  

 

1) How can I archive the Quartus Project from commands prompt?  

 

2) How can I archive the Quartus Project externally (not from Quartus)? Let's say from a linux shell or using windows's *.bat file?  

 

Thank you!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
506 Views

1) Refer to the "quartus ii scripting reference manual (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/manual/tclscriptrefmnl.pdf)". 

 

2) Use 'quartus_cdb' with the --hc_archive option. 

 

Cheers, 

Alex
0 Kudos
Altera_Forum
Honored Contributor II
506 Views

When running the "quartus_cdb amp --hc_archive", I'm receiving the following error message: 

------------------------------------------------------------------------------------------ 

Info: Command: quartus_cdb amp --hc_archive 

Error (39003): Run Analysis and Synthesis (quartus_map) with revision "amp" for 

--rev option before running Compiler Database Interface (quartus_cdb) 

Error: Quartus Prime Compiler Database Interface was unsuccessful. 1 error, 0 warnings 

------------------------------------------------------------------------------------------ 

 

So, what's the whole flow? Should I always run the quartus_map command before the quartus_cdb even the project was compiler, synthesized and mapped from the GUI?
0 Kudos
Altera_Forum
Honored Contributor II
506 Views

Try: 

quartus_cdb amp --hc_archive=my_archive 

It should work with a project already compiled with the GUI. 

 

Cheers, 

Alex
0 Kudos
Reply