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

Generating .JIC file with compressed data

Altera_Forum
Honored Contributor II
2,491 Views

Hi, 

 

I am trying to use the JTAG serial flash loader as described in AN370. The target is an EP1C6T144 with EPCS1 configuration EEPROM. The design only fits in the EEPROM if compressed. 

 

Following the instructions in AN370 on generating the .JIC programming file, I get to the point where I add the .sof data and Quartus responds "Size of file exceeds memory capacity". 

 

Is it possible to use the serial flash loader with compressed configuration data? If so, what am I missing? 

 

In production, we will be using a microcontroller rather than the Quartus programmer, does this give a bit more flexibility? AFAICS the programming algorithm shouldn't care whether the EEPROM data is compressed or not.  

 

JTAG is all new to me, so I don't know any of the low-level protocol stuff - are the Altera-specific bits documented anywhere? 

 

Thanks 

 

R.
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
1,590 Views

It should work. Are you sure you are generating the compressed .sof file? In Quartus go to Assignments->Settings... click on the "Device and Pin Options..." button. If you go to the Configuration tab and check the box next to "Generate compressed bitstreams" (also make sure the other settings are correct).

0 Kudos
Altera_Forum
Honored Contributor II
1,590 Views

As far as I can see if I select 'Active serial configuration' it generates a POF (which can be compresed if I select this option) and a SOF (which doesn't get compressed irrespective of the check-box). 

If I select 'passive serial configuration' the compilation fails with an error "serial flash loader must be used with active serial configuration". 

 

POF file size (uncompressed) is 524,473 bytes 

POF file size (compressed) is 131,257 bytes 

 

SOF file size is 140,509 bytes in both cases. 

 

Is there a way to compress the SOF file, or a way to get the programming file converter dialog to accept a POF instead of a SOF?
0 Kudos
Altera_Forum
Honored Contributor II
1,590 Views

I think I found it. 

 

In the convert programming files program, highlight the name of the .SOF file in the input files to convert section of the convert programming files dialog box, click the properties button, and check the compression option.
0 Kudos
Altera_Forum
Honored Contributor II
1,590 Views

Yes, I once have been searching a lot for this option. Basically, the compression is performed by Conversion tool, indepent of the input file properties.

0 Kudos
Altera_Forum
Honored Contributor II
1,590 Views

OK, that fixed it - thanks! 

 

R.
0 Kudos
Reply