Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
公告
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17267 讨论

Best practice to generate and compress a pof file?

alexislms
重要分销商 I
3,148 次查看

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 项奖励
13 回复数
Farabi
员工
3,131 次查看

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 项奖励
alexislms
重要分销商 I
3,126 次查看
Please read again my questions.
Your reply answers none.
0 项奖励
NurAiman_M_Intel
3,092 次查看

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 项奖励
alexislms
重要分销商 I
3,090 次查看

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 项奖励
NurAiman_M_Intel
3,054 次查看

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 项奖励
NurAiman_M_Intel
3,046 次查看
0 项奖励
alexislms
重要分销商 I
3,027 次查看

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 项奖励
alexislms
重要分销商 I
3,004 次查看

And you don't seem to know what TCL is.

https://www.intel.com/content/www/us/en/docs/programmable/683432/22-3/tcl_pkg_pfg_ver_1-0.html

There is only a single command which is "test"...

0 项奖励
NurAiman_M_Intel
2,963 次查看

Hi,


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


0 项奖励
alexislms
重要分销商 I
2,959 次查看

Thanks for the waste of time.

Coming back to my question?

0 项奖励
NurAiman_M_Intel
2,958 次查看

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 项奖励
NurAiman_M_Intel
2,954 次查看

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 项奖励
alexislms
重要分销商 I
2,946 次查看

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 项奖励
回复