Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
17252 Discussions

encrypted+compressed .tff with quartus_cpf command line

Altera_Forum
Honored Contributor II
1,826 Views

Context : 

Device Stratix3 - EP3SL200F1517 (+encryption) 

QuartusII 9.2 

Convert Programming File - graphic interface  

 

I need to generate an encryted+compressed .ttf file with the command line "quartus_cpf", instead of using Convert Programming File graphical interface. 

 

I use the following command : 

 

quartus_cpf -c --option=<option file> --key <keyfile>:<keyid1>:<keyid2> <input_sof_file> <output_ttf_file> 

 

with option file contenu : compression=on 

 

The .ttf is generated, functionnal (and well encrypted) :) , but NOT compressed :mad: . 

 

I have tried also this syntax (same resuts) : 

 

quartus_cpf -c --key <keyfile>:<keyid1>:<keyid2> <input_sof_file> <output_ttf_file> -o <option file> 

 

Rq : the option file (.txt file) is recognized (because error if renamed or suppressed), but the contenu seems to be ignored (no error if contenu = "compresion=on" or "toto") :cool: . 

 

The encryption+compression is correctly done using Convert Programming File :) , but we really need to do it in command line... 

 

Thanks for your help. 

 

Catherine
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
982 Views

I got the same issue here using quartus_cpf 9.0 on Linux RedHat. In my case, I need to generate a *.rbf file but it looks like the same problem with your *.ttf file. 

 

In the option file, the required setting is : 

 

BITSTREAM_COMPRESSION=ON 

 

not COMPRESSION=ON as stated in the documentation. 

 

Also, I need to append a carriage return character (Linux LF) after the string else the option is simply (and silently) ignored from quartus_cpf. 

 

 

François
0 Kudos
Reply