Forum Discussion

kgrcfff's avatar
kgrcfff
Icon for New Contributor rankNew Contributor
2 years ago
Solved

How to build a carry-chain in Quartus II fitter instead of using LUTs?

Hello everyone, I have a question about using Quartus II fitter to build a carry-chain. Specifically, I want to ensure that the fitter uses a real adder circuit instead of using LUTs during the ...
  • ShengN_altera's avatar
    2 years ago

    Hi,

    In the verilog code, I think you have to connect dataa and datab to input ports instead of constant 1'b1 / 1'b0. If connect to input ports you'll get map viewer result like below pic:

    For example, taking single lpm_add_sub megafunction original map viewer result, the result like pic below:

    If connect lpm_add_sub megafunction dataa and datab to constant, you'll get the result like below pic instead:

    Thanks,

    Best Regards,

    Sheng

    p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.