Top Banner
VLSI Design Lecture# 05 VLSI Design 1
28

CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Dec 24, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

VLSI DesignLecture# 05

VLSI Design

1

Page 2: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Lab 02 Discussions2

Pre Lab Tasks

Design a full adder using basic logic gates and verify the functionality

using truth tables.

Design a transmission gate and verify its functionality using DSCH3 tool.

Create a schema symbol for the gate which will be used for in-lab

tasks.

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 3: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Lab 02 Discussions3

In Lab Task - 1

Design a half adder using CMOS schematic of basic logic gates (XOR, AND).

Verify the functionality of half adder using DSCH3 tool with all possible inputs.

Make a schema symbol for half adder.

Use the symbols to build schematic for full adder which include half_adder and OR gate.

Use complementary nMOS and pMOS for schematic of basic gates.

Design your schematic in DSCH3 tool.

Simulate the design and verify the functionality of the design.

Make the verification table which includes all the inputs and corresponding outputs for the schematic.

Use space below for Task 1, show your results to your instructor before you move on.

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 4: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Lab 02 Discussions4

In Lab Task - 2

Design an XOR gate using TG and CMOS transistors. Show your

schematic to instructor before you continue.

Verify the functionality of XOR gate using DSCH3 tool with all possible

inputs.

Make the verification table (in space given below) which includes all

the inputs and corresponding outputs for the schematic.

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 5: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Lab 02 Discussions5

In Lab Task - 3

Design 1-bit Full Adder using Transmission Gates (show your designing

process in space below) and verify its functionality in DSCH3 tool.

Make a schema symbol for 1-bit full adder.

Create 4-bit full adder/subtractor by using schema symbol made in

last step (show schematic below).

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 6: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Assignment No 1. Part 3

6

Make Following Logic Gates using Transmission Gate

logic. Verify the functionality of Logic Gates using truth

table mentioning state (Open/Close) of all the

transistors.

AND

NAND

OR

NOR

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 7: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Physical Structure

of CMOS ICs - 1Lecture# 05

VLSI Design

7

Page 8: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Physical Structure of CMOS IC

A CMOS IC is a electronic switching network

Created in a small area

Using complex physical and chemical processes

In the design hierarchy the last task is to

Translate circuit schematics in to silicon form

Called physical design

In this chapter we will examine the structure of CMOS

IC

At the microscopic level

8

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 9: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

A silicon IC is a collection of patterned material layers

The layers are of metals, insulators and semiconductor

(silicon)

The layers are stacked upon one another in a specific order

To form 3D structures that act as electronic switching

network

The silicon forms the transistors, diodes etc.

Metals forms the interconnects and contacts

The insulator do their job of blocking current (insulating layers)

Usually when designing layout, the insulating layers are

implied

And not explicitly shown in the design

Insulating layers are usually silicon dioxide (SiO2) called quartz

glass

Which is visually transparent

9

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 10: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

Consider an example

With two layers

As shown in figure

Metal 1 and Substrate

Is electrically isolated by insulator

10

Insulator

Substrate

Metal 1

Side view

Top view

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 11: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

The metal 1 layer is filled/coated

with insulator

Then it is subjected to CMP

Chemical Mechanical Planarization

In which the surface is etched and sanded

To flat the surface for next layer

Next, the surface is coated with

Metal 2 layer,

As shown in figure

Points to Remember

Side view shows, order of stacking

Top view shows, pattern of each layer

11

Insulator

Top view

Substrate

Metal 1Metal 2

Side view

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 12: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

Logic gates or transistors send/receive electronic signal in

an IC

Using patterned metal lines acting as wires, called

interconnects

The level of electric current flow (signal transfer speed)

depends upon

Physical characteristics of the material and dimensions

Consider a voltage 𝑉𝑥 applied to a metal line

Causing current 𝐼𝑥 to flow, which depends on line resistance

𝑅𝑙𝑖𝑛𝑒

𝑅𝑙𝑖𝑛𝑒 is classified as parasitic resistance, because it is

undesired

And should be kept minimum

12

Interconnect Resistance and Capacitance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 13: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

The value of 𝑅𝑙𝑖𝑛𝑒 for a given line can be calculated

Using geometry, as shown in figure

The length is 𝑙 and cross-sectional area 𝐴 = 𝑤𝑡

13

𝑡

𝑙

𝑤

Conductivity

𝜎

The conductivity 𝜎 (units Ω − cm −1)◦ Characteristics of the material

◦ Represents the ease for current flow

◦ Resistivity is reciprocal of conductivity

𝜌 = 1/𝜎

So, 𝑅𝑙𝑖𝑛𝑒 =𝑙

𝜎𝐴= 𝜌

𝑙

𝐴

Interconnect Resistance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 14: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

Thickness “𝑡” and conductivity “𝜎”

Is specified by manufacturing process

So regrouping 𝑅𝑙𝑖𝑛𝑒 equation

𝑅𝑙𝑖𝑛𝑒 =1

𝜎𝑡

𝑙

𝑤

The first term is known as sheet resistance

