Forum Discussion

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

Compilation Error for Board Test System (Cyclone IV GX XCVR sample)

Hi All,

I am trying the get to a starting point where I can have the source code complied and run it successfully onto the board. When I build the source project, it gives me: error (170012): fitter requires 902 labs to implement the project, but the device contains only 900 labs.

May I ask how to resolve this issue or what's the cause of this problem?

Any pointers would be very helpful.

Thanks,

Leon.

2 Replies

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

    Hi Leon

    --- Quote Start ---

    error (170012): fitter requires 902 labs to implement the project, but the device contains only 900 labs.

    --- Quote End ---

    Basically is saying you are out of resources. LABS are blocks of LE's with routing. So If you have enough LE's then it may be a routing resource limitation.

    You can read up more on LE's and LAB's in this document:

    http://www.altera.com/literature/hb/cyc3/cyc3_ciii51002.pdf

    Try reducing your logic if you can, and or setting the optimations for space versus speed. That may at least get you to fit.

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

    Thanks Pete, I reduced my ram to 13*16 (from 14*32), this seems to fix the compilation problem .

    -leon.