Sie sind auf Seite 1von 9

Combinational Circuits

BED 30303

Combinational Logic
Circuits

Any combinational circuits can be realized


using complementary MOS (CMOS) transistor
Using static CMOS logic, given a Boolean
equation, the circuit realization using static
CMOS is done by drawing:
pull-down network using nMOS transistors
and
pull-up network using pMOS transistors

By: Assoc. Prof. Siti Hawa Ruslan


Siti Hawa Ruslan 2015

Combinational Circuits (comb.)

Combinational Circuits (cont.)

If the Boolean equation is in the form of Andor-Invert (AOI) or Or-and-Invert (OAI), then
For pull-down network or nMOS transistors
AND function
series
OR function
parallel
But for the pull-up network using pMOS
transistors
AND function
parallel
OR function
series

Siti Hawa Ruslan 2015

BED 30303

Basic Gates nMOS network

NAND

Siti Hawa Ruslan 2015

BED 30303

BED 30303

For the fully complementary


static CMOS logic circuit the
pull-up and pull-down network
are always opposite
They are a mixture of AND
and OR structures (or vice
versa) with a final inversion

Siti Hawa Ruslan 2015

BED 30303

Basic Gates pMOS network

NOR

NAND

Siti Hawa Ruslan 2015

BED 30303

NOR

Basic Gates Combination

Example 1
Y AB CD

NAND

nMOS

pMOS

Combining nMOS
and pMOS network

Siti Hawa Ruslan 2015

BED 30303

Example 1 (cont.)
Y AB CD

Siti Hawa Ruslan 2015

BED 30303

Example 2
F ab c

Final circuit using static CMOS

For term : b c

nMOS
Siti Hawa Ruslan 2015

BED 30303

Example 2 (cont.)

Siti Hawa Ruslan 2015

pMOS

Example 2 : Stick Diagram


F ab c

F ab c

Siti Hawa Ruslan 2015

10

BED 30303

BED 30303

11

Siti Hawa Ruslan 2015

BED 30303

12

Example 3

Example 3 : Stick Diagram

X a b c d

Siti Hawa Ruslan 2015

13

BED 30303

Example 4

Siti Hawa Ruslan 2015

14

BED 30303

Example 4 (cont.)
Look at the nMOS network:

Find the Boolean


equation for the circuit.

Y (a e) (b f )
Siti Hawa Ruslan 2015

BED 30303

15

Exercise 1

Siti Hawa Ruslan 2015

16

BED 30303

Exercise 1 : Solution

Design a circuit using static CMOS technique


to realize the following Boolean equation :

Y A B C D

Siti Hawa Ruslan 2015

BED 30303

Y A B C D

17

Siti Hawa Ruslan 2015

BED 30303

18

Exercise 2:

Exercise 2: Solution

Draw the stick diagram for

Y A B C D

The stick diagram

Y A B C D

Siti Hawa Ruslan 2015

Siti Hawa Ruslan 2015

BED 30303

Exercise 3

Exercise 3 (cont.)

Realize the following equation using static CMOS


logic and determine the size of the transistor to be
used such that it will be equivalent to the driving
capability on an inverter

Y D A( B C )

Siti Hawa Ruslan 2015

For the inverter:


The pull down W/L
ratio is 2/2, and the
pull up W/L ratio is
4/2
Note: Minimum L = 2

BED 30303

Transistor Sizing

Siti Hawa Ruslan 2015

6
A

21

Y D A( B C )

1
B

2C

Siti Hawa Ruslan 2015

BED 30303

Example 5

BED 30303

B
3

Combinational Gates

BED 30303

Transistor Sizing

Siti Hawa Ruslan 2015

BED 30303

Exercise 4

Example 6

Transistor Sizing

Determine the
equation for the
output of the shown
circuit and draw the
stick diagram
Y A BC DE

Siti Hawa Ruslan 2015

Siti Hawa Ruslan 2015

BED 30303

Eliminating Gap

BED 30303

Rearrange the position of the transistor to avoid gap

27

Assignment 1 :
Draw the schematic
and layout for:

