Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
21615 Discussions

deleting logic increases macrocells?

Niko3
New Contributor I
667 Views

Hi,

I have a very curious effect:

The design of my project is a schematic for an EPM3064ATC100. After compilation 51 macrocells from 64 available ones are used. When I remove an AND with 4 inputs and a NAND with 2 inputs 64 macrocells are used - an increase of 13 macrocells!

What happened?

I'd like to know if this is normal?

Labels (1)
0 Kudos
1 Solution
ShengN_Intel
Employee
565 Views

Hi,


This is possible behavior. The original 51 macrocells likely benefited from logic optimization which AND (4 inputs) and NAND (2 inputs) could have been part of a wider combinational logic structure, allowing the fitter to place more logic in fewer macrocells.

When you removed those gates, the fitter had to restructure the logic, which could have increased the number of macrocells


Thanks,

Regards,

Sheng


View solution in original post

0 Kudos
2 Replies
Niko3
New Contributor I
661 Views

Sorry, I changed a little bit more:

I additionally replaced an output by an input.

0 Kudos
ShengN_Intel
Employee
566 Views

Hi,


This is possible behavior. The original 51 macrocells likely benefited from logic optimization which AND (4 inputs) and NAND (2 inputs) could have been part of a wider combinational logic structure, allowing the fitter to place more logic in fewer macrocells.

When you removed those gates, the fitter had to restructure the logic, which could have increased the number of macrocells


Thanks,

Regards,

Sheng


0 Kudos
Reply