Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20684 Discussions

Can't fit design in Cyclone V GX

Altera_Forum
Honored Contributor II
1,830 Views

Hi everyone,  

 

I'm trying to complete the My First FPGA tutorial (https://www.altera.com/content/dam/altera-www/global/en_us/pdfs/literature/tt/tt_my_first_fpga.pdf) and everything works perfectly up until compilation, at which point it gives me error 11802 ("Can't fit design in device"). This is confusing as the flow summary doesn't say that a significant amount of anything is getting used.  

 

I saw that this was an error with Quartus II but I'm using Quartus Prime Lite so I can't find anything else on it.  

 

Any help would be greatly appreciated :)
0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
659 Views

Quartus prime is a newname for Quartus II (as far as I know) So what you saw might help you as well

0 Kudos
Altera_Forum
Honored Contributor II
659 Views

 

--- Quote Start ---  

Quartus prime is a newname for Quartus II (as far as I know) So what you saw might help you as well 

--- Quote End ---  

 

 

I'll try what the page suggested - thanks!
0 Kudos
Altera_Forum
Honored Contributor II
659 Views

 

--- Quote Start ---  

Quartus prime is a newname for Quartus II (as far as I know) So what you saw might help you as well 

--- Quote End ---  

 

 

So I just tried the fixes that were suggested, and none of them worked. It's especially odd since my design appears not to be taking up a significant amount of space. Here's what I get from the top.fit.summary file: 

 

Fitter Status : Failed - Thu Jun 01 17:15:25 2017 Quartus Prime Version : 17.0.0 Build 595 04/25/2017 SJ Lite Edition Revision Name : proj2_top Top-level Entity Name : proj2_top Family : Cyclone V Device : 5CGXFC7D6F27C7 Timing Models : Final Logic utilization (in ALMs) : 24 / 56,480 ( < 1 % ) Total registers : 32 Total pins : 6 / 378 ( 2 % ) Total virtual pins : 0 Total block memory bits : 0 / 7,024,640 ( 0 % ) Total RAM Blocks : 0 / 686 ( 0 % ) Total DSP Blocks : 0 / 156 ( 0 % ) Total HSSI RX PCSs : 0 / 9 ( 0 % ) Total HSSI PMA RX Deserializers : 0 / 9 ( 0 % ) Total HSSI TX PCSs : 0 / 9 ( 0 % ) Total HSSI PMA TX Serializers : 0 / 9 ( 0 % ) Total PLLs : 1 / 16 ( 6 % ) Total DLLs : 0 / 4 ( 0 % ) 

 

As you can see none of the resources are even close to over 100% used. :/
0 Kudos
Altera_Forum
Honored Contributor II
659 Views

Update -- there was something wrong with the .sdc file I created from the tutorial -- removing it made the compilation work. I'll look into that issue further.

0 Kudos
Altera_Forum
Honored Contributor II
659 Views

The Quartus fitter also says sometimes "can't fit design in device" when there is something wrong with pin assignments... so that error message can be confusing. Look in the report if you have other errors or warnings just before the "can't fit in device" error.

0 Kudos
Reply