![Altera Cyclone V Device Handbook Download Page 17](http://html1.mh-extra.com/html/altera/cyclone-v/cyclone-v_device-handbook_2910791017.webp)
Normal Mode
Normal mode allows two functions to be implemented in one Cyclone V ALM, or a single function of up
to six inputs.
Up to eight data inputs from the LAB local interconnect are inputs to the combinational logic.
The ALM can support certain combinations of completely independent functions and various combinations
of functions that have common inputs.
Extended LUT Mode
In this mode, if the 7-input function is unregistered, the unused eighth input is available for register packing.
Functions that fit into the template, as shown in the following figure, often appear in designs as “if-else”
statements in Verilog HDL or VHDL code.
Figure 1-7: Template for Supported 7-Input Functions in Extended LUT Mode for Cyclone V Devices
datae0
combout0
5-Input
LUT
5-Input
LUT
datac
dataa
datab
datad
dataf0
datae1
dataf1
D
Q
reg0
This input is available
for register packing.
To General or
Local Routing
Arithmetic Mode
The ALM in arithmetic mode uses two sets of two 4-input LUTs along with two dedicated full adders.
The dedicated adders allow the LUTs to perform pre-adder logic; therefore, each adder can add the output
of two 4-input functions.
The ALM supports simultaneous use of the adder’s carry output along with combinational logic outputs.
The adder output is ignored in this operation.
Using the adder with the combinational logic output provides resource savings of up to 50% for functions
that can use this mode.
Logic Array Blocks and Adaptive Logic Modules in Cyclone V Devices
Altera Corporation
CV-52001
Normal Mode
1-8
2014.01.10