digital integrated circuits - week three -

24
Gheorghe M. Ştefan http://arh.pub.ro/gstefan/ - 2014 -

Upload: hubert

Post on 02-Feb-2016

45 views

Category:

Documents


0 download

DESCRIPTION

Digital Integrated Circuits - week three -. Gheorghe M. Ş tefan http://arh.pub.ro/gstefan/ - 2014 -. BASIC CMOS CIRCUITS see Appendix: Basic circuits. Actual digital signals CMOS switches Gates: Inverter (NOT) NAND and NOR gates AND-NOR gates Many-input gates Tristate buffer - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Digital Integrated Circuits - week three -

Gheorghe M. Ştefan http://arh.pub.ro/gstefan/

- 2014 -

Page 2: Digital Integrated Circuits - week three -

BASIC CMOS CIRCUITSsee Appendix: Basic circuits

Actual digital signalsCMOS switches Gates:

Inverter (NOT)NAND and NOR gatesAND-NOR gatesMany-input gatesTristate bufferTransmission gate

Flip-Flops

2014 Digital Integrated Circuits - week three 2

Page 3: Digital Integrated Circuits - week three -

Actual signals

2014 Digital Integrated Circuits - week three 3

VDD evolved from 5V to 1V

VHmin = VLmax is impossible, because equality is impossible

VHmin > VLmax is a must

Page 4: Digital Integrated Circuits - week three -

Forbidden region

2014 Digital Integrated Circuits - week three 4

Page 5: Digital Integrated Circuits - week three -

Noise margin

2014 Digital Integrated Circuits - week three 5

NM0 = VIL – VOL

NM1 = VOH - VIH

Page 6: Digital Integrated Circuits - week three -

CMOS switches

z : hi-impedance

2014 Digital Integrated Circuits - week three 6

Page 7: Digital Integrated Circuits - week three -

MOS as switching device

CGS = COXLW

RON = 1/(n COX (W/L)(VGS – VT))

2014 Digital Integrated Circuits - week three 7

Page 8: Digital Integrated Circuits - week three -

NOT: the inverter circuit

Static behavior

region A: X = 0region B & C:

transitionregion D: X = 1

2014 Digital Integrated Circuits - week three 8

Page 9: Digital Integrated Circuits - week three -

Dynamic behavior

tpHL: time from VOH to VOH/2

tpLH: time from 0 to VOH/2

2014 Digital Integrated Circuits - week three 9

Page 10: Digital Integrated Circuits - week three -

Load capacitance, CL

Load capacitance has three components:The intrinsic capacitance of the driver inverter:

parasitic drain/bulk capacitance, CDB

Wire capacitance: Cwire = Cthickox LwireWwire

Input capacitance of the receiver inverter: CG = CGp + CGn = Cox(WpLp + WnLn)

CL = CDB + Cwire + CG

For long wires connecting the driver to receiver Cwire dominates the value of CL

2014 Digital Integrated Circuits - week three 10

Page 11: Digital Integrated Circuits - week three -

tpHL: discharging CL at the constant current IDS(sat)

tr-: pMOS lin, nMOS cut

tr+: pMOS cut, nMOS sat

tr+ to (tr+tpHL): CL discharges at the

constant current IDn(sat)

IDn(sat)=(nCox(Wn/Ln)(VOH –VTn)2)/2

dvout/dt =

-IDn(sat)/CL = (VOH /2 - VOH )/tpHL

tpHL = CL RONn(1/(1-(VTn/ VOH)))

tpHL = knCL RONn

tp = (tpHL + tpLH )/22014 Digital Integrated Circuits - week three 11

Page 12: Digital Integrated Circuits - week three -

Buffering

From tpHL/LH = kn/pCL RONn/p

tp = t0(Wload/Wdriver)

t0 is tp for Wload=Wdriver

What is the solution for Wload >> Wdriver ?

tp(buffered) = tp0(W1/Wdriver + W2/W1 + Wload/W2)2014 Digital Integrated Circuits - week three 12

Page 13: Digital Integrated Circuits - week three -

Designing rule for buffering

The delay introduced by the new inverters must be minimal:

