Multi-Level Gate Networks NAND and NOR Gates Digital - PowerPoint PPT Presentation

1 / 37
About This Presentation
Title:

Multi-Level Gate Networks NAND and NOR Gates Digital

Description:

Multi-Level Gate Networks NAND and NOR Gates Digital Technology: ENEL211 Converting to NAND (or NOR) for non-alternating ANDs and ORs Consider the network below AND ... – PowerPoint PPT presentation

Number of Views:914
Avg rating:3.0/5.0
Slides: 38
Provided by: wandNetN
Category:
Tags: nand | nor | digital | gate | gates | level | multi | networks

less

Transcript and Presenter's Notes

Title: Multi-Level Gate Networks NAND and NOR Gates Digital


1
Multi-Level Gate NetworksNAND and NOR Gates
  • Digital Technology ENEL211

2
Outline
  • Gate levels in circuit networks
  • Reducing levels
  • Functionally complete sets
  • Alternative AND/NAND and OR/NOR gates
  • Designing NAND-only or NOR-only circuit networks

3
Levels of Gates in a Network
  • The number of gates cascaded in series between a
    network input the output is referred to as the
    number of levels of gates
  • Sum-of-products or product-of-sums expression
    yields a two level network
  • Note Usually networks are driven from
    flip-flop devices so that variables and their
    compliments are available therefore Inverters
    can be excluded from the level count of the
    network

4
Categories of Network
  • AND-OR 2 level with a level of AND gates
    followed by an OR gate at the output
  • OR-AND 2 level with level of OR gates followed
    by an AND gate at the output
  • OR-AND-OR 3 level with a level of OR gates
    followed by a level of AND gates then an OR gate
    at the output
  • Network of AND and OR gates multiple levels of
    AND and OR gate

5
Changing Levels in Networks
  • Levels in AND-OR networks are (usually) increased
    by factoring the sum-of-products expression.
  • Levels in OR-AND networks are (usually) increased
    by multiplying out terms in the product-of-sums
    expression
  • Increasing the levels can bring about a reduction
    in the number of gates which is good isnt it?

6
Problems with Multiple Levels of Cascading
  • Designers are concerned with the number of levels
    in networks
  • Increasing the number levels of a Network will
    increase the time between change in input and
    output
  • And slow down the operation of a digital system
  • Thus the number of levels limited by propagation
    delays of gates

7
A Four-Level Network
8
Analysis
  • Network for X has 4 levels, 6 gates and 13 inputs
  • Partially multiplying out the expression gives
    rise to a network with 3 levels, 6 gates and 19
    inputs

9
Equivalent 3 Level Network
  • No increase in the number of gates
  • But would normally expect a trade-off between
    levels and gates
  • Increase in the number inputs but does this
    matter?

10
Realising Networks with a Single Gate Type
  • Companies learned that AND-OR-NOT gates circuits
    could be implemented using only NAND or NOR gates
  • Circuits implemented using a single gate type are
    generally faster and require less components
  • Economies of scale reduced costs due to bulk
    buying
  • Though this is not applicable nowadays due to low
    price of integrated circuits

11
Functionally Complete Sets of Logic Gates
  • A set of logic operations is said to functionally
    complete if any Boolean function can be expressed
    in terms of the operations in the set

12
Example AND, OR and NOT
  • Take the set of Boolean Operations
  • AND, OR and NOT
  • Since any Boolean function can be expressed in
    sum-of-products form
  • And sum-of-products expressions only comprise of
    AND, OR and NOT operations
  • The logical set of operations AND, OR and NOT is
    therefore functionally complete

13
The NAND operation isfunctionally Complete
14
Show that the NOR operation is also Functionally
Complete
15
Design of minimum Two-Level NAND-NAND Network
  • Find the minimum sum-of-products expression
  • Draw the corresponding two-level AND-OR network
  • Replace all gates with NAND gates (leave gate
    interconnection unchanged)
  • Complement any literal inputs to the level 1 gate