𝑅𝑠 =1

𝜎𝑡=

𝜌

𝑡

Please note that a square (in top view)

Where 𝑙 = 𝑤

Will have 𝑅𝑙𝑖𝑛𝑒 = 𝑅𝑠𝑤

𝑤= 𝑅𝑠

14

Interconnect Resistance

𝑤

𝑙

X Y

1 square (with resistance 𝑅𝑠)

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 15: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

In order to find resistance of a line, it can be divided 𝑛 squares

of

Resistance 𝑅𝑠 each

𝑅𝑙𝑖𝑛𝑒 = 𝑅𝑠 × 𝑛 where 𝑛 =𝑙

𝑤

Here 𝑛 is not restricted to integer values

Line resistance depends on

Ratio of 𝑙/𝑤

The speed of signal transmission

Depends on 𝑅𝑙𝑖𝑛𝑒

Small 𝑅𝑙𝑖𝑛𝑒

Allows high current flow

Hence high-speed

15

All these resistances are 𝑅𝑠Fraction of

𝑅𝑠

X Y

Interconnect Resistance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 16: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

Interconnect lines also demonstrate the property of capacitance

Which is charge storage capacity

Hence can be modelled as capacitor

The charge stored due to steady state voltage 𝑉

𝑄 = 𝐶𝑉 (where 𝐶 is capacitance of the interconnects in this case)

Capacitance resists sudden change in voltage

restricts maximum operating frequency, let’s see how

Capacitance exists between two conductors

Which are electrically separated

Like an interconnect separated from substrate, by insulating silicon

dioxide

The capacitance depends upon geometry of the line

16

Interconnect Capacitance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 17: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

The capacitance of a line, shown in figure,

using parallel plate formula is

𝐶𝑙𝑖𝑛𝑒 =𝜖𝑜𝑥𝑤𝑙

𝑇𝑜𝑥

𝜖𝑜𝑥 is permittivity of SiO2 material

𝑇𝑜𝑥 is thickness of SiO2 layer

The interconnect piece with capacitance

𝐶𝑙𝑖𝑛𝑒

Is just a portion of a long interconnect

With resistance 𝑅𝑙𝑖𝑛𝑒 from source to this point

So when a voltage is applied a source

It slowly changes at the end, defined by

time constant

𝜏 = 𝑅𝑙𝑖𝑛𝑒𝐶𝑙𝑖𝑛𝑒

This time constant limits speed of the

network

17

𝑤

𝑇𝑜𝑥

𝑙

Interconnect Capacitance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 18: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Integrated Circuit Layers

The parasitic 𝑅 and 𝐶

Cause signal delay

From source to end (next gate)

When the input signal changes

From 0 to 1

It slowly reflect at the end of the

interconnect

In order to limit the delays

The RC time constant must be

small

Both 𝑅𝑙𝑖𝑛𝑒 and 𝐶𝑙𝑖𝑛𝑒 must be

small

** The actual RC model is

complex than the one we used

here

18

𝑣𝑠 𝑡 𝑣𝑐 𝑡

𝑅𝑙𝑖𝑛𝑒

𝐶𝑙𝑖𝑛𝑒

Voltage(V)

𝑣𝑠 𝑡

𝑣𝑐 𝑡

Time (s)𝜏

l

vs(t) vc(t)

Source Signal

Next Logic Gate

Interconnect Capacitance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 19: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

MOSFETs

CMOS gates are made of complementary

MOSFETs

It is important to understand MOSFET at physical

level

To start with, consider an nMOS with

Two set of patterned layers

The gate electrode acts as control terminal

When voltage is applied to gate, the switch is

closed

and vice versa

The voltage at gate controls current flow

between source and drain terminals

Consider a signal ‘G’ applied at gate terminal

Gate signal is responsible for absence or presence of

conducting region

19

Gate

Source Drain

Gate

Source Drain

A B

G = 0

A B

G = 1

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 20: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

MOSFETs: Physical Structure

Source and Drain are on same

layer, above substrate

But physically separated

From one another by distance

called channel length 𝐿

Width of the Source and drain

Is called channel width 𝑊

The aspect ratio 𝑊/𝐿 is an

important parameter in VLSI Design

The gate is separated from substrate

By silicon dioxide (glass) layer

20

𝑊

𝐿Source

Drain

Silicon

dioxide

insulatorGate

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 21: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

MOSFETs: Physical Structure

The stacking of layers, generates a 3D

structure

So we will use both side and top view

The 𝑆𝑖𝑂2 layer separating substrate and

gate

May be referred as gate oxide

The simplified view of MOSFET shown

earlier shows only layers and patterns

Does not specify sizes

nMOS has negatively charged electrons

(drain and source), in p-substrate

Excess electrons in drain and source

regions

pMOS has p+ drain and source, in n-well

Excess holes in drain and source regions

21

𝐿

Gate

Gate Oxide

Drain

Source

Side View

𝑊 Source Drain

Gate

Top ViewDr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 22: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Electrical Conduction in Silicon

