Altera_Forum
Honored Contributor
14 years agoStratix III ALM in arithmetic mode
Hi everybody,
In the Stratix III Device Handbook volume 1, figure 2-11 indicates that in arithmetic mode, one can use 3 inputs (dataa, datab and datac) for the 2 first ALUT and use the outputs of the ALUT with the adder. I try to compute : s <= a xor b xor c c <= a and b and c o <= s + c If I well understand the handbook, I'd have (a xor b xor c) in the 1st ALUT, (a and b and c) in the 2nd and then the sum (s+c) with the adder. But when I look the obtained design in Technologie Map Viewer, the 2 logic functions are computed in 2 different half ALMs, and then the sum in a 3rd half ALM with only buffers for the ALUTs. I can't map all my functions in only one half ALM. Is there a special HDL coding style to use this kind of functionalities ? Thanks for your help