24
Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Embed Size (px)

Citation preview

Page 1: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-1

Lectures 21, 22

FPGA and Top-Down

Design Flow

Mar. 3 and 5, 2003

Page 2: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-2

What is an FPGA ?

Fully SRAM based configuration

Input/Output Blocks (IOB)

Block Memory.

Configurable Logic Blocks (CLB) — Used to form

adders, accumulators, multipliers, etc.

Page 3: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-3

What a Range of Devices: Which One?

The father device from which all Virtex devices have been derived

— Rarely used for new designs— 384 to 6144 CLBs with up to 128k-bits

RAM

The lowest cost devices for DSP applications ($5 to $10)

— 96 to 864 CLBs with up to 48k-bits RAM

Cont’d on next slide

Page 4: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-4

What a Range of Devices: Which One?

384 to 16224 CLBs with up to 832k-bits RAM

For those particularly memory intensive algorithms

— 2400 to 4704 CLBs with up to 1120k-bits RAM

128 to 23,296 CLBs* with up to 3024k-bits RAM

— Latest family and most DSP-focused FPGA architecture ever to be released

*scaled to enable comparison

Page 5: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-5

Xilinx FPGA Device Architecture

Digital ClockManagement Blocks

(DCM)

Memory Blocks

ConfigurableLogic Blocks

(CLB)

Input/Output Blocks (IOB)

Fully programmable.

Replace all functionality in

<50ms

Programmable Interconnect

Uniform structure of programmable blocks, which can be connected together using programmable interconnect

Page 6: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-6

Spartan-II

— Memory blocks are located down each side of the device

– Each memory block is 4 CLBs high

— Since the area of CLBs increases more than the length of the two edges, the CLB to block memory ratio increases with larger devices

XC2S15 = 24 CLB per Block RAM

XC2S150 = 72 CLB per Block RAM

Spartan-II geared to high volume production

Page 7: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-7

Contents of the Course

ASIC FPGA Transistor and Layout Gate and Schematic Systems and VHDL/Verilog

Page 8: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-8

Contents of the Course (cont’d)

2 ASIC labs 2 FPGA labs Transistor/Layout Gate and Schematic Systems/VHDL

(Cadence)

(Synopsys)

(XilinxFoundation)

Page 9: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-9

Xilinx Foundation Tutorial

Lab 3: Top-down designLab 4: Download to FPGA development board

Page 10: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-10

Lecture 23

Driving Large Load

Pass Logic

Mar. 7, 2003

Page 11: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-11

Driving large loads

Sometimes, large loads must be driven:– off-chip;– long wires on-chip.

Sizing up the driver transistors only pushes back the problem—driver now presents larger capacitance to earlier stage.

Page 12: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-12

Cascaded driver circuit

Page 13: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-13

Optimal sizing

Use a chain of inverters, each stage has transistors a larger than previous stage.

Minimize total delay through driver chain:– ttot = n(Cbig/Cg)1/n tmin.

Optimal number of stages:– nopt = ln(Cbig/Cg).

Driver sizes are exponentially tapered with size ratio .

Page 14: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-14

Example 1

Page 15: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-15

Topics

Swtich logic.

Page 16: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-16

Switch logic

Can implement Boolean formulas as networks of switches.

Can build switches from MOS transistors—transmission gates.

Transmission gates do not amplify but have smaller layouts.

Page 17: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-17

Types of switches

Page 18: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-18

Behavior of n-type switch

n-type switch has source-drain voltage drop when conducting:– conducts logic 0 perfectly;– introduces threshold drop into logic 1.

VDD

VDD

VDD - Vt

Page 19: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-19

n-type switch driving static logic

Switch underdrives static gate, but gate restores logic levels.

VDD

VDD

VDD - Vt

Page 20: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-20

n-type switch driving switch logic

Voltage drop causes next stage to be turned on weakly.

VDD VDD - Vt

VDD

Page 21: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-21

Behavior of complementary switch

Complementary switch products full-supply voltages for both logic 0 and logic 1:– n-type transistor conducts logic 0;– p-type transistor conducts logic 1.

Page 22: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-22

Layout characteristics

Has two source/drain areas compared to one for inverter.

Doesn’t have gate capacitance.

Page 23: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-23

Example 2

Page 24: Modern VLSI Design 3e: Chapter 3Partly from 2002 Prentice Hall PTR week9-1 Lectures 21, 22 FPGA and Top-Down Design Flow Mar. 3 and 5, 2003

Modern VLSI Design 3e: Chapter 3 Partly from 2002 Prentice Hall PTRweek9-24