the design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfconnection of...

22
2.2 CMOS static logic gates The design of primitive logic gates

Upload: others

Post on 29-Jun-2020

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

2.2 CMOS static logic gates

The design of primitive logic gates

Page 2: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

CMOS

2

CMOS = Complementary MOS

• The process technology to integrate p-ch MOSFETs andn-ch MOSFETs

• The circuit structure with p-ch MOSFETs and n-chMOSFETs

This term has two meanings.

Page 3: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

MOSFET switch

3

MOSFET symbol with 3 terminals

MOSFET symbol with 4-terminals Analogy of switch

p-ch

n-ch

VG = Low VG = High

Page 4: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

Combinational logic Sequential logic

1 stage 2 stages Latch Flip-flop

Primitive logic gates

4

Page 5: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

5

InverterSymbol

Schematic

Truth tableIN OUT0 11 0

p-ch

n-ch

The terminal of OUT is switched to VDD or GND.

Page 6: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

Connection of body terminal

6

p-ch

n-ch

The MOSFET cannot turn on the GND. A p-ch MOSFET can output VDD.

A n-ch MOSFET can output GND.The MOSFET cannot turn on the VDD.

Page 7: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

7

General form of the static logic

PUN

PDN

OUT

IN1

IN2

VDD

GND

Pull-down Network

Pull-up Network

A pull-up network is a switch network for VDD.

A pull-down network is a switch network for GND.

Page 8: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

2-input switch networks

8

PUN consists of p-ch MOSFETs.

PDN consists of n-ch MOSFETs.

Page 9: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

9

Function of 2-input NANDSymbol

A B Y0 0 10 1 11 0 11 1 0

Truth table

BA

BAY

de Morgan's laws

(1) The expression of each variable negation(2) The expression of the total negation

At first, find 2 equivalent Boolean expressions.

p-ch MOSFET network

n-ch MOSFET network

Note: If you cannot find the equivalent Boolean expressions, there is no logic circuit that consists of 1-stage.

Page 10: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

10

Design of 2-input NAND

BA

BA

Y

PUN

PDN

If A=0 OR B=0, then Y=1

If A=1 AND B=1, then Y=0

Connection of PUNand PDN

PUN

PDN

Page 11: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

11

Function of 2-input NORSymbol

A B Y0 0 10 1 01 0 01 1 0

Truth table

BA

BAY

de Morgan's laws

p-ch MOSFET network

n-ch MOSFET network

Page 12: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

12

Design of 2-input NOR

BA

BA

Connection of PUNand PDN

Page 13: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

Design of AND, OR

13

BABA

BABA

AND

OR

PUN and PDN cannot build the operations shown above.

AND operation and OR operation require 2 stage(*) logic circuits.

1-stage + 1 stage* Stage: 段数

Page 14: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

14

Multi-input gates

DCBA

DCBAY

DO not over 4-input.

PDN

PUN

Too much number of inputs causes a delay times, because the n-chMOSFETs connected in series reduce the current flowing to GND.

Page 15: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

15

8-input NAND

HGFEDCBA

H)GFE(D)CB(A

HGFEDCBAY

de Morgan's laws

1 stage 2 stages+

Page 16: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

16

8-input AND

HGFEDCBA

H)GFE(D)CBA(HGFEDCBAY

de Morgan's laws

1 stage 1 stage+

Page 17: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

Counting method of gate stages

• A number of stages is defined as a maximum number of gate electrodes of MOSFET on the path from an input port to an output port.

17

1 2

21Example of 2- stage gate

Page 18: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

Propagation delay

• A propagation delay (伝搬遅延時間) is defined as a time between 50% points of input and output.

• The propagation delay tlogic of the logic circuit is estimated from the number of stages K and the propagation delay td of 1-stage gate.

18

Page 19: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

19

3-input AND-NOR gate 1

CB)(AZ

10 MOSFETs

(4) (4)(2)

3 stages

Construction by PUN and PDN

AND-NOR and OR-NAND are also called a complex gate (複合ゲート).

Page 20: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

20

3-input AND-NOR gate 2

C)BA(

CBA

CB)(AY

C)BA(

CB)(A

6 MOSFETs,1 stage

VDD

A B

C

de Morgan's laws

Page 21: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

21

3-input OR-NAND gate 1

CB)(AY

10 MOSFETs

(4) (4)(2)

3 stages

Construction by PUN and PDN

Page 22: The design of primitive logic gatesjaco.ec.t.kanazawa-u.ac.jp/edu/micro1/pdf/2.2.pdfConnection of body terminal 6 p-ch n-ch The MOSFET cannot turn on the GND. A p-ch MOSFET can output

22

3-input OR-NAND gate 2

C)BA(

CBA

CB)(AY

C)BA(

CB)(A

6 MOSFETs,1 stage

de Morgan's laws