16
AND-OR and Equivalent NAND-NAND
17
Design of minimum Two-Level NOR-NOR Network
  • Find the minimum product-of-sums expression
  • Draw the corresponding two-level AND-OR network
  • Replace all gates with NOR gates (leave gate
    interconnection unchanged)
  • Complement any literal inputs to the level 1 gate

18
Example XOR Gate
19
Exercise
A
AB
  • Given the truth opposite
  • Design a two-level NAND-NAND network
  • And a two-level NOR-NOR network
  • With minimum gates.
  • Assume complements are available

B
CD
D
C
20
Digital Simulation
  • If youve got Digital Works or Logisim, build the
    AND-OR network and corresponding NAND-NAND
    network and satisfy yourself that they are
    equivalent
  • And do the same for the OR-AND and NOR-NOR
    network
  • Logisim http//ozark.hendrix.edu/burch/logisim/

21
Design of Multi-Level NAND-Gate Networks
  • Specify the operation of the switching network
  • Design network with AND and OR gates.
  • Output must be an OR gate (at level 1)
  • AND gate output cannot be used as AND gate inputs
  • Or gate output cannot be used as OR gate inputs
  • Replace all gates with NAND gates
  • Invert any literals at levels, 1,3,5, (levels
    2,4,6,leave unchanged

22
Design of Multi-Level NOR-Gate Networks
  • Specify the operation of the switching network
  • Design network with AND and OR gates.
  • Output must be an AND gate (at level 1)
  • AND gate output cannot be used as AND gate inputs
  • Or gate output cannot be used as OR gate inputs
  • Replace all gates with NOR gates
  • Invert any literals at levels, 1,3,5, (levels
    2,4,6,leave unchanged

23
Exercise
  • Draw the switching network for X. Assume
    complements are available
  • Redraw it using NAND gates only

24
Multi-Level AND-OR Network
25
Equivalent NAND Network
26
Alternative NOT Gate
  • Usually the inversion bubble is placed at the
    output of gate
  • However the bubble can be placed at the input

27
Alternative AND and OR Gates
  • (By simple application of DeMorgans Law)

28
Alternative NAND and NOR Gates
  • These symbols can be used to facilitate analysis
    and design of NAND and NOR networks.

29
Example of Alternative Method
  • Consider the NAND gate network below
  • Assume compliments are available

30
Example
  • Replace the NAND gates at the 1st and 3rd level
    with their alternative symbols

31
Example
  • Double inversions cancel
  • Remove inversion bubbles for literals and replace
    with their complements

32
Exercise
  • Convert the AND-OR network below to a NOR gate
    only network using the reverse process
  • Assume compliments are available

33
Exercise Solution
  • Change OR gates to conventional NOR gate symbol
  • Change AND gates to the alternative NOR gate
    symbol
  • Invert input literals at these (AND) gates
  • Swap alternative NOR gate symbols for
    conventional NOR gates symbol (but not necessary)

34
Converting to NAND (or NOR) for non-alternating
ANDs and ORs
  • Consider the network below
  • AND and OR gates do not alternate between levels

35
First Step for NAND conversion
  • Replace ANDs with NANDs by adding inversion
    bubble to the output
  • Replace Ors with NANDs by adding inversion
    bubbles to inputs
  • But this is not an equivalent circuit

36
Second Step for NAND conversion
  • When an inverted input drives an inverted output
    no action is necessary
  • But when non-inverted input drives an inverted
    output (or the other way round) insert an
    inverter
  • Complement literals at inverted inputs

37
Exercise
  • For the function F3(0,2,3,7)8
  • Use a Karnaugh Map to derive a least minterm
    expression
  • And a least maxterm expression
  • Draw and NOR realisation of both the minterm and
    maxterm expression
  • Verify your results
Write a Comment
User Comments (0)
About PowerShow.com