Presentation is loading. Please wait.

Presentation is loading. Please wait.

EE210 Digital Electronics Class Lecture 9 April 08, 2009.

Similar presentations


Presentation on theme: "EE210 Digital Electronics Class Lecture 9 April 08, 2009."— Presentation transcript:

1 EE210 Digital Electronics Class Lecture 9 April 08, 2009

2 2 Digital CMOS Logic Circuits In This Class We Will Discuss: 10.3 CMOS Logic-Gate Circuits

3 Chapter 10:Digital CMOS Logic Circuits Chapter 10: Digital CMOS Logic Circuits We will Start from 10.3 CMOS Logic-Gate Circuits But First Home Work# 03…

4 Home Work# 03… For the circuit in Fig., consider the application of inputs of 5 V and 0.2 V to X and Y in any combination,and find the output voltage for each combination. Tabulate your results. How many input combinations are there? (4 Marks) What happens when any input is high? (3 Marks) What happens when both inputs are low? (3 Marks)

5 10.3 CMOS Logic-Gate Circuits Using Inverter knowledge we consider CMOS ckts that realize combinational- logic functions In combinational ckts output at any time is function only of the value of input signal at that time. Thus, these do not have memory. Combinational-logic circuits are used in large quantities in many applications. Indeed, every digital system contains large numbers of Combinational-logic circuits

6 10.3.1 Basic Structure CMOS logic ckt is extension or generalization of the CMOS Inverter As we learned, CMOS inverter consists of NMOS pull-down transistor, and a PMOS pull-up transistor, operated by input voltage in complementary fashion

7 10.3.1 Basic Structure CMOS Logic Gate has two Networks: Pull-Down Network (PDN) constructed of NMOS transistors and Pull-up Network (PUN) constructed of PMOS Transistors Two Networks are Operated by Input Variables, in Complementary fashion

8 10.3.1 Basic Structure PDNWhen All Three input combinations are High PDN will conduct and will Pull the output node down to Ground making Output Low (Y=0) (Voltage Zero) Simultaneously, PUN will be OFF and no path will Exists between V DD and Ground

9 10.3.1 Basic Structure PUNWhen All Three input combinations are Low PUN will conduct and will Pull the output node Up to V DD making Output High (Y=1) (Voltage = V DD ) Simultaneously, PDN will be OFF and no path will Exists between V DD and Ground

10 10.3.1 Basic Structure PDN and PUN each Utilize Devices in Parallel to form an OR Function PDN : Q A will conduct when A is Hi and will Pull the Output Down to ground (Y=0) Q B will conduct when B is Hi and will Pull the Output Down to ground (Y=0) Thus Y=0, when A OR B is High

11 10.3.1 Basic Structure PDN and PUN each Utilize Devices in Parallel to form an OR Function PUN : Q A will conduct when A is Lo and will Pull the Output Up to V DD (Y=1) Q B will conduct when B is Lo and will Pull the Output Up to V DD (Y=1). Thus Y=1 (Hi), when A OR B is Lo

12 10.3.1 Basic Structure PDN and PUN each Utilize Devices in Series to form an AND Function PDN : Q A and Q B will conduct ONLY when both A and B are Hi Simultaneously. Thus Y=0 (low), when A is High AND B is High

13 10.3.1 Basic Structure PDN and PUN each Utilize Devices in Series to form an AND Function PUN : Q A and Q B will conduct ONLY when both A and B are Lo Simultaneously. Thus Y=1 (High), when A is High AND B is High

14 10.3.1 Basic Structure PDN : Y=0 (low), when A is High OR when A AND B are both High

15 10.3.1 Basic Structure PUN : Y=1 (low), when A is Lo OR when A AND B are both Lo

16 10.3.1 Basic Structure After understanding structure and operation of PDNs and PUNs we will consider complete CMOS gates BUT Before that we need to introduce alternative ckt symbols which are almost universally used for MOS transistors by digital-ckt designers

17 10.3.1 Basic Structure Circle at Gate Terminal for PMOS indicate that the Signal at gate has to be low for it to be activated (conduct) These symbol omit indication of source and drain

18 Basic Boolean Identities Fundamental Laws: ORANDNOT (Inverter) Associative Law: Commutative Law

19 Basic Boolean Identities Distributive Law: DeMorgan’s Law: Auxiliary Identities:

20 PDN : Y=0 (Low), when A OR B is High PUN : Y=1 (High), when A is Low AND B is Low

21 10.3.2 Two Input NOR Gate Combining both PDN and PUN realizes Complete CMOS NOR Gate with NOR Function InputOutput ABY 001 010 100 110

22 PDN : Y=0 (low), when A is High AND B is High PUN : Y=1 (Hi), when A OR B is Lo

23 10.3.3 Two Input NAND Gate Combining both PDN and PUN realizes Complete CMOS NAND Gate with NAND Function InputOutput ABY 001 011 101 110

24 10.3.4 A Complex Gate Consider More Complex Logic Function Y should be Low for A High AND Simultaneously either B High OR C AND D both High. The PDN for this is. To get PUN we need to Express Y in terms of Complemented variables

25 10.3.4 A Complex Gate So we use DeMorgan’s Law Thus, Y is High for A OR B Low AND either C OR D Low. Thus PUN for this is.

26 10.3.4 A Complex Gate Combining both PDN and PUN realizes Complete CMOS Complex Gate Function

27 10.3.5 Obtaining PUN from PDN So far, we have seen that PDN and PUN are dual networks: A series branch exist in one and Parallel branch exist in other. Thus, we can obtain one from the other – a simple process than using Boolean expressions. For Complex Gate we found PDN relatively easy Y (bar) in terms of un- complemented inputs. We could obtain PUN using this duality method instead of Boolean Expression.

28 10.3.5 Obtaining PUN from PDN

29 Complex Gate using duality of both PDN and PUN

30 10.3.6 Exclusive OR Function (XOR) An important Function that is often used in logic design is the Exclusive-OR (XOR) function: Y instead of Y(bar) is given so we can synthesize PUN easily. Unfortunately Y is not function of complemented variables only, thus we will need additional inverters.

31 10.3.6 Exclusive OR Function (XOR) PUN Obtained directly from: Note that we have used two inverters to generate A(bar) and B(bar) PDN can be synthesized from PUN using duality or developing the Y(bar) expression.

32 10.3.6 Exclusive OR Function (XOR) First: PDN from PUN using duality Second: develop the Y(bar) expression using DeMorgan Law on Gives

33 10.3.6 Exclusive OR Function (XOR) So the complete XOR using PUN and PDN Note that we have used two inverters to generate A(bar) and B(bar) which are not shown. XOR requires 12 transistors

34 10.3.7 Synthesis Method Summary To synthesize PDN we need Y(bar) expression in terms of uncomplemented variables. If complemented variables appear in expression we need inverters. To synthesize PUN we need Y expression in terms of complemented variables and then apply uncomplemented variables to the gates of PMOS transistors. If uncomplemented variables appear in expression we need inverters. PDN can be obtained from PUN (and vice versa) using duality

35 In Next Class We Will Continue to Discuss: CMOS Logic Gates


Download ppt "EE210 Digital Electronics Class Lecture 9 April 08, 2009."

Similar presentations


Ads by Google