ScholarQuill logoScholarQuillUniversity Notes
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
Study Tools
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
Contact
ScholarQuill logo
My Semester
Explore Notes
Past Papers12 New
Video CoursesNew
Search
Settings
GPA/CGPA Calculator
Schedule & To-Do
Student Portal
Contact
ScholarQuill logoScholarQuillUniversity Notes
Study PortalCC-110Nand Nor Implementatio…
Ctrl + K
Login
Explore
Search
Semester
Papers
CGPA
    CC-110

    Digital Logic Design

    Progress0 / 63 done
    Topics63
    1Introduction to Digital Systems2Number Systems3Introduction to Boolean Algebra4Basic theorems and properties of Boolean Algebra5Boolean Functions6Logic Gates7NAND and NOR Implementation8Representation of Function in Sum of Minterms or Product of Maxterms9Simplification of Boolean function using Karnaugh Map10Don't care Conditions11The Tabulation Method12Introduction to Combinational Logic13Design of Adders14Design of Subtractors15Code Convertors16Analysis Procedure of Combinational Circuits17Binary Parallel Adders18Decimal Adders19Magnitude Comparator20Decoders and its applications21Multiplexers22Demultiplexers23Encoders24ROM25Programmable Logic Array (PLA)26Introduction to Sequential Circuits27Basic Flip Flop28Clocked RS Flip Flop29Clocked D Flip Flop30Clocked JK Flip Flop31Clocked T Flip Flop32Analysis of Clocked Sequential Circuits33State Reduction and Assignment34Flip Flop Excitation tables35Design Procedure36Design of Counters37Design with State Equations38Introduction to Registers39Shift Registers40Ripple Counters41Synchronous Counters42Timing Sequences43Memory Unit44Random Access Memory45Introduction to Programmable Logic Devices (CPLD, FPGA)46Lab Assignments using tools such as Verilog HDL/VHDL, MultiSim47Familiarization with Digital Electronic Trainer48Logic gates operations49Half Adder Operation50Full Adder Operation51Half Subtractor Operation52Full Subtractor Operation537-Segment Display Operation54Decoder Operation55BCD To 7-Segment Display56Multiplexer Operation57Using Multiplexer and Demultiplexer/Decoder58Multiplexing 7-Segment Displays59Comparator Operations60D Latch and Flip-Flop Operation61Latching BCD Data for Displaying On 7-Segment Display62JK Flip-Flop Operation63Random Access Memories
    7 min read
    Topic 7 of 63
    Topic Study Note Illustration
    07

    NAND and NOR Implementation

    NAND and NOR Gate Implementation

    NAND and NOR Gate Implementation

    Both NAND and NOR gates are universal gates in digital logic design. This means that any Boolean function can be implemented using only NAND gates or only NOR gates. They are particularly useful in digital circuits because they are simple to construct and, in many cases, can reduce the cost and complexity of a circuit.

    1. NAND Gate Implementation

    Logic gate
    Visual ReferenceLogic Gate
    Wikipedia

    The NAND gate is the negation of the AND gate. It outputs 0 only when both inputs are 1, and outputs 1 for all other combinations of inputs.

    Truth Table for NAND Gate:

    A B A ⊼ B
    0 0 1
    0 1 1
    1 0 1
    1 1 0

    Symbol:

    The symbol for the NAND gate is the same as the AND gate, but with a small circle (inversion) at the output.

    Boolean Expression for NAND:

    F=A NAND B=A∧B‾F = A \, \text{NAND} \, B = \overline{A \land B}F=ANANDB=A∧B

    Implementation Using NAND Gates:

    Since the NAND gate is universal, any Boolean function can be implemented using only NAND gates. Here are some common logic gates implemented using only NAND gates:

    • NOT Gate using NAND:

      • A NOT gate is simply the negation of the input.

      • To implement a NOT gate using NAND, connect both inputs of the NAND gate to the same variable: ¬A=A NAND A=A∧A‾=A‾\neg A = A \, \text{NAND} \, A = \overline{A \land A} = \overline{A}¬A=ANANDA=A∧A=A

      • Implementation:

        • Input A → Both inputs of the NAND gate.
        • Output = NOT A.
    • AND Gate using NAND:

      • An AND gate can be created by using a NAND gate followed by a NOT gate.

      • AND using NAND: A∧B=A NAND B‾A \land B = \overline{A \, \text{NAND} \, B}A∧B=ANANDB

        • Implementation:
          1. First, use a NAND gate to compute A NAND BA \, \text{NAND} \, BANANDB.
          2. Then, pass the output through a second NAND gate with both inputs connected to the output of the first gate.
      • Circuit:

        • First NAND gate: Inputs A and B → Output: A NAND BA \, \text{NAND} \, BANANDB
        • Second NAND gate: Inputs A NAND BA \, \text{NAND} \, BANANDB and A NAND BA \, \text{NAND} \, BANANDB → Output: A∧BA \land BA∧B.
    • OR Gate using NAND:

      • An OR gate can be constructed by using the De Morgan's Law: A∨B=A‾∧B‾‾A \lor B = \overline{\overline{A} \land \overline{B}}A∨B=A∧B

      • Using NAND gates, the expression becomes: A∨B=(A NAND A) NAND (B NAND B)A \lor B = (A \, \text{NAND} \, A) \, \text{NAND} \, (B \, \text{NAND} \, B)A∨B=(ANANDA)NAND(BNANDB)

      • Implementation:

        • First NAND gate: Input A and A → Output: ¬A\neg A¬A
        • Second NAND gate: Input B and B → Output: ¬B\neg B¬B
        • Third NAND gate: Inputs from the two previous gates → Output: A∨BA \lor BA∨B.

    2. NOR Gate Implementation

    The NOR gate is the negation of the OR gate. It outputs 1 only when both inputs are 0, and it outputs 0 for all other combinations of inputs.

    Truth Table for NOR Gate:

    A B A ⊽ B
    0 0 1
    0 1 0
    1 0 0
    1 1 0

    Symbol:

    The NOR gate symbol is similar to the OR gate symbol, but with a small circle (inversion) at the output.

    Boolean Expression for NOR:

    F=A NOR B=A∨B‾F = A \, \text{NOR} \, B = \overline{A \lor B}F=ANORB=A∨B

    Implementation Using NOR Gates:

    Just like the NAND gate, the NOR gate is also universal, meaning any Boolean function can be implemented using only NOR gates. Below are some common gates implemented using only NOR gates:

    • NOT Gate using NOR:

      • A NOT gate is simply the negation of the input.

      • To implement a NOT gate using NOR, connect both inputs of the NOR gate to the same variable: ¬A=A NOR A=A∨A‾=A‾\neg A = A \, \text{NOR} \, A = \overline{A \lor A} = \overline{A}¬A=ANORA=A∨A=A

      • Implementation:

        • Input A → Both inputs of the NOR gate.
        • Output = NOT A.
    • OR Gate using NOR:

      • An OR gate can be implemented by using a NOR gate followed by a NOT gate.

      • OR using NOR: A∨B=A NOR B‾‾A \lor B = \overline{\overline{A \, \text{NOR} \, B}}A∨B=ANORB

        • Implementation:
          1. First, use a NOR gate to compute A NOR BA \, \text{NOR} \, BANORB.
          2. Then, pass the output through a second NOR gate with both inputs connected to the output of the first gate.
      • Circuit:

        • First NOR gate: Inputs A and B → Output: A NOR BA \, \text{NOR} \, BANORB
        • Second NOR gate: Inputs A NOR BA \, \text{NOR} \, BANORB and A NOR BA \, \text{NOR} \, BANORB → Output: A∨BA \lor BA∨B.
    • AND Gate using NOR:

      • An AND gate can be created by using the De Morgan's Law: A∧B=A‾∨B‾‾A \land B = \overline{\overline{A} \lor \overline{B}}A∧B=A∨B

      • Using NOR gates, the expression becomes: A∧B=(A NOR A) NOR (B NOR B)A \land B = (A \, \text{NOR} \, A) \, \text{NOR} \, (B \, \text{NOR} \, B)A∧B=(ANORA)NOR(BNORB)

      • Implementation:

        • First NOR gate: Input A and A → Output: ¬A\neg A¬A
        • Second NOR gate: Input B and B → Output: ¬B\neg B¬B
        • Third NOR gate: Inputs from the two previous gates → Output: A∧BA \land BA∧B.

    Summary:

    • NAND Gate Implementation: NAND gates can be used to implement any Boolean function. Common gates like AND, OR, and NOT can be implemented using combinations of NAND gates.
    • NOR Gate Implementation: NOR gates are also universal and can be used to implement all other logic gates, such as AND, OR, and NOT.

    By using just NAND gates or NOR gates, entire digital systems can be constructed, making these gates especially useful in simplifying circuit designs and reducing the number of gate types required.

    ← Previous topic 6
    Logic Gates
    Next topic 8 →
    Representation of Function in Sum of Minterms or Product of Maxterms

    Past Papers

    Open this section to view and download past papers

    Click on Show Past Papers to load available exam papers.

    Reading Progress
    0%
    7mremaining
    1.2kwords
    Intermediatelevel
    On This Page

    No headings found

    Study Toolkit

    Subject Portal

    Digital Logic Design