Forum Discussion

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

how to decrease compile time.

when a compile a project ,more than ten thousands lines.

it used more than 3 hours.

what i can do to avoid this.

use good cpu? i used Xeon 3.4G 24G memory.

optimize Quartus setting? but it not have palpable effects。

5 Replies

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

    What device is it? how full is the device? what effort level are you set to? have you set quartus to use multiple CPU cores?

    Things that increase compile time are:

    - More code

    - larger devices

    - larger % of chip used (I think if it goes over 70% full, compile times start to go up a lot)

    - tight timing constraints.

    - running out of ram (though 24G should be plenty)

    The basic answer is get used to it. Unless you get a faster machine, the more you add to a chip, the longer the compile takes. (with my current design, a single build takes 5.5hrs, and it always fails timing!)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    i used Stratix V A7,chip usew over 60%.

    i think I think this is inevitable. but compile time is too long.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You can go to Tools > Advisors > Compilation Time Advisor and see if Quartus suggests anything interesting to decrease the compilation time.

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

    Firstly, Quartus II 13.0 has considerably lower compile time than prior versions. So try upgrading to the latest Quartus version if you haven't already.

    Secondly, try consulting the Quartus II Handbook - there's a chapter on compile time.

    Finally, make sure you've turned off all non-essential optimizations, such as Physical Synthesis or increased effort levels.