yiyu shi , w ei yao, lei he , and sudhakar pamarti electrical engineering dept., ucla

27
Joint Design-Time and Post-Silicon Optimization for Analog Circuits: A Case Study Using High-Speed Transmitter Yiyu Shi, Wei Yao, Lei He, and Sudhakar Pamarti Electrical Engineering Dept., UCLA Speakers: Edward Kao and Scott Fukushima

Upload: wendy-cash

Post on 01-Jan-2016

17 views

Category:

Documents


3 download

DESCRIPTION

Joint Design-Time and Post-Silicon Optimization for Analog Circuits: A Case Study Using High-Speed Transmitter. Yiyu Shi , W ei Yao, Lei He , and Sudhakar Pamarti Electrical Engineering Dept., UCLA Speakers: Edward Kao and Scott Fukushima. Outline. Introduction Design-Time Optimization - PowerPoint PPT Presentation

TRANSCRIPT

Joint Design-Time and Post-Silicon Optimization for Analog Circuits:

A Case Study Using High-Speed Transmitter

Joint Design-Time and Post-Silicon Optimization for Analog Circuits:

A Case Study Using High-Speed Transmitter

Yiyu Shi, Wei Yao, Lei He, and Sudhakar Pamarti

Electrical Engineering Dept., UCLA

Speakers: Edward Kao and Scott Fukushima

OutlineOutline

Introduction

Design-Time Optimization

Post-Silicon Tuning and Joint Optimization

Optimization Framework

Experimental Results

Conclusions

Problem StatementProblem Statement

Goal To maximize parametric yield for analog circuits

Reasons for Concern Analog circuits are highly sensitive to process variation Process variation causes problems for parametric yield and

becomes worse with technology scaling

Techniques for maximize parametric yield Design-time optimization Post-silicon tuning

Existing WorkExisting Work

Design-time optimization System-level [Stojanovic:CICC’03]

System-level and circuit-level co-design [Sredojevic:ICCAD’08]

Device-level Transistor sizing and layout optimization [Pelgrom:JSSC’89]

Post-silicon tuning Tunable amplifier [Kaya:TCASII’07]

Programmable capacitor array for filter, ADC [Huang:JSSC’01]

Transistor finger selection to reduce mismatch [Li:ICCAD’08] A lot more adaptive design for analog/mixed-signal circuit …

First yield-driven circuit design technique that considers both

post-silicon tuning along with design time optimization

Adaptive / Tunable CircuitsAdaptive / Tunable Circuits

Tunable circuits with negative feedback loop to compensate process variation

Traditional corner-based design methodology makes sure the circuit satisfies the design spec in all process corners

Circuit tunability does not comes for free Yield-driven optimization is required to prevent over-design

Joint Design-Time and Post-Silicon OptimizationJoint Design-Time and Post-Silicon Optimization

Use high speed link transmitter design as an example

Proposed goal Maximize yield

Yield is defined by BER Satisfy power and area constraints

Optimization framework Build model for analog building blocks from SPICE Include Vt variation and consider tuning circuit cost Use SPICE-characterized cells as building units Combine branch-and-bound and gradient-ascent algorithm

Effectively find the global optimum solution

OutlineOutline

Introduction

Design-Time Optimization

Post-Silicon Tuning and Joint Optimization

Optimization Framework

Experimental Results

Conclusions

High-Speed Serial Link ExampleHigh-Speed Serial Link Example

Consider the transmitter pre-emphasis filter Combats inter-symbol interference (ISI) Plays an important role in system performance Consumes most power at transmitter

data out

ChannelPre-driver

Pre-amplifier

Slicer

CDRFIR pre-emphasis filter/driver

IC0 IC1 ICn

N-tap FIR filter

Filter coefficients

Transmitter Receiver

RD

RD

a0 a1 an

Transmission EnvironmentTransmission Environment

Channel Attenuation Dispersion

Reflection Impedance mismatch

Inter-symbol interference Band-limited channel

Crosstalk Capacitive or Inductive coupling

Other random noises ex: circuit thermal noise

TX RXdata

outchannel

Transmitter DesignTransmitter Design

Pre-emphasis filter Last stage of the pre-driver Pre-filter the pulse with the

inverse of the channel

ai: input symbol bi: transmitter output Wj: filter coefficient

Other stages of the pre-driver

Sizing is according to logic effort

RS

IW0

Pre-emphasis Filter

IW1 IWM

VNEAR

VX2 VXM

TX RXFIRdata

outchannel

i j i jj

b Wa

Pre-driver

Transmitter Design (cont’d)Transmitter Design (cont’d)

LMS algorithm is used for optimal filter coefficients given the number of taps n

