Download presentation
Presentation is loading. Please wait.
1
FPGA 상명대학교 소프트웨어학부 2007년 1학기
2
Contents Implementation Technologies Xilinx device products
Standard chips PLD ASIC Xilinx device products CoolRunner Spartan Virtex Altera device products MAX II Statrix II
3
Standard Chips V x f (a) Dual-inline package (DIP) V Gnd
DD x 1 2 3 f 7404 7408 7432 (a) Dual-inline package (DIP) V DD Gnd (b) Structure of 7404 chip
4
Programmable Logic Devices (PLD)
First introduced in 1970s PLD contains Logic gates Programmable switches Types of PLDs Simple PLD Programmable logic array (PLA) Programmable array logic (PAL) Complex programmable logic devices (CPLD) Field-programmable gate arrays (FPGA)
5
Recap - Programmable Logic Devices (PLD)
6
Generalized PAL
7
Programmable Logic Device (PLD)
Simple PLD (SPLD) & Complex PLD SPLD PAL itself is considered as SPLD The fixed part (the blue part of the previous slide) is called “Macrocells” A macrocell is with one OR gate and associated output logic. A typical SPLD has 8~10 macrocells within one IC package.
8
PAL with Macrocells
9
Basic Macrocells Y=A’B+AB’ If B=1, Y=A’
10
SPLD designation 16V8 and 22V10 are common. Number of inputs
Type of output logic (Variable) Number of outputs
11
16V8 SPLD
12
Sequential PLD Sequential Programmable Logic Device (SPLD)
13
Basic Macrocell of Sequential PLD
14
Complex PLD (CPLD) CPLD consists multiple SPLD arrays and programmable interconnections. LAB = SPLD PIA: Programmable Interconnect Array LAB & PIA are programmed using software. CPLD “density” is usually specified in terms of macrocells or LAB. Altera & Xilinx are the major manufacturers.
15
Altera CPLDs Altera produces three lines of CPLDs
EPLD series MAX series FLEX series It also produces a complete design tool MAX+PLUS 2 Quartus II
16
Entry Level EPLD Series
EPLD 220 device standard AND/OR structure replaces a PAL 16L8 or PAL 16R8 can operate at near 100 MHz pin to pin delays of about 7.5 nsec Package
17
EPLD 220 Macrocell The Macrocell for the EPLD 220 is a registered programmable level structure Select combinational or registered output up to 8 terms in a function
18
Altera MAX 7000 CPLD
19
Altera MAX 7000 Macrocell A programmable AND array 5 AND gates
A product-term selection matrix 1 OR gate Associated logic that is programmable to be input combinational logic output registered output (sequential output)
20
Shared expander Example of how a shared expander can be used in a macrocell to increase the number of product terms.
21
Using a shared expander term from another macrocell to increase an SOP expression
22
Parallel expander
23
Using parallel expander terms from another macrocell to increase an SOP expression.
24
MAX II CPLD Logic array blocks with multiple logic elements
Uses Lookup table (LUT) instead of AND-OR array Programmable interconnects Input/Output elements (IOE)
25
Xilinx CPLDs CoolRunner II, XC9500
XC9500 is similar to MAX 7000, has PAL architecture CoolRunner II has PLA architecture
26
Recap – PAL vs. PLA
27
CoolRunner II Architecture
FB = LAB AIM (Advanced Interconnect Matrix) = PIA 2~32 FBs
28
Simplified FB structure
29
FPGA Provides logic blocks instead of AND or NAND plane
Typical logic blocks is LUT Volatile devices Programmable read-only memory (PROM) can be used to make it nonvolatile
30
LUT as Logic Block x f 3-input LUT 1 2 3
0/1 x 2 3 1 3-input LUT Program is actually written in Memory, just like conventional CPU with Main Memory.
31
General Structure of FPGA
Pin grid array (PGA) package
32
FPGA Example f1 f2
33
FPGA concept Field Programmable Gate Array Basic elements:
Configurable logic block (CLB) I/O block interconnections CLB is simpler than LAB or FB, but there are many more of them
34
Configurable Logic Block (CLB)
Many FPGAs are volatile because their LUTs are based on SRAM.
35
Altera FPGAs High & Medium Density FPGAs Low-Cost FPGAs
Stratix II, Stratix, APEX II, APEX 20K, & FLEX 10K Low-Cost FPGAs Cyclone & ACEX 1K Stratix II FPGA LAB (logic array block) structure
36
Adaptive Logic Module Normal mode Extended LUT mode Arithmetic mode
Shared arithmetic mode
37
ASIC Application-specific integrated circuit
Smallest size Fastest speed Lowest power Microprocessors or memory chips Not standard Types of ASIC Custom chips Standard cell chips Gate array
38
Standard Cell Chips Use the pre-designed layout of individual gates
CAD tools arranges all the gates
39
Gate Array Gate array part is prefabricated.
Other parts are custom fabricated. Wiring Sea-of-gate
40
Which Way to Go? ASICs FPGAs Off-the-shelf High performance
Low development cost Low power Short time to market Low cost in high volumes Reconfigurability
41
Other FPGA Advantages Manufacturing cycle for ASIC is very costly, lengthy and engages lots of manpower Mistakes not detected at design time, which have large impact on development time and cost FPGAs are perfect for rapid prototyping of digital circuits Easy upgrades like in case of software Unique applications reconfigurable computing
42
Major FPGA Vendors SRAM-based FPGAs Xilinx, Inc. Altera Corp. Atmel
Lattice Semiconductor Flash & antifuse FPGAs Actel Corp. Quick Logic Corp. Share over 60% of the market
43
Contents Implementation Technologies Xilinx device products
Standard chips PLD ASIC Xilinx device products CoolRunner Spartan Virtex Altera device products MAX II Statrix II
44
ISE Alliance and Foundation Series Design Software
Xilinx Primary products: FPGAs and the associated CAD software Main headquarters in San Jose, CA Programmable Logic Devices ISE Alliance and Foundation Series Design Software
45
Xilinx FPGA family
46
Xilinx CoolRunner MC: Macrocell AIM: Advanced Interconnect Matrix
The Function Blocks use a Programmable Logic Array (PLA) configuration which allows all product terms (p-term) to be routed and shared among any of the macrocells of the FB.
47
CoolRunner Macrocell
48
CoolRunner Macrocell SOP logic expressions up to 40 inputs and span 56 product terms within a single function block. The macrocell can further combine the SOP expression into an XOR gate with another single p-term expression. The logic function can be pure combinational or sequential The storage element operating selectably as a D or T flip-flop, or transparent latch. Each macrocell flip-flop is configurable for either single edge or DualEDGE clocking, providing either double data rate capability or the ability to distribute a slower clock (thereby saving power). For single edge clocking or latching, either clock polarity may be selected per macrocell.
49
Spartan 3E Digital Clock Manager (DCM) Blocks provide self-calibrating, fully digital solutions for distributing, delaying, multiplying, dividing, and phase-shifting clock signals. Configurable Logic Blocks (CLBs) contain flexible Look-Up Tables (LUTs) that implement logic plus storage elements used as flip-flops or latches. CLBs perform a wide variety of logical functions as well as store data. Input/Output Blocks (IOBs) control the flow of data between the I/O pins and the internal logic of the device. Each IOB supports bidirectional data flow plus 3-state operation. Supports a variety of signal standards, including four high-performance differential standards. Double Data-Rate (DDR) registers are included. Block RAM provides data storage in the form of 18-Kbit dual-port blocks. Multiplier Blocks accept two 18-bit binary numbers as inputs and calculate the product.
50
Spartan 3E - CLB
51
Spartan 3E - CLB
52
Spartan 3E - Slice Common resources in both SLICEM & SLICEL
Two 4-input LUT function generators, F and G Two storage elements (Flip-flops) Two wide-function multiplexers, F5MUX and FiMUX Carry and arithmetic logic The SLICEM pair supports two additional functions: Two 16x1 distributed RAM blocks, RAM16 Two 16-bit shift registers, SRL16
53
LUT (Look-Up Table) Functionality
Look-Up tables are primary elements for logic implementation Each LUT can implement any function of 4 inputs
54
5-Input Functions implemented using two LUTs
OUT LUT
55
FPGA Nomenclature
56
Device Part Marking XC3S100-4FG256
57
Xilinx Virtex IO is enhanced Processor is added
Embedded RocketIO™ (up to Gb/s) or RocketIO X (up to 6.25 Gb/s) Multi-Gigabit Transceivers (MGTs). Processor is added Processor blocks with embedded IBM PowerPC™ 405 RISC CPU core (PPC405) and integration circuitry.
58
Virtex – Processor block
Embedded IBM PowerPC 405-D5 RISC CPU core On-Chip Memory (OCM) controllers and interfaces (between BRAM and Processor Core) Clock/control interface logic CPU-FPGA Interfaces (Block RAM)
59
Contents Implementation Technologies Xilinx device products
Standard chips PLD ASIC Xilinx device products CoolRunner Spartan Virtex Altera device products MAX II Statrix II
60
Altera FPGA CPLD Structured ASIC
Only a part of “layers” are customizable
61
Altera – MAX II FB LAB MC LE
62
MAX II LE
63
MAX II - LE A four-input LUT A programmable register (flip-flop)
Programmable register can be configured for D, T, JK, or SR operation. Each register has data, asynchronous load data, clock, clock enable, clear, and asynchronous load/preset inputs. Single bit addition or subtraction with carry chain
64
MAX II LAB
65
MAX II Family
66
Altera - Statrix II
67
Statrix II - ALM A LAB has eight ALM LE ALM (Adaptive logic module)
68
Statrix II family
69
Statrix II family
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.