Chapter 4: Universal Gates & Advanced Logic Families - Complete Study Notes

NotebookLM Ingestion Compilation

This merged document contains all 7 study notes for Chapter 4: Universal Gates & Advanced Logic Families from ECE 2103 Digital Electronics (Sharif Sir).


Related Concepts: 02 Universal Logic Gates & 2-Level Implementations | 03 BJT as NOT Gate & Inverter Operation | 06 CMOS Logic & Logic Gate Characteristics

4.01 Digital Systems & Signal Propagation

What is a Digital System?

A Digital System is an electronic system that processes, stores, and transmits information represented in discrete binary states {typically logic 0 (0V) and logic 1 (5V or 3.3V)}, as opposed to Analog Systems which process continuous physical quantities.

graph TD
    subgraph Digital Advantages
        D[Digital System Benefits] --> A1[1. Superior Noise Immunity]
        D --> A2[2. Ease of Programmability]
        D --> A3[3. High Scalability & IC Integration]
        D --> A4[4. Exact Reproduction & Storage]
    end

    subgraph Signal Transmission Channel Model
        Tx[Transmitter: Ideal Digital Pulse] --> Channel[Transmission Channel / PCB Trace]
        Channel -->|Attenuation & Parasitic Capacitance| Degradation[Degraded Signal: Lowers Amplitude & Rounds Edges]
        Degradation --> Rx[Receiver Gate: Needs Noise Margin]
    end

1. Nine Engineering Advantages of Digital Systems

  1. Superior Noise Immunity: Discrete threshold levels make digital signals far less susceptible to external noise corruption than continuous analog signals.
  2. Ease of Programmability: System operations are dictated by software and firmware code rather than fixed hardware modifications.
  3. High Integration Density (VLSI): Millions of transistors can be fabricated onto a single silicon die.
  4. Exact Signal Reproduction & Storage: Binary data can be stored permanently in RAM/Flash without quality degradation.
  5. Enhanced Security & Cryptography: Binary streams are easily encrypted using digital ciphers {e.g., XOR masks}.
  6. Cost-Effective Mass Production: Standardized CMOS fabrication reduces per-gate costs.
  7. Simplified System Design: Modular logic gate building blocks eliminate complex analog bias calculations.
  8. High Reliability & Precision: Output precision is increased simply by increasing bit-width.
  9. Direct Compatibility with Microprocessors: Native binary alignment with CPUs and digital signal processors (DSPs).

2. Signal Propagation & Physical Distortion

When a digital pulse travels across a transmission line or PCB copper trace, it experiences physical degradation due to channel parasitics:

  • Attenuation: The gradual reduction in voltage amplitude caused by trace resistance.
  • Phase Shift / Dispersion: Propagation delay differences across frequency components, causing pulse rounding and inter-symbol interference (ISI).

3. Propagation Delay & System Performance

In physical digital circuits, electrical signals do not travel instantaneously. Every logic gate introduces a tiny delay between when an input changes and when the output stabilizes.

3.1 Propagation Delay ()

  • Definition: The time interval required for a signal transition on an input terminal to propagate through a logic gate and produce a corresponding transition on its output terminal. Usually measured in nanoseconds (ns).
  • Rise/Fall Delay: Gates often have different delays depending on whether the output is rising () or falling (). The average propagation delay is:

3.2 The Cascading Accumulation Rule (Critical Path)

When gates are connected in series, their individual propagation delays add up directly.

Propagation Delay Accumulation:
 Vin ---> [ Gate 1 ] ---> [ Gate 2 ] ---> [ Gate 3 ] ---> Vout
            t_pd1          t_pd2          t_pd3

In a synchronous digital system, the overall speed is limited by the longest path (the Critical Path) from any input to any output:

3.3 Maximum Operating Frequency ()

The maximum clock frequency at which a digital system can operate safely without timing violations is determined by the total propagation delay of the critical path:

Reducing the number of gate levels in the critical path (logic minimization) is done not just to save chip area and manufacturing costs, but also to directly increase the clock speed of the processor.

3.4 Comparison: Rise Time vs. Fall Time vs. Propagation Delay