Large transistor parasitic capacitance exists Considered as part of the channel

Transistor sizing is done through parallel connected unit cells Unit cells α are pre-characterized through simulation Output swing constraint is applied to make sure correct operation

region Get rid of SPICE simulation during optimization

Performance MetricPerformance Metric

010010 010010

Transmission ReceptionChannel

Modulation Demodulation

BER =tR

Ne

Ne = Number of errorsR = Data ratet = Test time

Bit Error Rate (BER)

Error Vector Magnitude (EVM)

1

2 eI

Q

Error in thereceived symbolV2

V1 e = V1- V2

R×t > 1015 !!

Performance Metric (cont’d)Performance Metric (cont’d)

The relation between EVM and BER can be obtained through simulation Monotonic Highly correlated EVM can be measured efficiently with far less data

2

max

1

2

1

r

ar

MEVM

M

ii

ai: input symbol bj: transmitter output pj:: channel response ri: received data M: total number of data < 104

jijiji npbr

OutlineOutline

Introduction

Design-Time Optimization

Post-Silicon Tuning and Joint Optimization

Optimization Framework

Experimental Results

Conclusions

Process VariationProcess Variation

Threshold voltage variation Doping fluctuations Short channel device

Channel length variation also causes Vth variation

Becomes dominant in the next few technology generations

Pre-emphasis filter coefficients Implemented as CMOS current

sources Vth Variation induces drain

current mismatch

Assume 10% variation in Vth 30% variation in power BER varies in several order of

magnitude

-100 -50 0 50 100-50u

-40u

-30u

-20u

-10u

0

Vt variation (mV)

Cu

rren

ts (

A)

Vt

IREF

Vt+ Vt

I+ I

I↔Vt

3σ=50mV

Post-Silicon Tuning through DAC Post-Silicon Tuning through DAC

Current-division DAC is commonly used to combat process variation

Two design parameters LSB size ( ): minimum step during digital-to-analog conversion Resolution (β): number of bits used

Digital Input

Analog output

LSB size

w/o variation

with variation

DD’

A

A+ A

A’=A- A’

A

A’

D[1]D[0] D[2]

Power and Performance VariationPower and Performance Variation

(a) Without Tuning (b) With Tuning

Both power and performance variations are reduced significantly Given the same design

Tuning circuits actually bring extra costs Area Larger parasitic → performance downgrade

Problem FormulationProblem Formulation

Where

,

random variable

e

OutlineOutline

Introduction

Design-Time Optimization

Post-Silicon Tuning and Joint Optimization

Optimization Framework

Experimental Results

Conclusions

Yield vs. Power and AreaYield vs. Power and Area

Significant improvement can be expected

Solution space surface is rough and many local maxima exists

Discrete problem with non-convex objective and constraints

3000 Monte Carlo runs over different unit cell design α, resolution β, and LSB size

Basic idea: Partition the solution space by LSB size ( ) and unit cell type (α) Develop a bound on the performance Discard (fathom) if bound worse than the current best solution

Branch and Bound with Gradient Ascent MethodBranch and Bound with Gradient Ascent Method

Use gradient ascent method to find the local maxima

Sequentially take steps in the direction proportional to the gradient.

Bound estimation Remove the area and power

constraints Use LMS algorithm to find the optimal

coefficients Results in best possible performance

All

αi

αj

αk

γi

γj

γi

γj

γi

γj

Pruned by upper bound check

infeasible

OutlineOutline

Introduction

Design-Time Optimization

Post-Silicon Tuning and Joint Optimization

Optimization Framework

Experimental Results

Conclusions

BER Distribution ComparisonBER Distribution Comparison

Two extreme cases Without tuning circuit

All resources are used for filter design

Unavoidable large variation One tap filter

All resources are used for DAC

Has extreme small variance but suffers severe ISI

Manually design Assume LSB size is equal for

each tap Good balance between above

two extreme cases

Our algorithm Provides better solution

Experiment ResultsExperiment Results

Yield comparison for different constraints

area vt variation

power

Improve the yield by up to 47%

OutlineOutline

Introduction

Design-Time Optimization

Post-Silicon Tuning and Joint Optimization

Optimization Framework

Experimental Results

Conclusions

ConclusionsConclusions

Use high speed link transmitter design as an example propose to maximize BER yield subject to power and area

constraints.

Build model for analog building blocks from SPICE and Include Vt variation with the consideration of tuning circuit cost

Combine branch-and-bound and gradient-ascent algorithm Effectively find the global optimum

Experiments show that, compared to manual design, joint design-time and post-silicon optimization can improve the yield by up to 47%

Future work Consider the impact of clock Optimize for the whole system, including receiver and clock

circuitry

Thank you !Thank you !