21
Digital System Design Lecture 8: Xilinx FPGAs Amir Masoud Gharehbaghi [email protected]

8- Xilinx FPGA

Embed Size (px)

Citation preview

Page 1: 8- Xilinx FPGA

Digital System DesignLecture 8: Xilinx FPGAs

Amir Masoud [email protected]

Page 2: 8- Xilinx FPGA

Sharif University of Technology 2

Table of Contents

IntroductionXilinx FPGAs

XC3000XC4000XC5000New series

Page 3: 8- Xilinx FPGA

Sharif University of Technology 3

Introduction

The largest manufacturer of SRAM-based FPGAsMain Families:

XC2000XC3000XC4000XC5000…

Page 4: 8- Xilinx FPGA

Sharif University of Technology 4

Xilinx Series Comparison

6000-15000

784-1,936

196-484

148-244

XC5000

1,600-25,000

256-2,569

64-1,024

64-256XC4000

1,300-9,000

256-1,320

64-48464-176XC3000

800-1,800

122-174

64-10058-74XC2000

Gate Count

FFsCLBsI/O Blocks

Series

Page 5: 8- Xilinx FPGA

Sharif University of Technology 5

Xilinx FPGA Structure

Fixed array of Configurabe Logic Blocks (CLBs) connectable by a system of pass-transistors, driven by SRAM cells

Page 6: 8- Xilinx FPGA

Sharif University of Technology 6

XC3000 CLB

32-bit (5-input) look-up tableCLB propagation delay is fixed (LUT access time) and independent of the logic function7 inputs to the XC3000 CLB:

5 CLB inputs (A–E)2 FF outputs (QX and QY)

Page 7: 8- Xilinx FPGA

Sharif University of Technology 7

XC3000 CLB ConfigurationsUse 5 (of 7) inputs with the entire 32–bit LUT (CLB outputs F and G are then identical)Split the 32-bit LUT in half to implement 2 functions (F and G) of 4 variables each; choose 4 inputs (from 7)Split the 32-bit LUT in half, using one of the 7 input variables as a select input to a 2:1 MUX that switches between F and G (to implement some functions of 6 and 7 variables)

1

2

3

Page 8: 8- Xilinx FPGA

Sharif University of Technology 8

Methods of InterconnectionDirect interconnect: Adjacent CLBs are wired together in the horizontal or vertical direction. The most efficient interconnect (< 1 ns delay)General-purpose interconnect: used mainly for longer connections or for signals with a moderate fan-out

Few, so problem in fitting a large design into XC3000, and 2000

Long line interconnect: for time critical signals (e.g. clock signal need be distributed to many CLBs)

Page 9: 8- Xilinx FPGA

Sharif University of Technology 9

Design Example

Q2* = Q2’ Q1 + Q2 Q0Q1* = X’ Q2’ Q1’ Q0 + X’ Q2’ Q0’ + X’ Q2 Q0’ + Q1 Q0Q0* = Q0’Z = X Q1 + X’ Q1’

Functions have maximum 4 variables4 LUT of 4 variables3 FFs2 CLB required

FPGA ImplementationQ2*, Q0* in one CLBQ1*, Z in one CLB

Page 10: 8- Xilinx FPGA

Sharif University of Technology 10

Design Example Implementation

Page 11: 8- Xilinx FPGA

Sharif University of Technology 11

Xilinx 4000 Series

Page 12: 8- Xilinx FPGA

Sharif University of Technology 12

Xilinx 4000 Specs

Two FF per CLB + Two per I/O cell25 gates per CLB for logic32 bits of RAM per CLBSpecial fast carry logic between CLBsInterconnects:

Direct and general-purpose wires replaced with more efficient single-length and double-length lines.Sufficient resources for most applications.

Page 13: 8- Xilinx FPGA

Sharif University of Technology 13

Xilinx 4000 CLB

Page 14: 8- Xilinx FPGA

Sharif University of Technology 14

CLB Function Generators

Use RAM for truth tablesF, G: 4 input -> 16 bits of RAM (each)H: 3 input –> 8 bits of RAMRAM is loaded at system initialization from external PROM

MUX control logic maps 4 control inputs into 4 inputs:

LUT input H1Direct In (DIN)Enable Clock (EC)Set/Reset control (S/R) for FFsControl F,G LUTs as 32 bit SRAM

Page 15: 8- Xilinx FPGA

Sharif University of Technology 15

CLB Function Generators (cont.)

Broad capability:Any 2 functions of 4 variables plus a function of 3 variablesAny function of 5 variablesAny function of 4 variables plus some functions of 6 variablesSome functions of 9 variables

Parity4-bit cascadable equality checking

Page 16: 8- Xilinx FPGA

Sharif University of Technology 16

CLB input and output connections

Page 17: 8- Xilinx FPGA

Sharif University of Technology 17

Page 18: 8- Xilinx FPGA

Sharif University of Technology 18

Programmable Switch Matrix

Page 19: 8- Xilinx FPGA

Sharif University of Technology 19

XC5200 Logic Block

Similar to CLBs in XC2000/3000/4000, but simplerA group of 4 Logic Cells (LCs) is a CLB in XC5200LC contains 4-input LUT

Page 20: 8- Xilinx FPGA

Sharif University of Technology 20

State-of-the-art FPGAs

XCS00/XL (Spartan)5v, 3v2,000-40,000 typical gate

XC2S00/XL (Spartan-II)2.5v6,000-150,000 typical gate

XCV00 (Virtex)2.5v34,000-1,124,000 typical gate

Page 21: 8- Xilinx FPGA

Sharif University of Technology 21

State-of-the-art FPGAs (cont.)

1999: Virtex-E2000: Virtex-II2002: Vitex-II Pro

125,136 logic cell10 Mb RAM556 18*18 MultiplierUp to 4 PowerPC 405 cores

300 MHz+, 420 MIPS