FeatureRise Time ()Fall Time ()Propagation Delay ()
DefinitionTime required for output voltage to rise from 10% to 90% of its final HIGH level.Time required for output voltage to fall from 90% to 10% of its initial HIGH level.Time interval between input transition (at 50%) and corresponding output transition (at 50%).
Points of Measurement to of output signal amplitude. to of output signal amplitude. input amplitude to output amplitude.
Physical CauseTime taken to charge load/parasitic capacitance through pull-up transistor.Time taken to discharge load/parasitic capacitance through pull-down transistor.Time taken for internal transistors to switch states (carrier transport & storage delays).
SymmetryOften slower than in CMOS because PMOS mobility is lower than NMOS.Often faster than in CMOS because NMOS mobility is higher.Average of low-to-high and high-to-low transitions ().
System ImpactLimits the sharpness/slope of rising clock edges.Limits the sharpness/slope of falling clock edges.Limits the maximum clock frequency of the system ().

4. Past Year Questions (PYQs) [PYQ 2020, 2024, 2025]

  • [PYQ 2020, 2024, 2025]: Advantages of digital systems over analog systems. (07 to 10 Marks)
  • [Class Test Q&A]: Describe signal propagation phenomena and transmission line degradation.

Related Concepts: 01 Digital Systems & Signal Propagation | 03 BJT as NOT Gate & Inverter Operation | 05 TTL Logic Families & Open Collector Bus Systems

4.02 Universal Logic Gates & 2-Level Implementations

What is a Universal Logic Gate?

A logic gate is classified as Universal if any arbitrary Boolean function or digital circuit can be constructed using only that single gate type, without requiring any other gate types.

Both NAND and NOR gates are Universal Gates.