(W2/W1 + Wload/W2)’ = 0

W2 = (W1 Wload)1/2

W2/W1 = Wload/W2 = (Wload/W1 )1/2

The ratio of successive W must be constant

Example: let be Wload/Wdriver = n, then

W1/Wdriver = W2/W1 = Wload/W2 = n1/3

For n=1000, results the acceleration:

α = tp(no-buffer)/tp(buffered) = (n2)1/3/3 = 33.32014 Digital Integrated Circuits - week three 13

Page 14: Digital Integrated Circuits - week three -

Power dissipation

Switching energy: charging & discharging CL

Short-circuit energy: non-zero rise/fall times of the signalLeakage current energy: important for L < 65nm

2014 Digital Integrated Circuits - week three 14

Page 15: Digital Integrated Circuits - week three -

Switching powerDuring each period, T, each capacitor

is charged to VDD through RONp with QL = CLVDD

is discharged to 0 through RONn

The energy to move QL from VDD to 0 is VDDQL then:

pswitch = (VDD CL VDD)/T = CL V2DD fclock

2014 Digital Integrated Circuits - week three 15

Page 16: Digital Integrated Circuits - week three -

Short-circuit power

Depends on the saturation current

psc = IDD(mean) VDD

2014 Digital Integrated Circuits - week three 16

Page 17: Digital Integrated Circuits - week three -

The leakage currentIncrease exponentially with temperatureIncreases exponentially with reduction in VT

Dominated by the sub-threshold leakage

pleakage = Ileakage VDD2014 Digital Integrated Circuits - week three 17

Page 18: Digital Integrated Circuits - week three -

The NAND gate

For both input 1,

the output is 0For at least one input 0

the output is 1

For n 1.7p, and Wn = Wp

What is the fastest transition?

What is the slowest transition?

2014 Digital Integrated Circuits - week three 18

Page 19: Digital Integrated Circuits - week three -

The NOR gate

For both input 0, the output is 1For at least one input 1 the output is 0

For n 1.7p, and Wn = Wp What is the fastest transition?What is the slowest transition?

What do you prefer, NANDs or NORs?

2014 Digital Integrated Circuits - week three 19

Page 20: Digital Integrated Circuits - week three -

Switching activity

2014 Digital Integrated Circuits - week three 20

Switching activity, σ, on the gate’s output depend on the logic function

pswitch = CL V2DD fclock => pswitch = σCL V2

DD fclock

σ : probability of switching from 0 to 1

For 2-input AND: σ = POUT-0 POUT-1 = (1-PAPB)PAPB

Conservative estimate for big systems: σ = 1/8.Usually is measured: σ = 1/10

Page 21: Digital Integrated Circuits - week three -

Glitching

The activity to the output of a logic circuit depends also by the propagation time.

If ABC switches from010 to 111 Then O2 does not changeaccording to the logic,but it actually glitches.

Dangers: The glitch can be latched Increases the energy consumption

2014 Digital Integrated Circuits - week three 21

Page 22: Digital Integrated Circuits - week three -

Many-input gates

tpmax(one-level) ~ 8×n×Cin tpmax(log-level) ~ 2×2×Cin + 2×n×Cin

2014 Digital Integrated Circuits - week three 22

Page 23: Digital Integrated Circuits - week three -

AND-NOR gates

Logic: depth = 3, size = 7Electric: depth = 1, size = 4

Similar approach for: (A + BC)’, (A(B+C))’, …

2014 Digital Integrated Circuits - week three 23

Page 24: Digital Integrated Circuits - week three -

Home work 3 Problem 1: compute α for Wload/Wdriver = 1000 when

between driver NOT and load NOT 4 inverter circuits are inserted.

Problem 2: compute σ for a 2-input NOR gate and for a 2-input XOR gate.

Problem 3: draw, using 3 CMOS pairs, the circuit which performs the function (A(B+C))’.

Problem 4: design an asynchronously reset-able (RST) and preset-able (SET) DF-F.

(Problem 5: design a synchronously reset-able DF-F.)

2014 Digital Integrated Circuits - week three 24