第一范文网 - 专业文章范例文档资料分享平台

FPGA可编程逻辑器件芯片EP2SGX30CF780C4中文规格书 - 图文

来源:用户分享 时间:2025/5/30 3:58:49 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

Chapter 2:Logic Array Blocks and Adaptive Logic Modules in StratixIII Devices

Adaptive Logic Modules

Each ALM has two sets of outputs that drive the local, row, and column routing resources. The LUT, adder, or register output can drive these output drivers (refer to Figure2–6). For each set of output drivers, two ALM outputs can drive column, row, or direct link routing connections, and one of these ALM outputs can also drive local interconnect resources. This allows the LUT or adder to drive one output while the register drives another output.

This feature, called register packing, improves device utilization because the device can use the register and the combinational logic for unrelated functions. Another special packing mode allows the register output to feed back into the LUT of the same ALM so that the register is packed with its own fan-out LUT. This provides another mechanism for improved fitting. The ALM can also drive out registered and unregistered versions of the LUT or adder output.

ALM Operating Modes

The StratixIII ALM can operate in one of the following modes:

■■■■■

Normal

Extended LUT ModeArithmeticShared ArithmeticLUT-Register

Each mode uses ALM resources differently. In each mode, eleven available inputs to an ALM—the eight data inputs from the LAB local interconnect, carry-in from the previous ALM or LAB, the shared arithmetic chain connection from the previous ALM or LAB, and the register chain connection—are directed to different destinations to implement the desired logic function. LAB-wide signals provide clock,

asynchronous clear, synchronous clear, synchronous load, and clock enable control for the register. These LAB-wide signals are available in all ALM modes. 1

Refer to “LAB Control Signals” on page2–4 for more information on the LAB-wide control signals.

The QuartusII software and supported third-party synthesis tools, in conjunction with parameterized functions such as the library of parameterized modules (LPM) functions, automatically choose the appropriate mode for common functions such as counters, adders, subtractors, and arithmetic functions.

Normal Mode

The normal mode is suitable for general logic applications and combinational

functions. In this mode, up to eight data inputs from the LAB local interconnect are inputs to the combinational logic. The normal mode allows two functions to be

implemented in one StratixIII ALM, or an ALM to implement a single function of up to six inputs. The ALM can support certain combinations of completely independent functions and various combinations of functions that have common inputs. Figure2–7 shows the supported LUT combinations in normal mode.

Stratix III Device Handbook, Volume 1

Chapter 1:StratixIII Device Family Overview

Chapter Revision History

Stratix III Device Handbook, Volume 1

2.Logic Array Blocks and Adaptive Logic

Modules in StratixIII Devices

SIII51002-1.5

Stratix III Device Handbook, Volume 1

Chapter 2:Logic Array Blocks and Adaptive Logic Modules in StratixIII DevicesAdaptive Logic Modules

Figure2–4.LAB-Wide Control Signals

There are two uniqueclock signals per LAB.Dedicated Row LAB Clocks666Local InterconnectLocal InterconnectLocal InterconnectLocal InterconnectLocal InterconnectLocal Interconnectlabclk0labclkena0or asyncloador labpresetlabclk1labclkena1labclk2labclkena2syncloadlabclr0labclr1synclrAdaptive Logic Modules

The basic building block of logic in the StratixIII architecture, the adaptive logic

module (ALM), provides advanced features with efficient logic utilization. Each ALM contains a variety of look-up table (LUT)-based resources that can be divided between two combinational adaptive LUTs (ALUTs) and two registers. With up to eight inputs to the two combinational ALUTs, one ALM can implement various combinations of two functions. This adaptability allows an ALM to be completely backward-compatible with four-input LUT architectures. One ALM can also implement any function of up to six inputs and certain seven-input functions.

In addition to the adaptive LUT-based resources, each ALM contains two

programmable registers, two dedicated full adders, a carry chain, a shared arithmetic chain, and a register chain. Through these dedicated resources, an ALM can efficiently implement various arithmetic functions and shift registers. Each ALM drives all types of interconnects: local, row, column, carry chain, shared arithmetic chain, register chain, and direct link interconnects. Figure2–5 shows a high-level block diagram of the StratixIII ALM while Figure2–6 shows a detailed view of all the connections in an ALM.

Stratix III Device Handbook, Volume 1

Chapter 2:Logic Array Blocks and Adaptive Logic Modules in StratixIII DevicesAdaptive Logic Modules

Figure2–13.ALM in Shared Arithmetic Mode

shared_arith_in

carry_inlabclk4-InputLUTDQTo general orlocal routingTo general orlocal routing

datae0datacdatabdataa

4-InputLUTreg0dataddatae1

4-InputLUTDQTo general orlocal routingTo general orlocal routing

4-InputLUTreg1carry_outshared_arith_out

You can find adder trees in many different applications. For example, the summation of the partial products in a logic-based multiplier can be implemented in a tree

structure. Another example is a correlator function that can use a large adder tree to sum filtered data samples in a given time frame to recover or to de-spread data that was transmitted utilizing spread spectrum technology.

An example of a three-bit add operation utilizing the shared arithmetic mode is shown in Figure2–14. The partial sum (S[3..0]) and the partial carry (C[3..0]) is obtained using the LUTs, while the result (R[3..0]) is computed using the dedicated adders.

Stratix III Device Handbook, Volume 1

FPGA可编程逻辑器件芯片EP2SGX30CF780C4中文规格书 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c3p3tl7ittl1xu1x81dzc4m0xd0pwbf00nod_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top