graph TD
    subgraph 4-NAND Gate XOR Network
        InA[Input A] & InB[Input B] --> NAND1[NAND 1: Output N1 = AB']
        InA & NAND1 --> NAND2[NAND 2: Output N2 = A • N1 ']
        InB & NAND1 --> NAND3[NAND 3: Output N3 = B • N1 ']
        NAND2 & NAND3 --> NAND4[NAND 4: Output F = A ⊕ B]
    end

1. NAND & NOR Gate Realizations of Basic Gates

Target GateNAND Gates RequiredNOR Gates Required
NOT1 (inputs tied: )1 (inputs tied: )
AND2 ()3 ()
OR3 ()2 ()
XOR4 (cascaded 4-NAND network)5 (4-NOR XNOR + 1 NOR Inverter)
XNOR5 (4-NAND XOR + 1 NAND Inverter)4 (cascaded 4-NOR network)

2. Two-Level Gate Implementation Rules

A. Two-Level NAND-NAND Implementation (SOP)

  • Rule: Any function in Sum of Products (SOP) form can be directly implemented using a 2-level NAND-NAND circuit.
  • Proof: . This represents a final NAND gate taking inputs from two level-1 NAND gates.
  • Direct Literals Rule: If a single literal (e.g., ) feeds directly into the second-level OR/NAND gate, it must be complemented () to cancel out the output gate’s inversion.

B. Two-Level NOR-NOR Implementation (POS)

  • Rule: Any function in Product of Sums (POS) form can be directly implemented using a 2-level NOR-NOR circuit.
  • Proof: . This represents a final NOR gate taking inputs from two level-1 NOR gates.

3. Two-Level Implementation Geometry (Degenerate vs. Non-Degenerate)

When cascading gates to build multi-level networks, the logical operations performed at each level determine whether the circuit is useful or redundant.

If we analyze all two-level gate combinations using four basic gates (AND, OR, NAND, NOR), there are possible configurations:

Level 1 GateLevel 2: ANDLevel 2: ORLevel 2: NANDLevel 2: NOR
ANDDegenerateAND-ORAND-NANDAND-NOR
OROR-ANDDegenerateOR-NANDOR-NOR
NANDNAND-ANDNAND-ORNAND-NANDDegenerate
NORNOR-ANDNOR-ORDegenerateNOR-NOR
  • Degenerate Forms (8 combinations): These are combinations where the second-level gate performs the exact same logical operation as the first-level gates (e.g., AND-AND, OR-OR, NAND-NOR). They are mathematically redundant because the entire two-level circuit simplifies (degenerates) into a single-level gate with multiple inputs.
  • Non-Degenerate Forms (8 combinations): These configurations maintain two distinct levels of logic processing. The most important for hardware synthesis are:
    • NAND-NAND: Equivalent to AND-OR (implements Sum-of-Products).
    • NOR-NOR: Equivalent to OR-AND (implements Product-of-Sums).

3.1 Comparison: Degenerate vs. Non-Degenerate Logic Configurations

FeatureDegenerate Logic ConfigurationsNon-Degenerate Logic Configurations
Logic LevelsCollapses mathematically into a single level of logic.Maintains two distinct levels of logic processing.
Algebraic Simplification (simplifies to a single product/sum).Cannot be simplified to a single-level operator.
Gate Count ReductionReduces to a single multi-input gate.Requires both level-1 and level-2 gates.
Examples (out of 16)AND-AND, OR-OR, NAND-NOR, NOR-NAND.AND-OR, OR-AND, NAND-NAND, NOR-NOR.
Hardware Synthesis ValueRedundant. No practical value for multi-level logic design.Fundamental. NAND-NAND and NOR-NOR are the standard methods for universal implementations.

4. Universal Gate Implementation (Bubble-Pushing Algorithm)

Bubble-pushing is a graphical method used to convert a standard AND-OR logic circuit into an all-NAND or all-NOR equivalent circuit without changing the logical function.

4.1 Theoretical Basis: Double Inversion

The mathematical foundation of gate conversion is the double negation rule:

By applying De Morgan’s theorem, we can convert product terms to sum terms and vice-versa.

4.2 NAND-NAND Conversion (Bubble-Pushing Steps)

To convert a standard two-level AND-OR circuit into a NAND-only circuit:

  1. Draw the logic circuit in its standard AND-OR form.
  2. Place a bubble (inversion circle) at the output of every first-level AND gate.
  3. To compensate for these bubbles, place a bubble at every input of the second-level OR gate.
  4. Redraw the bubbled-input OR gate as a NAND gate (since by De Morgan’s Law).
  5. If any single input goes directly to the second-level gate without passing through a first-level gate, insert a NOT gate (configured as a NAND inverter) on that line to compensate for the added bubble.
AND-OR to NAND-NAND Conversion Flow:
Step 1 (Original):   Inputs ---> [ AND ] ---> Output Gate [ OR ] ---> F
Step 2 (Bubble):     Inputs ---> [ AND ]o ---> o Output Gate [ OR ] ---> F
Step 3 (NAND Gate):  Inputs ---> [ NAND ] ---> [ NAND ] ---> F

5. Major Exam Proofs

Major PYQ Proof: 5-Gate NOR XOR Circuit (2015, 2021 - 8 Marks)

Question: Show mathematically that a 5-gate NOR network acts as an Exclusive-OR (XOR) gate.

Proof Solution:


PYQ Master Design (2015): The 2-NOR Gate Limit Puzzle

Question: Implement , with don’t cares , using no more than Two NOR gates. Assume normal and complement inputs are available.

Step 1: Expand into Minterms We translate the raw algebra into decimal minterms to safely plot a K-map:

  • Minterms =
  • Don’t Cares =

Step 2: Group the Zeros () for NOR Logic Because a NOR gate generates inverted OR logic , we simplify for (the zeros on the K-map). The zeros are remaining cells: .

  • Grouping with creates an 8-cell block:
  • Grouping with creates a pair:
  • Simplified complement:

Step 3: The 2-NOR Implementation Double complementing gives :

  • NOR Gate 1: Feed and into the first NOR gate:
  • NOR Gate 2: Feed and into the second NOR gate:

Proof Complete: Implemented using exactly two NOR gates!


Past Year Questions (PYQs)

  • [PYQ 2021]: Prove NOR is a universal gate with basic gate implementations. (08 Marks)
  • [PYQ 2015, 2021]: 5-gate NOR XOR circuit proof. (08 Marks)
  • [PYQ 2015, 2021]: Implement with no more than two NOR gates. (12 Marks)

Related Concepts: 01 Digital Systems & Signal Propagation | 04 NPN Transistor Basics & DTL Logic | 05 TTL Logic Families & Open Collector Bus Systems

4.03 BJT as NOT Gate & Inverter Operation

BJT Transistor Switch Concept

In digital logic, a Bipolar Junction Transistor (BJT) operates strictly as a digital switch driven between two extreme operating states:

  1. Cut-off Region (OFF Switch): Base-Emitter junction reverse-biased (Logic HIGH).
  2. Saturation Region (ON Switch): Base-Emitter junction forward-biased (Logic LOW).
BJT Inverter Circuit Schematic:
                     Vcc (5V)
                        |
                        [ Rc ]
                        |
 Vin ---> [ Rb ] --->|/  Collector (Vout)
                     |\
                        v Emitter
                        |
                       GND
graph TD
    Input[Input Voltage Vin] --> Check{Vin Level}
    
    Check -->|Vin = LOW e.g. 0.2V| Cutoff[Cut-off Region: BE Junction OFF]
    Cutoff --> ICZero[Collector Current IC = 0]
    ICZero --> OutHigh[Output Vout = VCC = HIGH Logic 1]
    
    Check -->|Vin = HIGH e.g. 5V| Saturation[Saturation Region: BE Junction ON]
    Saturation --> ICSat[Max Collector Current IC-sat]
    ICSat --> OutLow[Output Vout = VCE-sat = 0.2V = LOW Logic 0]

1. Mathematical Saturation & Cut-off Proof

Major Exam Numerical Problem (2016, 2019 - 13 Marks)

Given Circuit Parameters:

  • , ,
  • Base Resistor , Collector Resistor
  • Minimum Current Gain
  • Transistor Constants: ,

Part A: Operation when (Logic LOW)

  1. Base-Emitter voltage {below cut-in threshold}.
  2. Transistor is in Cut-off. Base current , Collector current .
  3. Output voltage:

Part B: Operation when (Logic HIGH)

  1. Calculate actual base current ():

  2. Calculate saturation collector current ():

  3. Calculate minimum base current required for saturation ():

  4. Saturation Condition Check: Since , the transistor is driven deep into saturation.

  5. Output voltage drops to saturation voltage:


Past Year Questions (PYQs)

  • [PYQ 2016, 2019]: BJT inverter operation: Mathematical proof of saturation/cut-off given circuit parameters. (13 Marks)

Related Concepts: 03 BJT as NOT Gate & Inverter Operation | 05 TTL Logic Families & Open Collector Bus Systems | 06 CMOS Logic & Logic Gate Characteristics

4.04 Diode Logic & DTL Logic Families

Physical Hardware of Logic

Before analyzing complex integrated logic families like TTL, we study the simplest electronic gate models using semiconductor diodes (Diode Logic), and how they are paired with BJTs to create Diode-Transistor Logic (DTL).


1. Diode Logic Gates (Diode OR & Diode AND) [Syllabus Week 7]

Foundational Concept (Outside Direct PYQ Scope)

Diode Logic (DL) gates are passive components that represent a foundational step in electronic logic evolution, but they are not directly tested as design problems in ECE 2103 examinations. They serve as required background for Diode-Transistor Logic (DTL).

Diode Logic (DL) is the most basic form of electronic logic gates, using PN-junction diodes as voltage-controlled switches.

A. The Diode OR Gate

Circuit Schematic:

Diodes are connected in parallel from each input node to the output node, with a pull-down resistor connected to Ground.

Diode OR Gate Schematic:
  Input A --->[ Diode DA (Anode -> Cathode) ]---+---> Output Y
                                                 |
  Input B --->[ Diode DB (Anode -> Cathode) ]---+
                                                 |
                                                 [ R ]
                                                 |
                                                GND

Operation:

  • Case 1: Both Inputs A, B = LOW (0V): Diodes and are reverse-biased (OFF). No current flows. The output is pulled down to Ground through resistor ().
  • Case 2: Input A = HIGH (5V), B = LOW: Diode is forward-biased (ON) and conducts. Diode remains OFF. Current flows through and resistor to Ground. The output rises to input voltage minus one diode drop ().

B. The Diode AND Gate

Circuit Schematic:

Diodes are connected in parallel pointing from the output node back to the inputs, with a pull-up resistor connected to (5V).

Diode AND Gate Schematic:
                             Vcc (5V)
                                |
                                [ R ]
                                |
  Input A <---[ Diode DA (Cathode <- Anode) ]------+---> Output Y
                                |
  Input B <---[ Diode DB (Cathode <- Anode) ]------+

Operation:

  • Case 1: ANY Input (A or B) = LOW (0V): The corresponding diode is forward-biased (ON) and conducts current to Ground. This clamps the output node to Ground plus one diode drop ().
  • Case 2: BOTH Inputs A, B = HIGH (5V): Both diodes and are reverse-biased (OFF) because their cathodes are at . No current flows through the diodes. The output node is pulled up to through resistor ().

2. NPN Silicon Transistor Characteristic Curves

A. Base Input Characteristics ( vs. )

  • Curve Behavior: Operates like a forward-biased PN junction diode.
  • Key Voltage: Negligible base current flows until reaches cut-in voltage (). In saturation, .

B. Collector Output Characteristics ( vs. )

Divided into three distinct regions:

  1. Cut-off Region: (OFF Switch).
  2. Active Region: Linear amplification region (not used in digital logic).
  3. Saturation Region: drops to , reaches maximum limit (ON Switch).

3. DTL NAND Gate Saturation Proof

Major PYQ Proof: DTL Gate Saturation ( ) (2021, 2022 - 10 Marks)

Given DTL NAND Parameters:

  • , , , ,
  • Diode drop , ,

Proof Steps:

  1. Input State: All inputs () are HIGH () Input diodes are reverse-biased (OFF).

  2. Node Voltage (Anode of level-shift diode ):

  3. Current Calculations:

    • Current from through :
    • Current lost to ground through :
    • Base current entering transistor ():
  4. Saturation Check:

    • Maximum saturation collector current ():
    • Available collector current drive:
  5. Since (), the output transistor is driven deep into saturation.


4. Comparison Table: Diode Logic (DL) vs. Diode-Transistor Logic (DTL)

FeatureDiode Logic (DL)Diode-Transistor Logic (DTL)
Logic ComponentsDiodes and resistors only.Diodes, resistors, and Bipolar Junction Transistors (BJTs).
Signal AmplificationNone (passive circuitry).Active (transistor provides current amplification).
Signal DegradationHigh. Output voltage drops by per stage (restricts cascading).Near-zero. Transistor switches completely between and , restoring signal levels.
Fan-out CapabilityVery low (loading directly affects output voltage).High (transistor amplifies current to drive multiple loads).
Logic OperationsAND, OR (cannot implement NOT/inversion).NAND, NOR, NOT (BJT acts as an inverter).

5. Past Year Questions (PYQs)

  • [PYQ 2022]: Draw and explain Transistor Base and Collector characteristics. (09 Marks)
  • [PYQ 2021, 2022]: DTL gate output transistor saturation proof (). (10 Marks)

Related Concepts: 03 BJT as NOT Gate & Inverter Operation | 04 NPN Transistor Basics & DTL Logic | 06 CMOS Logic & Logic Gate Characteristics

4.05 TTL Logic Families & Open Collector Bus Systems

Concept Overview: TTL Logic

Transistor-Transistor Logic (TTL) replaced DTL by utilizing multi-emitter transistors at the input stage, achieving much higher switching speeds.

Standard TTL uses a Totem-Pole output for active pull-up and pull-down. Open-Collector TTL removes the active pull-up to allow outputs to be safely tied together for common bus systems.

graph TD
    subgraph TTL NAND Totem-Pole Stages
        InputStage[Input Stage: Multi-Emitter Transistor T1] --> PhaseSplitter[Phase Splitter: Transistor T2]
        PhaseSplitter -->|Inverted Collector Output| PullUp[Active Pull-Up: Transistor T4 + Diode D]
        PhaseSplitter -->|Direct Emitter Output| PullDown[Active Pull-Down: Transistor T3]
        PullUp & PullDown --> OutputNode[Output Y]
    end

1. Standard TTL NAND Gate Working Principle

  • Inputs: Multi-emitter transistor .

  • Case 1: ANY Input is LOW (0V)

    • Emitter-base junction of is forward-biased current flows out of input pin.
    • Base-collector junction of is reverse-biased turns OFF.
    • OFF pull-down transistor turns OFF.
    • Collector of rises toward , driving base of pull-up transistor turns ON.
    • Result: Output pulled HIGH to ().
  • Case 2: ALL Inputs are HIGH (5V)

    • Emitter-base junctions of are reverse-biased.
    • Base-collector junction of becomes forward-biased, steering base current into turns ON.
    • ON emitter current drives ON into deep saturation.
    • Collector of drops low pull-up transistor turns OFF (diode ensures stays OFF).
    • Result: Output pulled LOW to Ground through ().

2. Totem-Pole Destructive Conflict & Open Collector Gates

Standard TTL gates utilize a “Totem-Pole” output stage consisting of an active pull-up transistor and an active pull-down transistor .

2.1 The Destructive Conflict of Totem-Pole Outputs

Connecting the outputs of two standard totem-pole TTL gates directly together is physically forbidden in digital design:

  • If Gate A outputs a Logic HIGH (transistor is ON, acting as a virtual short to ), and Gate B outputs a Logic LOW (transistor is ON, acting as a virtual short to Ground).
  • Connecting their output pins directly together creates an extremely low-impedance path directly from of Gate A to Ground of Gate B through the ON transistors:
    Vcc (5V) ---> [ T4 (Gate A) ON ] ---> (Tied Output Node) ---> [ T3 (Gate B) ON ] ---> Ground
  • This results in a massive current spike (exceeding maximum power ratings) which instantly overheats and destroys both IC chips.

2.2 The Open Collector TTL Solution

To safely connect multiple outputs to a common wire (e.g., in shared computer bus systems), we use Open Collector gates.

  • The active pull-up transistor () and diode () are completely removed from the output stage.
  • The collector of is left unconnected (“open”) internally. An external Pull-Up Resistor () is connected between the common wire and .
  • If any transistor turns ON, it pulls the line to Ground. The line only rises to when all open-collector transistors are turned OFF.

2.3 Comparison Table: Totem-Pole Output vs. Open Collector Output

FeatureTotem-Pole OutputOpen Collector Output
Output ComponentsActive pull-up ( + Diode ) and active pull-down ().Only active pull-down (); collector of is left open.
External ResistorNot required.MUST use an external pull-up resistor () to .
Tying Outputs DirectlyForbidden (causes destructive short-circuit currents).Allowed (creates a common bus using wired-AND logic).
Switching SpeedFast (active pull-up transistor charges load capacitance quickly).Slow (RC time constant of and load capacitance limits rise time).
Power DissipationLow when idle.High when output is LOW (continuous current flows through to Ground).
Wired-AND CapabilityNo.Yes.

3. Wired-AND Logic

graph LR
    Gate1[NAND Gate 1 Output] & Gate2[NAND Gate 2 Output] --> TiedNode[Common Tied Node Y]
    TiedNode --> PullUp[External Pull-up Resistor RL to VCC]
    TiedNode --> Function[Function: Y = AB ' • CD ']

Major Exam Proof: Wired-AND Justification (2015 - 11 Marks)

Statement: “Open collector TTL gates tied together form a Wired-AND logic.”

Proof:

  1. If Gate 1 outputs LOW, its pulls node to Ground, regardless of Gate 2.
  2. If Gate 2 outputs LOW, its pulls node to Ground, regardless of Gate 1.
  3. Node is HIGH only if BOTH Gate 1 AND Gate 2 outputs are HIGH.
  4. Mathematical function:

Past Year Questions (PYQs)

  • [PYQ 2015]: Wired-AND logic justification for open collector gates. (11 Marks)
  • [PYQ 2019]: Common bus system operation using open collector gates. (07 Marks)
  • [PYQ 2023]: TTL AND gate operation and truth table. (09 Marks)
  • [PYQ 2025]: TTL NAND gate working principle and circuit schematic. (08 Marks)

Related Concepts: 03 BJT as NOT Gate & Inverter Operation | 04 Diode Logic & DTL Logic Families | 05 TTL Logic Families & Open Collector Bus Systems

4.06 CMOS Logic & Logic Gate Characteristics

Concept Overview: CMOS & Bipolar Families

CMOS (Complementary Metal-Oxide Semiconductor) uses complementary pairs of p-channel (PMOS) and n-channel (NMOS) MOSFETs. It is the dominant VLSI logic family due to its near-zero static power consumption and extremely high integration density.

Beyond MOS logic, specialized bipolar logic families like ECL (Emitter-Coupled Logic) operate in non-saturating states to achieve maximum switching speeds.


1. 3-Input CMOS NAND Gate Operation [PYQ 2019]

Major PYQ Problem: 3-Input CMOS NAND Circuit (2019 - 5 Marks)

Rule of Thumb: CMOS NAND = PMOS in Parallel (PUN), NMOS in Series (PDN).

Circuit Construction & Operation:

  • Pull-Up Network (PUN): Three PMOS transistors () connected in parallel between and Output .
  • Pull-Down Network (PDN): Three NMOS transistors () connected in series between Output and Ground.
graph TD
    subgraph CMOS 3-Input NAND Network Architecture
        VDD[Power Supply VDD] --> PUN[Pull-Up Network: 3 PMOS Transistors in PARALLEL]
        PUN --> OutY[Output Node Y]
        OutY --> PDN[Pull-Down Network: 3 NMOS Transistors in SERIES]
        PDN --> GND[Ground VSS]
    end

Operational Truth:

  • If ANY Input () is LOW (0V): At least one PMOS turns ON, connecting to . At least one NMOS in the series stack turns OFF, breaking the path to Ground. Output ().
  • If ALL Inputs () are HIGH (5V): All three PMOS turn OFF. All three NMOS turn ON, creating a continuous path from to Ground. Output ().

2. 3-Input CMOS NOR Gate Operation

Concept: CMOS NOR Rules

Rule of Thumb: CMOS NOR = PMOS in Series (PUN), NMOS in Parallel (PDN).

Circuit Construction & Operation:

  • Pull-Up Network (PUN): Three PMOS transistors () connected in series between and Output .
  • Pull-Down Network (PDN): Three NMOS transistors () connected in parallel between Output and Ground.
graph TD
    subgraph CMOS 3-Input NOR Network Architecture
        VDD[Power Supply VDD] --> PUN[Pull-Up Network: 3 PMOS Transistors in SERIES]
        PUN --> OutY[Output Node Y]
        OutY --> PDN[Pull-Down Network: 3 NMOS Transistors in PARALLEL]
        PDN --> GND[Ground VSS]
    end

Operational Truth:

  • If ANY Input () is HIGH (5V): At least one NMOS turns ON, connecting Output to Ground. At least one series PMOS turns OFF, disconnecting the path to . Output ().
  • If ALL Inputs () are LOW (0V): All three PMOS turn ON, creating a continuous path from to Output . All three NMOS turn OFF, breaking all paths to Ground. Output ().

3. Emitter-Coupled Logic (ECL) OR/NOR Gate Operation [Syllabus Week 8]

Foundational Concept (Outside Direct PYQ Scope)

Emitter-Coupled Logic (ECL) represents the pinnacle of high-speed silicon bipolar logic technology. While its non-saturating switching principles are essential digital foundations, detailed ECL circuit design calculations and schematics have never appeared in ECE 2103 past year question papers.

Emitter-Coupled Logic (ECL) is a non-saturating bipolar transistor logic family. By keeping the transistors out of the saturation region (operating strictly in the active and cut-off regions), it completely eliminates carrier storage time delays, making ECL the fastest semiconductor logic family (with sub-nanosecond propagation delays ).

Circuit Configuration & Logic Steering:

  • Uses a differential amplifier input stage. Two input transistors () have their emitters tied together to a common emitter resistor connected to a negative supply .
  • A reference transistor () has its base connected to a fixed internal reference voltage .
  • The collector outputs feed into emitter followers () which act as low-impedance buffers providing the OR and NOR outputs simultaneously.
graph TD
    subgraph ECL Logic Steering
        Inputs[Inputs A, B] --> DiffAmp[Differential Input Transistors TA, TB]
        VBB[Reference Voltage VBB] --> RefTrans[Reference Transistor T_REF]
        DiffAmp & RefTrans --> CurrentSource[Common Current Source to VEE]
        DiffAmp -->|Collector 1| NOR[NOR Emitter Follower Output]
        RefTrans -->|Collector 2| OR[OR Emitter Follower Output]
    end

Operation:

  • Inputs LOW (Logic 0): The input transistors () are cut off. The current through is steered entirely through because is higher than the input voltage. This drops the collector voltage of , pulling the OR output LOW. The collector of remains high, keeping the NOR output HIGH.
  • ANY Input HIGH (Logic 1): The corresponding input transistor ( or ) turns ON, steering the emitter current away from (which now turns OFF). The collector of drops, pulling the NOR output LOW. The collector of rises, pulling the OR output HIGH.

4. Core Four Logic Gate Characteristics

10-Mark Exam Definitions (2015, 2016, 2018, 2021, 2024, 2025)

  1. Fan-out: The maximum number of standard logic inputs that a single gate’s output can reliably drive without causing output voltage degradation below noise thresholds.

  2. Propagation Delay (): The average time delay required for a signal transition to propagate from gate input to gate output:

  3. Noise Margin: The maximum external noise voltage that can be added to an input signal without triggering an unintended change in output logic state:

  4. Power Dissipation: The total electrical power consumed by a logic gate during operation, expressed in milliwatts (mW).


5. Current Sourcing vs. Current Sinking

graph LR
    subgraph Current Sourcing HIGH Output
        Driver1[Driver Gate Output HIGH] -->|Sources Current IOH out of pin| Load1[Load Gate Inputs]
    end
    
    subgraph Current Sinking LOW Output
        Load2[Load Gate Inputs] -->|Sinks Current IOL into pin| Driver2[Driver Gate Output LOW to GND]
    end
  • Current Sourcing (): Driver gate output is HIGH (Logic 1). Current flows out of driver output pin into load inputs.
  • Current Sinking (): Driver gate output is LOW (Logic 0). Current flows from load inputs into driver output pin to Ground.

6. Master Logic Family Comparison Table [Syllabus Week 8]

ParameterDiode-Transistor Logic (DTL)Transistor-Transistor Logic (TTL)Emitter-Coupled Logic (ECL)Complementary MOS (CMOS)
Basic GateNANDNANDOR / NORNAND / NOR
Transistor StateSaturatingSaturatingNon-Saturating (Active/Cut-off)Enhancement (MOSFET)
Propagation DelaySlow ()Medium ()Extremely Fast ()Medium-to-Fast ()
Power DissipationMedium ()Medium ()High ()Extremely Low (near 0 static power)
Noise MarginMedium ()Medium ()Low ()High ( or of )
Fan-outLow ()Medium ()High ()Very High ()

7. Past Year Questions (PYQs)

  • [PYQ 2019]: Draw 3-input CMOS NAND gate circuit and explain operation. (05 Marks)
  • [PYQ 2016, 2018, 2021, 2024, 2025]: Define Fan-out, Propagation delay, Noise margin, Power dissipation, Current Sourcing. (08 to 10 Marks)

Related Concepts: 01 Digital Systems & Signal Propagation | 02 Universal Logic Gates & 2-Level Implementations | 06 CMOS Logic & Logic Gate Characteristics

4.07 Logic Analysis, Switching Circuits & Positive-Negative Logic

Advanced Physical Logic Concepts

Analyzing physical digital circuits requires converting hardware voltage states or physical mechanical switches into formal Boolean algebraic notation.


1. Positive & Negative Logic Systems

In hardware, binary values (1 and 0) are assigned to voltage levels ( and ):

  • Positive Logic System: High Voltage , Low Voltage .
  • Negative Logic System: High Voltage , Low Voltage .

Major Exam Proof: Positive AND = Negative OR (2015, 2019, 2023, 2025 - 11 Marks)

Question: Prove mathematically that a Positive-Logic AND gate is a Negative-Logic OR gate and vice-versa.

Proof Solution:

Step 1: Physical Voltage Truth Table

Consider a hardware gate that outputs High voltage () ONLY when both inputs are High ():

Input XInput YOutput Z

Step 2: Positive Logic Assignment ()

Substituting :

Step 3: Negative Logic Assignment ()

Substituting :


2. Physical Switching Circuit Translation Rules

Major Exam Switch Puzzle (2024, 2025 - 7 Marks)

graph TD
    Switch[Physical Mechanical Switches] --> Series[Series Connection: Switch A and B end-to-end]
    Switch --> Parallel[Parallel Connection: Switch A and B side-by-side]
    Switch --> NC[Normally-Closed Contact]
    
    Series --> AND[Boolean AND Logic: A • B]
    Parallel --> OR[Boolean OR Logic: A + B]
    NC --> NOT[Boolean Inversion: A']

Golden Rules:

  1. Series Switches: Forms AND () logic. Current flows if both switches are closed.
  2. Parallel Switches: Forms OR () logic. Current flows if either switch is closed.
  3. Normally-Closed Contact: Forms NOT () logic. Opening switch breaks circuit.

3. Formal Multi-Level Intermediate Variable Analysis (Morris Mano Method)

Multi-Level Analysis Algorithm (2016, 2019 - 12 Marks)

  1. Label Level 1 Outputs: Assign intermediate variable symbols () to outputs of gates driven purely by primary inputs.
  2. Label Level 2 Outputs: Assign symbols () to subsequent level gate outputs driven by .
  3. Sequential Substitution: Express , then substitute original input variables () backwards to derive output .

4. PYQ Master Methodology: Circuit Analysis to Single Gate

PYQ Note (2023): Circuit Analysis to Single Gate

When an exam question provides a drawn logic circuit (e.g. Fig 2c in 2023) and asks to “extract the Boolean expression and reduce to a single logic gate”:

  1. Assign intermediate variables () to the outputs of the first level of gates.
  2. Cascade the equations forward until you derive the unsimplified output expression.
  3. Apply Boolean algebra simplification. The resulting algebraic expression will always factor down into either an XOR () or an XNOR () expression, allowing implementation via a single gate!

Past Year Questions (PYQs)

  • [PYQ 2015, 2019, 2023, 2025]: Positive-logic AND = Negative-logic OR proof. (11 Marks)
  • [PYQ 2024, 2025]: Express switching circuit diagram into binary logic expression. (07 Marks)
  • [PYQ 2016, 2019]: Multi-level logic circuit analysis using intermediate variables. (12 Marks)
  • [PYQ 2023]: Analyze drawn circuit diagram and reduce to a single logic gate. (08 Marks)