FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
5915 Discussions

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

Altera_Forum
Honored Contributor II
923 Views

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.
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
253 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
253 Views

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

 

-leon.
0 Kudos
Reply