08.06.2013 Views

Logic Array Blocks and Adaptive Logic Modules in Cyclone ... - Altera

Logic Array Blocks and Adaptive Logic Modules in Cyclone ... - Altera

Logic Array Blocks and Adaptive Logic Modules in Cyclone ... - Altera

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

1-8<br />

Normal Mode<br />

Normal mode allows two functions to be implemented <strong>in</strong> one <strong>Cyclone</strong> V ALM, or a s<strong>in</strong>gle function of up<br />

to six <strong>in</strong>puts.<br />

Up to eight data <strong>in</strong>puts from the LAB local <strong>in</strong>terconnect are <strong>in</strong>puts to the comb<strong>in</strong>ational logic.<br />

The ALM can support certa<strong>in</strong> comb<strong>in</strong>ations of completely <strong>in</strong>dependent functions <strong>and</strong> various comb<strong>in</strong>ations<br />

of functions that have common <strong>in</strong>puts.<br />

Extended LUT Mode<br />

In this mode, if the 7-<strong>in</strong>put function is unregistered, the unused eighth <strong>in</strong>put is available for register pack<strong>in</strong>g.<br />

Functions that fit <strong>in</strong>to the template, as shown <strong>in</strong> the follow<strong>in</strong>g figure, often appear <strong>in</strong> designs as “if-else”<br />

statements <strong>in</strong> Verilog HDL or VHDL code.<br />

Figure 1-7: Template for Supported 7-Input Functions <strong>in</strong> Extended LUT Mode for <strong>Cyclone</strong> V Devices<br />

Arithmetic Mode<br />

<strong>Altera</strong> Corporation<br />

Normal Mode<br />

datae0<br />

datac<br />

dataa<br />

datab<br />

datad<br />

dataf0<br />

datae1<br />

dataf1<br />

5-Input<br />

LUT<br />

5-Input<br />

LUT<br />

This <strong>in</strong>put is available<br />

for register pack<strong>in</strong>g.<br />

combout0<br />

D Q<br />

reg0<br />

To General or<br />

Local Rout<strong>in</strong>g<br />

To General or<br />

Local Rout<strong>in</strong>g<br />

The ALM <strong>in</strong> arithmetic mode uses two sets of two 4-<strong>in</strong>put LUTs along with two dedicated full adders.<br />

The dedicated adders allow the LUTs to perform pre-adder logic; therefore, each adder can add the output<br />

of two 4-<strong>in</strong>put functions.<br />

The ALM supports simultaneous use of the adder’s carry output along with comb<strong>in</strong>ational logic outputs.<br />

The adder output is ignored <strong>in</strong> this operation.<br />

Us<strong>in</strong>g the adder with the comb<strong>in</strong>ational logic output provides resource sav<strong>in</strong>gs of up to 50% for functions<br />

that can use this mode.<br />

<strong>Logic</strong> <strong>Array</strong> <strong>Blocks</strong> <strong>and</strong> <strong>Adaptive</strong> <strong>Logic</strong> <strong>Modules</strong> <strong>in</strong> <strong>Cyclone</strong> V Devices<br />

CV-52001<br />

2013.05.06<br />

Feedback

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!