Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

sof file format?

Hi,

Stratix III Active Serial question:

I would like to know how may bits in my EPCS device I'm actually using given a sof file. How do I do this? If I enable bit stream compression I assume that the number will reduce (seems obvious).

Is there a sof file format document anywhere? I have searched, and can't seem to find anything useful.

I program via the NIOS i.e. using the EPCS controller via JTAG i.e. I don't use a pof file via the EPCS programming header I have on my board.

Thanks,

Dave.

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Cause JTAG configuration doen't use compression, *.sof files have always full size. Compression option is valid e.g. for *.pof or *.rbf files. Generally the device handbook tells the size of uncompressed bitstreams.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    OK, I just read that I can use the compression option of sof2flash and so get compression that way (hopefully).

    I guess I can glean the size of the image from the resulting flash file.

    Thanks,

    Dave.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, also the Quartus Programming File converter tool, used e.g. to generate *.jic files for programming of AS configuration devices through JTAG does a later compression of bit streams from *.sif files.