28
Lecture 1 Designing CMOS gates

Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Lecture 1 Designing CMOS gates

Page 2: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Lecture outline

• CMOS design overview

• Skills developed and knowledge gained from the course • Tool handling skills: Cadence Electronic Design Automation (EDA) • Theoretical insights – estimations with pencil and paper

• The design flow – textbook MIPS example

• CMOS Fabrication

• Designing CMOS logic gates using MOSFET switches

• Iterative Logic Arrays (ILAs)

• Adder designs – custom design vs. synthesis from VHDL

• Summary

2016 Integrated Circuit Design 2

Page 3: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Design flow

Simulation

Extraction

DRC

Schematic

Layout

LVS

Post Lay Mod

DRC = Design Rule Checker

LVS = Layout Versus Schematic

2016 Integrated Circuit Design 3

Page 4: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Gajski Y-chart

2016 Integrated Circuit Design 4

Page 5: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Block Diagram (Textbook MIPS example)

2016 Integrated Circuit Design 5

Page 6: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Floor planning

2016 Integrated Circuit Design 6

Page 7: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

MIPS Layout

2016 Integrated Circuit Design 7

Page 8: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Datapath layout

Bitslice 7

Bitslice 6

Bitslice 5

Bitslice 4

Bitslice 3

Bitslice 2

Bitslice 1

Flo

p w

ord

slic

e

add

er w

ord

slic

e

mu

x w

ord

slic

e

2016 Integrated Circuit Design 8

Page 9: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Custom design vs. synthesis from VHDL • 8-bit implementations of MIPS from Patterson & Hennessy

2016 Integrated Circuit Design 9

Standard cells, 130 nm CMOS, 7 metal layers Custom design, 0.6 um CMOS, 1.5x1.5 mm die

Page 10: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Example: synthesized 32-bit ALU layout

2016 Integrated Circuit Design 10

Page 11: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

CMOS Fabrication

• CMOS transistors are fabricated on silicon wafer

• Lithography process similar to printing press

• On each step, different materials are deposited or etched

• Easiest to understand by viewing both top and cross-section of wafer in a simplified manufacturing process

2016 Integrated Circuit Design 11

Page 12: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Inverter Cross-section

• Typically use p-type substrate for nMOS transistors

• Requires n-well for body of pMOS transistors

2016 Integrated Circuit Design 12

n+

p substrate

p+

n well

A

YGND VDD

n+ p+

SiO2

n+ diffusion

p+ diffusion

polysilicon

metal1

nMOS transistor pMOS transistor

Page 13: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Well and substrate taps

• Substrate must be tied to GND and n-well to VDD

• Metal to lightly-doped semiconductor forms poor connection called Shottky Diode

• Use heavily doped well and substrate contacts/taps

2016 Integrated Circuit Design 13

n+

p substrate

p+

n well

A

YGND V

DD

n+p+

substrate tapwell

tap

n+ p+

Page 14: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Inverter Mask Set

• Transistors and wires are defined by masks

• Cross-section taken along dashed line

2016 Integrated Circuit Design 14

GND VDD

Y

A

substrate tap well tap

nMOS transistor pMOS transistor

Page 15: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Inverter mask set and fabrication

2016 Integrated Circuit Design 15

P-type silicon substrate

N-well

Active areas P+ select

Poly gate

Contact cuts

Metal wires

Page 16: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Fabrication

• Chips are built in huge factories called fabs

• Contain clean rooms as large as football fields

2016 Integrated Circuit Design 16

Courtesy of IBM Corporation. Unauthorized use not permitted.

Page 17: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Back to the Y-chart

2016 Integrated Circuit Design 17

Transistors

Page 18: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates with switches

2016 Integrated Circuit Design 18:1

N-switch

A A

P-switch

A A

nMOSFET pMOSFET

ON when input A is HIGH ON when input A is LOW

Page 19: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates with switches

2016 Integrated Circuit Design 18:2

N-switch

A A

P-switch

A A

nMOSFET pMOSFET

ON when input A is HIGH OFF when input A is HIGH

Page 20: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates with switches

2016 Integrated Circuit Design 18:3

N-switch

A A

P-switch

A A

nMOSFET pMOSFET

OFF when input A is LOW ON when input A is LOW

Page 21: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates: AOI22

2016 Integrated Circuit Design 19:1

Inputs: A, B, C, D

pMOS pull-up

network

nMOS pull-down network

VDD

VSS

Y

Y = AB + CD

&

&

≥1

AB

C D

Y = AB + CD

Page 22: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates: AOI22

2016 Integrated Circuit Design 19:2

Y = AB + CDB

A

D

C

pMOS pull-up

network

Inputs: A, B, C, D

VDD

VSS

Y

&

&

≥1

AB

C D

Page 23: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates: AOI22

2016 Integrated Circuit Design 19:3

B

A

D

C

pMOS pull-up

network

Inputs: A, B, C, D

VDD

VSS

Y

According to de Morgan´s theorem

Y = AB + CD

Y = A + B C + D

&

&

≥1

AB

C D

Page 24: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates: AOI22

Y = A + B C + D

2016 Integrated Circuit Design 19:4

B

A

D

C

A

C

B

D

VDD

VSS

Y

Y = AB + CD

&

&

≥1

AB

C D

Page 25: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Designing gates: AOI22

2016 Integrated Circuit Design 19:5

B

A

D

C

A

C

B

D

VDD

VSS

Y

Y = AB + CD

Y = A + B C + D

&

&

≥1

AB

C D

Page 26: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Simple CMOS gates

2016 Integrated Circuit Design 20

Y A B A B Y AB A B

Page 27: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

Exercise: AOI31, OAI22

2016 Integrated Circuit Design 21

Page 28: Lecture 1 - pingpong.chalmers.se · Lecture 1 Designing CMOS gates . Lecture outline •CMOS design overview •Skills developed and knowledge gained from the course •Tool handling

End of CMOS design lecture!

2016 Integrated Circuit Design 22

Q & A?