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

Best practice to generate and compress a pof file?

alexislms
Valued Contributor I
2,220 Views

I have few questions.

 

1. I generated a .pfg file from the GUI

* How can I generate the command line from it?

* How can I see the command quartus runs? I'd like to keep only the command line instead of the hard-coded file.

2. How can I generate the .pof file from Quartus via TCL?

3. The file is pretty big (256MB for a CFI_2Gb), is there a builtin and native way to compress it (and uncompressed automatically by quartus_pgm)?

Simply by using gzip, the file is reduced to 1.8MB from 256MB...

 

Agilex I-series devkit A0, Quartus Prime Pro 22.2, Linux

 

Thanks.

0 Kudos
13 Replies
Farabi
Employee
2,203 Views

Hello,


There is compression option when you generate the programming file.

link : https://www.intel.com/content/www/us/en/docs/programmable/683039/21-3/compression-and-encryption-settings.html


regards,

Farabi


0 Kudos
alexislms
Valued Contributor I
2,198 Views
Please read again my questions.
Your reply answers none.
0 Kudos
NurAiman_M_Intel
Employee
2,164 Views

Hi,


  1. I am checking this internally.
  2. For TCL scripting, kindly refer here, https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/manual/tclscriptrefmnl.pdf
  3. Farabi has share with you the link on how to compress when generation programming file, why is that not answering your question? Please clarify.

Regards,

Aiman


0 Kudos
alexislms
Valued Contributor I
2,162 Views

Aiman,

 

1. Thank you, looking forward to your reply

2. Your link is a 10 years old pdf, please provide the name, version and release of a document instead of a link that is gonna be broken.

Also, I didn't find the way of doing it from TCL (Xilinx/AMD's workflow), only from a shell.

3. All my questions are related to a POF file, not a SOF file. Compressing the SOF file doesn't compress the POF file generated with quartus_pfg.

 

Regards,

0 Kudos
NurAiman_M_Intel
Employee
2,126 Views

Hi,


  1. Kindly refer below for your 1st question;

https://www.intel.com/content/www/us/en/docs/programmable/683039/21-3/quartus-pfg-command-line-tool.html


2.https://www.intel.com/programmable/technical-pdfs/654662.pdf (page 48) -Link to TCL scripting


3.You can compressed the .pof by using convert programming file in quartus. Please refer picture attached.


Regards,

Aiman


0 Kudos
alexislms
Valued Contributor I
2,099 Views

I can't use the Convert Programming file.

 

Error(20687): Convert Programming Files does not support the target device agib027r29a1e2vr0. Please use Programming File Generator to generate the programming file for the target device. 

alexislms_0-1667907841669.png

 

How can I enable pof compression with quartus_pfg not quartus_cpf?

 

0 Kudos
alexislms
Valued Contributor I
2,076 Views
0 Kudos
NurAiman_M_Intel
Employee
2,035 Views

Hi,


Sorry about that. For Agilex, you need to use programming file generator in quartus.


0 Kudos
alexislms
Valued Contributor I
2,031 Views

Thanks for the waste of time.

Coming back to my question?

0 Kudos
NurAiman_M_Intel
Employee
2,030 Views

Hi,


For TCL,


The link you shared was correct, however

As I mention, you need to use quartus TCL package that was shared in below link

2.https://www.intel.com/programmable/technical-pdfs/654662.pdf (page 48) -Link to TCL scripting


This is how you can generate the file.


0 Kudos
NurAiman_M_Intel
Employee
2,026 Views

Hi,


In Agilex userguide mention that


"To reduce configuration file size and support smaller memory sizes, and enable faster configuration, the Intel Quartus Prime software compresses the configuration data. All Intel Agilex devices compress the configuration bitstream. This feature is always enabled. "


Hence the file is already compressed. Except for .sof file, you can manually compress it in Quartus.


Regards,

Aiman


0 Kudos
alexislms
Valued Contributor I
2,018 Views

It's amazing what the user-guide mentions, but it isn't the case.

Please read again my original question point 3.

 

Maybe you can verify by yourself by taking an Agilex I-series example design and generate the pof file?!

And then provide a fix for this always enabled non-working feature.

0 Kudos
Reply