Top Banner
240-451 VLSI le Lecture 4 Lecture 4 MOS Circuits mputer Engineering, Prince of Songkla University by Wannarat
21

240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

Mar 31, 2015

Download

Documents

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: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Lecture 4Lecture 4

MOS Circuits

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Page 2: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Combination & Sequential

Logic

Circuit

Logic

CircuitOut

OutInIn

(a) Combinational (b) Sequential

State

Output = f(In) Output = f(In, Previous In)

Page 3: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Combination & Sequential

Page 4: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

CMOS logic style

Page 5: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Example NAND gate

Page 6: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

4-input NAND gate

Out

In1 In2 In3 In4

In3

In1

In2

In4

In1 In2 In3 In4

VDD

Out

GND

VDD

Page 7: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Example : NOR gate

Page 8: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Complex CMOS gate

Page 9: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Complex gate structures

A

C

B

A

B C

Vdd

Gnd

OutOut = A+(B*C) ...

ABC

And-Or-Invert (AOI)

How to add terms?

Page 10: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

A

C

B

A

B C

Vdd

Gnd

OutOut = A+(B*C) ...

ABC

And-Or-Invert (AOI)

How to add terms?

OAI/AOI duality

Page 11: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Demorgan’s law in action

Out = A*(B+C) ...

ABC

Or-And-Invert (OAI)

A

C

B

A

B

C

Vdd

Gnd

Out

Page 12: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Demorgan’s law in action

Out = A*(B+C) ...

ABC

Or-And-Invert (OAI)

A

C B A

BC

Vd

dGn

d

Ou

t

Page 13: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Demorgan’s law in action

Out = A*(B+C) ...

ABC

Or-And-Invert (OAI)

A

C

B

A

B

C

Vdd

Gnd

Out

Page 14: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Demorgan’s law in action

Out = A*(B+C) ...

ABC

Or-And-Invert (OAI)

A

C

B

A

BC

Vdd

Gnd

Out

Page 15: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Demorgan’s law in action

Out = A*(B+C) ...

ABC

Or-And-Invert (OAI)

A

C

B

A

BC

Vdd

Gnd

Out

What is the Magic command to do this?

Page 16: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

OAI/AOI duality

B

A

C

OUT

A

C

B

A

B C

Vdd

Gnd

Out

A

B

C

OUT

A

C

B

A

BC

Vdd

Gnd

Out

Page 17: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Step by step layout XNOR gate

• The equation for XNOR is:

– f = (a * b) + (a' * b')

• using DeMorgan's law on each of the two terms gives:

– f = (a'+ b')' + (a + b)'

• using DeMorgan's law on the two terms together gives:

– f = ((a'+ b') * (a + b))'

• This could be directly implemented with a single complementary CMOS gate: the equation is in a simple negated product of sums form. This form can be implemented with the standard Or-And-Invert (OAI) style gate.

Page 18: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Non-inverter input

• However, using DeMorgan's law one more time on the left term gives:

– f = ((a * b)' * (a + b))’

• This form uses no inverted inputs and can be implemented with two gates a NAND gate and an OAI gate.

ab f

Page 19: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Logic Graph

Page 20: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Example CMOS

Page 21: 240-451 VLSI lecture, 2000 Lecture 4 MOS Circuits Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut.

240-451 VLSI lecture, 2000

Department of Computer Engineering, Prince of Songkla University by Wannarat Suntiamorntut

Complex CMOS graph