Altera_Forum
Honored Contributor
15 years agoHuge reduce in logic usage when megafunction is instantiated
Hi guys,
I've been playing around with the floating point megafunctions, and I tried to implement it on hardware. I noticed that when I compiled a floating point adder on its own, it used around 1000 logic elements. However, when I instantiated it in a file that has an LCD to display the results and uses the switches to change the inputs, it compiled to only 400 logic elements. I find this a bit peculiar as I thought that it would increase the amount of logic used by merging two circuits together (an LCD controller and a Floating point adder). By the way, the LCD controller on its own uses about 100 logic elements. Is there a reason behind this? Appreciate any replies. Best regards, Chris