Forum Discussion

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

Booting of Cyclone

I have some questions about booting a Cyclone FPGA (EP1C3 or EP1C6).

I'm making a design that has an ARM7 microcontroller and a Cyclone FPGA. I'd like to store the program for the FPGA inside the microcontroller flash (or otherwise make it possible to update the FPGA program via the microcontroller)

What's the best way to do this?

Also, on a related note, what sort of boot times can I expect as my designs grow larger? What's the rate at which the FPGA can read and process the program data?

12 Replies

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

    The boot time is NOT a function of the internal design size of the FPGA.

    It is a function of the load time of the FPGA, which is always the number of configuration bits of the FPGA.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    usually the best way to do this is in "Passive Serial mode"

    One of the Quartus outputs available is a .RBF (Raw binary File) And the Passive Serial mode looks like an SPI device.

    You may have to do an Endian Swap on the RBF, but you basically shift the data out, make sure you get the config done and go.

    We do this we several designs with various Cyclone and Stratix families.

    One thing if this is a new board, and you have a choice, I suggest moving to the newer Cyclone III family, It will give you a faster design, lower power, and at a lower unit cost.

    The maximum bit rate is 20 Mbps on Cyclone (If I remember correctly) and 20 or 40 Mbps

    So you can figure it as the worse case number of bits for the device. Usually it's pretty fast, unless you have a really slow SPI.

    Pete