Intel® High Level Design
Support for Intel® High Level Synthesis Compiler, DSP Builder, OneAPI for Intel® FPGAs, Intel® FPGA SDK for OpenCL™
701 Discussions

Logic elements utilization in FPGA

t_alars
Novice
1,835 Views

Hello All,

 

I have an old design on cyclone 3 with Quartus 10 and the used logic elements (in ALMs) are 20k.

Now, I migrate exactly the same design to Quartus 21 also I changed the FPGA to Cyclone V and now the used logic elements (in ALMs) are 4k.

 

So the only changes are the FPGA from Cyclone 3 to V and the Quartus version from 10 to 21.

 

Why the used logic elements (in ALMs) reduced from 20k to 4k?

 

What could wrong happend? w

 

PS. no optimization is done for both Quartus project.

0 Kudos
1 Solution
Nurina
Employee
1,763 Views

Hi Taha,


Yes, with a large software jump I would expect differences in the project. Be it ALM usage or place & route or timing performance.

This is because as the Quartus versions change the optimization algorithm also changes.


I would suggest to also check for nodes that have been synthesized away. If your design is small enough, you can see it in the netlist viewers. It is easier to check in the warning messages too. Check for the below warning message

"Warning (14320): Synthesized away node"


Regards,

Nurina


View solution in original post

0 Kudos
9 Replies
Nurina
Employee
1,818 Views

Hi,


This can happen when you change device or Quartus versions.

It could be that the device and Quartus version is better at optimizing this.


Regards,

Nurina


0 Kudos
t_alars
Novice
1,803 Views

Hello @Nurina,

 

So, 16k drop in logic element usage still can be considered normal?

 

Cheers,

 

Taha

0 Kudos
Nurina
Employee
1,802 Views

I'm not entirely sure. Have you checked for any logic/register that have been synthesized away? Is the design working as expected in simulation and hardware tests?


Regards,

Nurina


0 Kudos
t_alars
Novice
1,796 Views

Thank you for quick reply @Nurina .

 

The total registers drop from 10k to 7k. I am still facing some issues with the testing however, I just want to know if I can consider this drop as normal.

 

Sure later on with simulation and test i will get the correct answer.

 

But for know, is this might be normal cuz we have 11 years gap between the Quartus version and the fpga used?

 

Cheers,

 

Taha

0 Kudos
Nurina
Employee
1,764 Views

Hi Taha,


Yes, with a large software jump I would expect differences in the project. Be it ALM usage or place & route or timing performance.

This is because as the Quartus versions change the optimization algorithm also changes.


I would suggest to also check for nodes that have been synthesized away. If your design is small enough, you can see it in the netlist viewers. It is easier to check in the warning messages too. Check for the below warning message

"Warning (14320): Synthesized away node"


Regards,

Nurina


0 Kudos
t_alars
Novice
1,753 Views

Hello @Nurina ,

 

I got this after all the compilation complete(no error, or critical warning), I believe the design is good, but I want to double-check with you for the last time.

 

t_alars_0-1699522758109.png

 

Do You think it is fine?

Thank you so much for your support.

 

0 Kudos
FvM
Honored Contributor I
1,725 Views
Hi,
the basic point wasn't yet mentioned. Cyclone III (respectively IV or 10) LE is a completely different metric than Cyclone V ALM. Cyclone III LE has one 4-input LUT, ALM has two 6-input LUTs. Effectivity of 4- versus 6-input LUTs is different depending on the complexity of logic or arithmetic operations. Therefore it's difficult to define a general factor.
0 Kudos
Nurina
Employee
1,632 Views

Hi,


I’m glad that your question has been addressed, I now transition this thread to community support. If you have a new question, Feel free to open a new thread or login to ‘ https://supporttickets.intel.com ’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.

 

If any answer from the community or Intel Support are helpful, feel free to rank your support experience by rating 4/5 survey. Please let me know of any inconvenience so that I may improve your future service experience.

 

Have a great day!


Best regards,

Nurina


0 Kudos
Reply