In pure crystalline form, silicon is a poor conductor (semiconductor)

Atomic density of 𝑁𝑆𝑖 = 5 × 1022 cm−3

Small number of electrons are available for current flow

Due to thermal excitation, upon gaining thermal energy,

jump from valance to conduction band

A sample of purse silicon crystal is an intrinsic material

The number of free electrons represented by 𝑛𝑖 (intrinsic carrier density)

𝑛𝑖 is a function of temperature. At 27 °C, 𝑛𝑖 = 1.45 × 1010 cm−3

The value of 𝑛𝑖 is very small compared to 𝑁𝑆𝑖

Upon gaining thermal energy an electron may break its covalent

bond

It becomes a free (mobile) electron, leaving behind a vacancy, called a

hole

The two newly created particles are independent, but known as electron-

hole pair

22

Interconnect Capacitance

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 23: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Electrical Conduction in Silicon

It is important to study free charge carriers

As they are responsible for current flow

As discussed earlier, the process of electron-hole pair generation

An intrinsic material will have same number of electrons and holes

𝑛 = 𝑝 = 𝑛𝑖 (𝑛 is number of free electrons, 𝑝 is number of holes)

The product of 𝑛 and 𝑝, 𝑛𝑝 = 𝑛𝑖2

Is called mass-action law and governs relative carrier density

When a material is in equilibrium (no current is flowing)

Can we use devices with intrinsic properties?

23

Charge Carriers

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 24: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Electrical Conduction in Silicon

It is important to study free charge carriers

As they are responsible for current flow

As discussed earlier, the process of electron-hole pair generation

An intrinsic material will have same number of electrons and holes

𝑛 = 𝑝 = 𝑛𝑖 (𝑛 is number of free electrons, 𝑝 is number of holes)

The product of 𝑛 and 𝑝, 𝑛𝑝 = 𝑛𝑖2

Is called mass-action law and governs relative carrier density

When a material is in equilibrium (no current is flowing)

In order to increase charge carrier

Intrinsic silicon is doped with trivalent or pentavalent impurity

24

Charge Carriers

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 25: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Electrical Conduction in Silicon

Pentavalent impurity (Phosphorus or Arsenic atoms), donor impurity

Donate an electron to crystal, making the semiconductor n-type

The number of donor impurity atoms added to a 𝑐𝑚3 is given by 𝑁𝑑

Donor doping concentration (𝑁𝑑) is typically between 1016 to 1019

As intrinsic semiconductor has small number of electrons

So if doping concentration is high, and, each atom donates one electron

# of electrons (𝑛𝑛) in n-type material, will be 𝑛𝑛 ≈ 𝑁𝑑

# of holes (𝑝𝑛) in n-type material, will be given by mass-action law, 𝑝𝑛 ≈𝑛𝑖2

𝑁𝑑

Note that 𝑝𝑛 will have even lower value than 𝑝 of intrinsic material

As some of the newly donated electrons will recombine with holes

In an n-type sample, electrons are majority & holes are minority

carriers

25

Donor Doping

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 26: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Electrical Conduction in Silicon

Trivalent impurity (Boron etc. atoms), acceptor impurity

accepts an electron from crystal, leaves a hole, making

semiconductor p-type

The number of acceptor impurity atoms added to a 𝑐𝑚3 is given by

𝑁𝑎

Acceptor doping concentration (𝑁𝑎) is typically between 1014 to

1019

Adding acceptor impurity will result in increased # of holes

# of hole (𝑝𝑝) in p-type material, will be 𝑝𝑝 ≈ 𝑁𝑎

# of electrons (𝑛𝑝) in p-type material, will be 𝑛𝑝 ≈𝑛𝑖2

𝑁𝑎

Also 𝑛𝑝 will have even lower value than 𝑛 of intrinsic material

As some of the newly created holes will recombine with electrons

In an p-type sample, holes are majority & electrons are minority

carriers

26

Accepter Doping

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 27: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Electrical Conduction in Silicon

The conductivity of a semiconductor is given by σ = 𝑒 (μ𝑛𝑛 + μ𝑝𝑝)

Here

σ = Conductivity

μ𝑛 = Mobility of electrons

μ𝑝 = Mobility of holes

𝑒 = Electronic Charge

27

Conductivity of a Semiconductor

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad

Page 28: CALL, Timing and pipeliningsaqazi.com/EEE434/SP20_VLSI_Lecture05_20200225_Physical... · 2020. 3. 1. · 4 Lab 02 Discussions In Lab Task - 2 Design an XOR gate using TG and CMOS

Class Exercise - 128

Consider an Si sample with intrinsic concentration of 1.45 𝑥 1010,

that is doped p-type with boron added at a density of 1015

𝑐𝑚−3. Mobility of electrons is 1350𝑐𝑚2

𝑉𝑠and holes is 450

𝑐𝑚2

𝑉𝑠

Calculate

The majority charge carriers i.e. no. of holes.

Minority charge carriers i.e. electrons.

Conductivity of material.

Dr. Sohaib Ayyaz Qazi | COMSATS University Islamabad