Adaptive Logic Modules
Figure 2–35. Conditional Operation Example
Adder output
is not used.
ALM 1
X[0]
Y[0]
Comb &
Adder
Logic
X[0]
X[1]
R[0]
R[1]
To general or
local routing
D
D
Q
reg0
syncdata
syncload
syncload
X[1]
Y[1]
Comb &
Adder
Logic
To general or
local routing
Q
reg1
Carry Chain
ALM 2
X[2]
Y[2]
Comb &
Adder
Logic
X[2]
R[2]
To general or
local routing
D
Q
reg0
syncload
Comb &
Adder
Logic
To local routing &
then to LAB-wide
syncload
carry_out
Arithmetic mode also offers clock enable, counter enable, synchronous
up/down control, add/subtract control, synchronous clear, and
synchronous load. The LAB local interconnect data inputs generate the
clock enable, counter enable, synchronous up/down and add/subtract
control signals. These control signals may be used for the inputs that are
shared between the four LUTs in the ALM. The synchronous clear and
synchronous load options are LAB-wide signals that affect all registers in
the LAB. The Quartus II software automatically places any registers that
are not used by the counter into other LABs.
Carry Chain
Carry chain provides a fast carry function between the dedicated adders
in arithmetic or shared arithmetic mode. Carry chains can begin in either
the first ALM or the fifth ALM in a LAB. The final carry-out signal is
routed to an ALM, where it is fed to local, row, or column interconnects.
2–48
Arria GX Device Handbook, Volume 1
Altera Corporation
May 2008