Use Tanner Tools EDA to draw the schematic and


layout, simulate it and get the simulation and output
result for both the schematic and layout. Write a short
report on this assignment.
E-mail the respective files created along with the
output file using the Tanner Tools to:
sitihawa@uthm.edu.my

Siti Hawa Ruslan 2015

BED 30303

28

EX-OR

Y ABC D E

26

Eliminating Gap (cont.)

Gap should be avoided whenever possible

Siti Hawa Ruslan 2015

BED 30303

a b a b ab

Due date: Sunday 22 March 2015 (Before 5 pm)

Siti Hawa Ruslan 2015

BED 30303

29

Siti Hawa Ruslan 2015

BED 30303

30

EX-OR (cont.)

EX-OR (cont.)
a b a b ab

a b a b ab
The equation is in the form of
AND-OR (AO), thus draw the
p-MOS network first:
AND series
OR parallel
But with input inverted
Siti Hawa Ruslan 2015

BED 30303

For the nMOS network:


AND parallel
OR series
with input inverted

31

EX-OR (cont.)

Siti Hawa Ruslan 2015

EX-OR (OAI form)

a b a b ab

Same as
previous
circuit

ab ab
ab ab

Overall circuit realization


using static CMOS
Siti Hawa Ruslan 2015

32

BED 30303

(a b)( a b)
BED 30303

33

EX-OR (AOI form)

Siti Hawa Ruslan 2015

BED 30303

34

EX-OR (cont.)

Draw the stick diagram for EX-OR

a b ( a b) ( a b)

ab a b
Siti Hawa Ruslan 2015

BED 30303

35

Siti Hawa Ruslan 2015

BED 30303

36

EX-OR (cont.)

EX-OR (cont.)

Draw the stick diagram for EX-OR

Siti Hawa Ruslan 2015

37

BED 30303

EX-OR : Layout

Siti Hawa Ruslan 2015

38

BED 30303

EX-OR (AOI form)

Which one is
the best
layout ?

Siti Hawa Ruslan 2015

Draw the stick diagram for EX-OR

39

BED 30303

Transmission Gate

Exercise:
Draw the stick
diagram for the
shown EX-OR
circuit

Siti Hawa Ruslan 2015

40

BED 30303

EX-OR using Transmission Gate


Symbol

Or :

a b

y as
Siti Hawa Ruslan 2015

If s =1: y = a
If s =0: y a
BED 30303

(both transistors ON)


(both transistors OFF)
41

a b

Only 4 transistors are used


Siti Hawa Ruslan 2015

BED 30303

42

EX-NOR

EX-OR using Transmission Gate


If b = 0
both upper transistors are ON
so y = a

a b

a b ab ab

If b = 1
both lower transistors are ON
so y = a
Siti Hawa Ruslan 2015

BED 30303

43

EX-NOR (cont.)

a b ab ab

Same as
previous
circuit

(a b)(a b)

In AOI form

Siti Hawa Ruslan 2015

BED 30303

44

BED 30303

EX-NOR (cont.)

a b ab ab

Siti Hawa Ruslan 2015

45

EX-NOR (cont.)

In OA form

Siti Hawa Ruslan 2015

BED 30303

46

EX-NOR (cont.)

Draw the stick diagram for EX-NOR

a b ab ab
(a b)( a b)
ab a b
Siti Hawa Ruslan 2015

BED 30303

47

Siti Hawa Ruslan 2015

BED 30303

48

EX-NOR (cont.)

EX-NOR using Transmission Gate


Exercise: Draw the
stick diagram for EXNOR

a b ab ab
(a b)( a b)
ab a b

Only 4 transistors are used


Siti Hawa Ruslan 2015

49

BED 30303

Siti Hawa Ruslan 2015

BED 30303

50

Combinational Circuit

EX-NOR using Transmission Gate


Or :

f2

x1
x2

a b

Siti Hawa Ruslan 2015

BED 30303

51

x3
f1

Siti Hawa Ruslan 2015

BED 30303

THANK YOU

Siti Hawa Ruslan 2015

BED 30303

53

Das könnte Ihnen auch gefallen