Top Banner Ad

BEC302 — Unit 4: Logic families and semiconductor memories

Table of Contents (31 sections)

BEC302 · DIGITAL SYSTEM DESIGN · Unit 4

Logic families and semiconductor memories

Unit Scope & Exam Weightage: This unit examines how logic gates are actually built and specified: TTL NAND/NOR and totem-pole outputs, noise margin, propagation delay, fan-in/fan-out, tristate TTL, ECL, CMOS families and interfacing, memory elements, programmable logic devices (PROM/PLA/PAL/FPGA), and Verilog RTL implementation. Expect 14–21 marks, with repeated 7-markers on TTL/CMOS inverter characteristics and PLD logic implementation, plus 2-markers on noise margin, fan-out and figure of merit.


Front Page: Importance-Wise Topic Roadmap (2023–26 PYQs)

Priority Topic (Exact Syllabus) PYQs Asked Marks Weightage Tag
1 TTL NAND gate (and inverter, totem-pole NOR, specifications) 5 (2023-24 ×2, 2024-25, 2025-26 ×2) 7m × 5 Survival Mode Circuit
2 CMOS families and their interfacing (inverter, VTC, NAND) 4 (2023-24, 2024-25 ×3) 7m × 3 + 2m Survival Mode VTC
3 concept of programmable logic devices such as FPGA (PROM/PLA/PAL, PLD) 4 (2023-24, 2024-25 ×3) 7m × 2 + 2m × 2 High-Yield
4 noise margin (figure of merit, noise immunity) 3 (2024-25 ×2, 2025-26) 7m + 2m × 2 Quick Numerical
5 and logic implementation using programmable devices (PLA Gray converter) 1 (2025-26) 7m Design
6 ECL 1 (2025-26) 7m Comparison
7 fan-in / fan-out / propagation delay / tristate TTL 2 (2023-24, 2024-25) 7m + 2m Specifications
8 memory elements 0 direct — Supporting Topic

2-Hour Last-Night Survival Checklist:

  1. Noise margin: NMH=VOH(min)−VIH(min)NM_H=V_{OH(min)}-V_{IH(min)}, NML=VIL(max)−VOL(max)NM_L=V_{IL(max)}-V_{OL(max)}. For standard TTL: 2.4−2.0=0.4 V and 0.8−0.4=0.4 V; for 5 V CMOS: about 1.5 V each.
  2. Fan-out: FO=min⁡(∣IOH/IIH∣,∣IOL/IIL∣)FO=\min(|I_{OH}/I_{IH}|,|I_{OL}/I_{IL}|); LS-TTL gives 20 with IOL=8I_{OL}=8 mA and IIL=0.4I_{IL}=0.4 mA.
  3. Delay & figure of merit: tpd=(tPHL+tPLH)/2t_{pd}=(t_{PHL}+t_{PLH})/2; figure of merit =tpd×Pdiss=t_{pd}\times P_{\text{diss}} (pJ). Smaller is better.
  4. CMOS inverter: nMOS pull-down in series logic, pMOS pull-up in parallel logic; switching point VM≈VDD/2V_M\approx V_{DD}/2 when βn=βp\beta_n=\beta_p; noise immunity is much better than TTL.
  5. PLDs: PROM = fixed AND array + programmable OR; PLA = programmable AND + programmable OR; PAL = programmable AND + fixed OR. Gray code: G2=B2G_2=B_2, G1=B2⊕B1G_1=B_2\oplus B_1, G0=B1⊕B0G_0=B_1\oplus B_0.

1. Logic Family Specifications

Logic family (2 Marks): a group of IC gates built with the same circuit technology and compatible voltage/current levels, so their outputs can directly drive their inputs. Common families: TTL, ECL, CMOS, and their sub-families (LS, HC, HCT, ALVC).

1.1 Voltage and Current Levels

Symbol Meaning Standard TTL (5 V) CMOS (5 V)
VIH(min)V_{IH(min)} Minimum input recognised as high 2.0 V 0.7VDD=3.50.7V_{DD}=3.5 V
VIL(max)V_{IL(max)} Maximum input recognised as low 0.8 V 0.3VDD=1.50.3V_{DD}=1.5 V
VOH(min)V_{OH(min)} Minimum high-level output 2.4 V ≈VDD−0.1\approx V_{DD}-0.1 V
VOL(max)V_{OL(max)} Maximum low-level output 0.4 V ≈0.1\approx0.1 V
NMH=VOH(min)−VIH(min),NML=VIL(max)−VOL(max)NM_H=V_{OH(min)}-V_{IH(min)},\qquad NM_L=V_{IL(max)}-V_{OL(max)} FO=min⁡ ⁣(∣IOHIIH∣,∣IOLIIL∣),tpd=tPHL+tPLH2FO=\min\!\left(\left|\frac{I_{OH}}{I_{IH}}\right|,\left|\frac{I_{OL}}{I_{IL}}\right|\right),\qquad t_{pd}=\frac{t_{PHL}+t_{PLH}}{2}
Term Definition Why it matters
Fan-in Number of inputs a gate can accept Limits logic complexity per gate
Fan-out Number of standard loads an output can drive Insufficient current causes level degradation
Propagation delay Time from 50% input transition to 50% output transition Sets maximum clock speed
Noise margin Voltage a gate tolerates before misinterpreting a level Determines immunity to interference
Power dissipation DC + dynamic power consumed Heat and battery life
Figure of merit tpd×Pt_{pd}\times P, in picojoules Speed–power trade-off; lower is better

TTL worked fan-out: LS-TTL IOL=8I_{OL}=8 mA, IIL=0.4I_{IL}=0.4 mA → 20 low-level loads; IOH=0.4I_{OH}=0.4 mA, IIH=20 μI_{IH}=20\,\muA → 20 high-level loads. Hence fan-out = 20.

1.2 Comparison of TTL, CMOS and ECL

Parameter TTL (LS) CMOS (HC) ECL
Technology BJT MOSFET BJT in current-steering mode
Power per gate ~2 mW ~1 µW static, dynamic with ff High (~25–50 mW)
Propagation delay ~10 ns ~8–15 ns ~1 ns or less
Noise margin 0.4 V ~1.5 V at 5 V Small (~0.2 V)
Fan-out 20 very high (>50) high (50+)
Supply +5 V 3–15 V (HC: 2–6 V) −5.2 V / −3.3 V
Strength Robust, historical standard Low power, high density Fastest, used in high-speed clocks

Examiner Tip (figure of merit / noise immunity): For the 2-marker "figure of merit and noise immunity of TTL and CMOS", write one formula and one comparison sentence each: figure of merit =tpdP=t_{pd}P (TTL LS ≈20 ns×2 mW=40 pJ; HC CMOS ≈10 ns×1 µW≈0.01 pJ static), and CMOS noise immunity is superior because its logic thresholds scale with VDDV_{DD}.


2. TTL Gates and Tristate TTL

2.1 TTL NAND Gate

A standard TTL NAND uses a multi-emitter input transistor, a phase-splitter transistor, and a totem-pole output pair (one pull-up transistor and one pull-down transistor).

%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
    IN["Inputs A, B<br/>multi-emitter Q1"] --> PS["Phase splitter Q2"]
    PS --> PU["Pull-up transistor<br/>(sources current)"]
    PS --> PD["Pull-down transistor<br/>(sinks current)"]
    PU --> Y["Output Y = (AB)’"]
    PD --> Y
A B Y
0 0 1
0 1 1
1 0 1
1 1 0
  • If any input is low, the corresponding emitter-base junction conducts, the phase splitter is off, the pull-up transistor sources current and Y=1Y=1.
  • If all inputs are high, the phase splitter conducts, turns the pull-down on and pull-up off, so Y=0Y=0.
  • The totem-pole output gives low output impedance in both states and avoids the large power drain of a resistive pull-up.

2.2 TTL Inverter

The inverter is the one-input case of the NAND: tying all inputs together gives Y=AˉY=\bar A. Internally, input high → phase splitter on → output low; input low → output high. It draws a large current spike during switching because both totem-pole transistors may conduct briefly — the reason for decoupling capacitors on TTL boards.

2.3 Totem-Pole TTL NOR Gate

A TTL NOR gate uses parallel input transistors feeding the phase splitter; when any input is high, the pull-down transistor is turned on and the output goes low. Only when all inputs are low does the totem-pole pull-up drive the output high.

A B Y=A+B‾Y=\overline{A+B}
0 0 1
0 1 0
1 0 0
1 1 0

The totem-pole stage is identical in purpose to the NAND's: fast transitions, good fan-out and low static power compared with open-collector versions. Open-collector outputs are used when wired-AND buses or level shifting are required.

2.4 Tristate TTL

A tristate gate has a third output condition: high impedance (Z), in addition to logic 0 and 1. It is controlled by an output-enable (OE) pin:

OE A Y
0 X Z (disconnected)
1 0 0
1 1 1

Many tristate outputs may share one bus provided only one is enabled at a time; otherwise bus contention occurs. Used in memory/peripheral data buses and multiplexed I/O.


3. Emitter-Coupled Logic (ECL)

ECL (2 Marks): a high-speed logic family based on a differential amplifier whose transistors never saturate. Signals are represented by small voltage swings around a negative reference (typically −1.3 V with a −5.2 V supply), so switching is extremely fast.

Basic circuit: two transistors Q1,Q2Q_1,Q_2 share a tail current source; one base receives the input VinV_{in}, the other a reference VREFV_{REF}. If Vin>VREFV_{in}>V_{REF}, Q1Q_1 steals the current and its collector falls; if Vin<VREFV_{in}<V_{REF}, Q2Q_2 conducts. Emitter followers shift the collector levels to standard ECL outputs.

Feature ECL consequence
No saturation Propagation delay ~0.5–2 ns, fastest BJT family
Current steering Constant supply current → low switching noise
Small swing (~0.8 V) Fast but poor noise margin (~0.2 V)
Negative supply Requires −5.2 V; interfacing to TTL/CMOS needs level shifters
High power Used in high-speed clocks, processors, telemetry

4. CMOS Families and Interfacing

4.1 CMOS Inverter and Voltage Transfer Characteristic (VTC)

Vin=0:nMOS off, pMOS on⇒Vout=VDDV_{in}=0: \text{nMOS off, pMOS on} \Rightarrow V_{out}=V_{DD} Vin=VDD:pMOS off, nMOS on⇒Vout=0V_{in}=V_{DD}: \text{pMOS off, nMOS on} \Rightarrow V_{out}=0 VM≈VDD2 when βn=βpV_M \approx \frac{V_{DD}}{2}\ \text{when } \beta_n=\beta_p
Region of VTC Condition Conducting device Output behaviour
I Vin<VTnV_{in}<V_{Tn} pMOS linear, nMOS off Vout=VDDV_{out}=V_{DD}, flat
II VTn<Vin<VMV_{Tn}<V_{in}<V_M nMOS saturated, pMOS linear VoutV_{out} falls gradually
III Vin≈VMV_{in}\approx V_M Both saturated Sharp transition; high gain
IV $V_{in}>V_{DD}- V_{Tp} $
%%{init: {'theme': 'base', 'look': 'handDrawn', 'themeVariables': {'fontFamily': "'Nunito', sans-serif", 'fontSize': '17px', 'primaryColor': '#EFEAD6', 'primaryBorderColor': '#0F766E', 'lineColor': '#23211C'}}}%%
flowchart LR
    VIN["Vin = 0"] --> OFF["nMOS OFF, pMOS ON"]
    OFF --> HIGH["Vout = VDD"]
    VIN2["Vin = VDD"] --> ON["pMOS OFF, nMOS ON"]
    ON --> LOW["Vout = 0"]

Interfacing note: HC CMOS inputs cannot be driven directly from TTL outputs at 5 V because VOH(min)V_{OH(min)} of TTL (2.4 V) is below CMOS VIH(min)V_{IH(min)} (3.5 V). Use HCT (TTL-compatible thresholds) or a pull-up resistor/level shifter.

4.2 Two-Input CMOS NAND from the Inverter Concept

Replace the single nMOS of the inverter by two nMOS in series (both must conduct to pull down) and the single pMOS by two pMOS in parallel (either can pull up):

Y=A⋅B‾Y=\overline{A\cdot B}
A B nMOS network pMOS network Y
0 0 off on (both) 1
0 1 off on (one) 1
1 0 off on (one) 1
1 1 on (series) off 0

5. Memory Elements, PLDs and Verilog RTL

5.1 Memory Elements

Type Volatile? Write method Typical use
SRAM Yes Electrical read/write Cache, registers
DRAM Yes Capacitor charge, needs refresh Main memory
ROM / PROM No Mask / one-time fuse Boot code, constants
EPROM No UV erase, electrical program Firmware development
EEPROM / Flash No Electrical erase/program BIOS, microcontrollers

5.2 Programmable Logic Devices

PLD (2 Marks): a general-purpose IC containing an array of logic gates whose interconnections can be programmed by the user to realise a desired Boolean function. It replaces many small gates and reduces board area.

Device AND array OR array Best for
PROM Fixed (decoder, all minterms) Programmable Lookup tables, code conversion
PLA Programmable Programmable Complex SOP with shared product terms
PAL Programmable Fixed Fast, simple SOP
FPGA Configurable logic blocks + programmable interconnect Same Large systems, prototyping, DSP

FPGA concept: an array of configurable logic blocks (CLBs), each containing look-up tables (LUTs) and flip-flops, surrounded by configurable I/O blocks and programmable routing. A hardware description language (Verilog/VHDL) is synthesised into a bit-stream that configures the LUTs and routes.

5.3 PLA Design Example — 3-bit Binary to Gray

G2=B2,G1=B2⊕B1=Bˉ2B1+B2Bˉ1,G0=B1⊕B0=Bˉ1B0+B1Bˉ0G_2=B_2,\qquad G_1=B_2\oplus B_1=\bar B_2B_1+B_2\bar B_1,\qquad G_0=B_1\oplus B_0=\bar B_1B_0+B_1\bar B_0
Product term Fuse connection Feeds output
P1=B2P_1=B_2 B2B_2 true G2G_2
P2=Bˉ2B1P_2=\bar B_2B_1 Bˉ2\bar B_2, B1B_1 G1G_1
P3=B2Bˉ1P_3=B_2\bar B_1 B2B_2, Bˉ1\bar B_1 G1G_1
P4=Bˉ1B0P_4=\bar B_1B_0 Bˉ1\bar B_1, B0B_0 G0G_0
P5=B1Bˉ0P_5=B_1\bar B_0 B1B_1, Bˉ0\bar B_0 G0G_0

5.4 Verilog RTL for Combinational and Sequential Elements

// Combinational: 3-bit binary to Gray (unit 4 PLA function)
module gray3 (input wire [2:0] b, output wire [2:0] g);
  assign g = {b[2], b[2] ^ b[1], b[1] ^ b[0]};
endmodule

// Sequential: D flip-flop with asynchronous reset
module dff (input wire clk, reset, d, output reg q);
  always @(posedge clk or posedge reset)
    if (reset) q <= 1'b0;
    else       q <= d;
endmodule

Synthesis tools (Precision RTL, Genus, Design Compiler) translate this RTL into gates/PLD LUTs; the exam questions are generic and do not assume a particular tool.

After-Topic PYQs:

  • 2023-24 (7 Marks): "Explain the characteristics and specifications of TTL NAND gates, including noise margin, propagation delay, fan-in, and fan-out."
  • 2025-26 (7 Marks): "Describe the construction of totem pole TTL NOR gate."
  • 2024-25 (7 Marks): "Explain the working of TTL inverter using suitable diagram."
  • 2024-25 (7 Marks): "Write a short notes on: (i) Fan-in (ii) Propagation delay (iii) Noise margin"
  • 2024-25 (2 Marks): "Describe figure of merit and noise Immunity of TTL and CMOS."
  • 2025-26 (2 Marks): "What do you mean by noise margin?"
  • 2023-24 (2 Marks): "What is fan-out in logic families?"
  • 2023-24 (7 Marks): "Draw a circuit diagram of a CMOS inverter. Draw its transfer characteristics and explain its operation."
  • 2024-25 (7 Marks): "What do you mean by CMOS Inverter? Draw and explain the working of CMOS inverter using VTS."
  • 2024-25 (2 Marks): "Implement 2- input NAND gate by using CMOS inverter."
  • 2025-26 (7 Marks): "Explain the basic circuit and operation of emitter coupled logic (ECL)."
  • 2023-24 (7 Marks): "Describe the concept of programmable logic devices (PLDs) and explain how they are used for logic implementation in digital systems."
  • 2024-25 (7 Marks): "Differentiate between PROM, PLA and PAL."
  • 2024-25 (2 Marks): "What is PLD?"
  • 2025-26 (7 Marks): "Design a 3-bit binary to Gray code converter using PLA."

Solved Exam-Ready Questions

Solved Q1 (2023-24 — 7 Marks | TTL NAND Specifications)

Q: Explain the characteristics and specifications of TTL NAND gates, including noise margin, propagation delay, fan-in, and fan-out.

Solution:

  1. Circuit: multi-emitter input transistor → phase splitter → totem-pole output; Y=AB‾Y=\overline{AB} with truth table in Section 2.1.
  2. Noise margin: NMH=2.4−2.0=0.4NM_H=2.4-2.0=0.4 V, NML=0.8−0.4=0.4NM_L=0.8-0.4=0.4 V; a 0.4 V disturbance can be tolerated.
  3. Propagation delay: LS-TTL tpd≈10t_{pd}\approx10 ns; determined by charge storage in the BJTs, hence faster than early TTL but slower than ECL.
  4. Fan-in: number of emitter inputs on the input transistor; typically 2–8. More inputs increase input capacitance and delay.
  5. Fan-out: min⁡(0.4 mA/20 μA, 8 mA/0.4 mA)=20\min(0.4\text{ mA}/20\,\mu\text{A},\,8\text{ mA}/0.4\text{ mA})=20 for LS-TTL.
  6. Power/delay product: ~2 mW × 10 ns = 20 pJ per gate (figure of merit).
  7. Conclusion: TTL is robust and fast for its era but has lower noise margin and higher power than CMOS.

Solved Q2 (2024-25 — 7 Marks | TTL Inverter)

Q: Explain the working of TTL inverter using suitable diagram.

Solution:

  1. Tie the two inputs of a TTL NAND together: Y=A⋅A‾=AˉY=\overline{A\cdot A}=\bar A.
  2. A = 0: the input emitter junction conducts; the phase splitter is cut off; the upper totem-pole transistor sources current → Y=1Y=1.
  3. A = 1: the emitter junction reverses; current flows through the phase splitter, turning the lower transistor on and the upper off → Y=0Y=0.
  4. Diagram: multi-emitter input transistor with tied input, phase splitter, pull-up and pull-down pair, output Y.
  5. Specifications: VOL≤0.4V_{OL}\le0.4 V, VOH≥2.4V_{OH}\ge2.4 V, tpd≈10t_{pd}\approx10 ns, fan-out 20.
  6. Switching spike: both output transistors may conduct briefly, so a 0.1 µF decoupling capacitor is placed across the supply.

Solved Q3 (2025-26 — 7 Marks | Totem-Pole TTL NOR)

Q: Describe the construction of totem pole TTL NOR gate.

Solution:

  1. Input stage: separate transistors for A and B connected in parallel at the phase-splitter node, rather than the multi-emitter NAND transistor.
  2. Logic: any high input turns the phase splitter on → pull-down transistor on, pull-up off → Y=0Y=0. Only A=B=0 leaves the pull-up on → Y=1Y=1. Hence Y=A+B‾Y=\overline{A+B} (truth table in Section 2.3).
  3. Totem-pole output: complementary pull-up/pull-down pair gives low output impedance in both logic states and fast transitions; it replaces a resistive load and reduces power.
  4. Advantages: higher fan-out, shorter rise/fall time, better noise immunity at the output than open-collector.
  5. Limitation: outputs cannot be wired together (unlike open-collector), unless tristate buffers are used.
  6. Sketch: input transistors → phase splitter → totem-pole pair → Y, labelled with the truth table.

Solved Q4 (2024-25 — 7 Marks | Fan-in, Delay, Noise Margin)

Q: Write a short notes on: (i) Fan-in (ii) Propagation delay (iii) Noise margin

Solution:

  1. Fan-in: number of input terminals of a gate. A TTL NAND typically has 2–8 emitters; increasing fan-in raises input capacitance and propagation delay.
  2. Propagation delay: tpd=(tPHL+tPLH)/2t_{pd}=(t_{PHL}+t_{PLH})/2, measured between 50% points. It limits the maximum clock rate fmax⁡≈1/(n tpd)f_{\max}\approx1/(n\,t_{pd}) for an nn-gate path.
  3. Noise margin: the tolerable unwanted voltage: NMH=VOH(min)−VIH(min)NM_H=V_{OH(min)}-V_{IH(min)}, NML=VIL(max)−VOL(max)NM_L=V_{IL(max)}-V_{OL(max)}; TTL gives 0.4 V, CMOS gives roughly 0.4VDD0.4V_{DD}–0.5VDD0.5V_{DD}.
  4. Why together: these three specifications plus fan-out and power define the figure of merit of a logic family and decide which family suits a design.

Solved Q5 (2024-25 — 2 Marks | Figure of Merit and Noise Immunity)

Q: Describe figure of merit and noise Immunity of TTL and CMOS.

Solution: Figure of merit is the delay–power product tpdPt_{pd}P (pJ): LS-TTL ≈20 pJ, HC CMOS ≈0.01 pJ static — CMOS is far better. Noise immunity is the ability to ignore unwanted voltage, measured by noise margin: TTL ≈0.4 V, CMOS ≈1.5 V at 5 V. CMOS therefore dominates portable and dense logic; TTL remains useful where drive current and historical compatibility matter.


Solved Q6 (2023-24 / 2024-25 — 7 Marks | CMOS Inverter and VTC)

Q: Draw a circuit diagram of a CMOS inverter. Draw its transfer characteristics and explain its operation. / What do you mean by CMOS Inverter? Draw and explain the working of CMOS inverter using VTS.

Solution:

  1. Circuit: pMOS from VDDV_{DD} to output, nMOS from output to ground, gates tied to VinV_{in}.
  2. Vin=0V_{in}=0: nMOS off, pMOS on → Vout=VDDV_{out}=V_{DD} (logic 1).
  3. Vin=VDDV_{in}=V_{DD}: pMOS off, nMOS on → Vout=0V_{out}=0 (logic 0).
  4. VTC: plot VoutV_{out} versus VinV_{in}; flat at VDDV_{DD} for low input, steep transition near VM≈VDD/2V_M\approx V_{DD}/2, flat at 0 for high input (four regions in Section 4.1).
  5. Switching threshold: equating currents gives VM=VDD−∣VTp∣+βn/βp VTn1+βn/βpV_M=\dfrac{V_{DD}-|V_{Tp}|+\sqrt{\beta_n/\beta_p}\,V_{Tn}}{1+\sqrt{\beta_n/\beta_p}}, which reduces to VDD/2V_{DD}/2 for matched devices and small thresholds.
  6. Noise margins: NMH=VDD−VIHNM_H=V_{DD}-V_{IH}, NML=VILNM_L=V_{IL}; both large because the VTC transition is sharp.
  7. Dynamic power: P=αCLVDD2fP=\alpha C_L V_{DD}^2 f; static power is almost zero — the key advantage over TTL.

Solved Q7 (2024-25 — 2 Marks | CMOS NAND)

Q: Implement 2- input NAND gate by using CMOS inverter.

Solution: Extend the CMOS inverter's complementary pull-up/pull-down network to two inputs: use two nMOS transistors in series from output to ground and two pMOS transistors in parallel from VDDV_{DD} to output, with each input driving one pair. Only A=B=1 turns both nMOS on and pulls the output low; all other combinations leave at least one pMOS on, giving Y=AB‾Y=\overline{AB}. This is the CMOS realisation of the inverter logic with two inputs.


Solved Q8 (2025-26 — 7 Marks | ECL)

Q: Explain the basic circuit and operation of emitter coupled logic (ECL).

Solution:

  1. Core: a differential pair Q1,Q2Q_1,Q_2 with common emitter node fed by a constant-current source; Q2Q_2's base held at VREF≈−1.3V_{REF}\approx-1.3 V, Q1Q_1's base takes VinV_{in}.
  2. Vin>VREFV_{in}>V_{REF}: Q1Q_1 steals the current; its collector voltage falls, Q2Q_2's rises.
  3. Vin<VREFV_{in}<V_{REF}: current switches to Q2Q_2; collector polarities reverse. Outputs are taken through emitter followers at standard ECL levels.
  4. No saturation: transistors remain in the active region, so there is no stored charge to remove → tpd≈1t_{pd}\approx1 ns.
  5. Trade-offs: constant current gives low noise but high power; the small output swing gives a small noise margin; a negative supply is needed.
  6. Applications: high-speed clock distribution, high-frequency counters, ECL-to-TTL level translators.

Solved Q9 (2023-24 — 7 Marks | PLDs)

Q: Describe the concept of programmable logic devices (PLDs) and explain how they are used for logic implementation in digital systems.

Solution:

  1. Concept: a PLD is an IC with programmable AND/OR arrays (or LUTs) that can implement arbitrary combinational and sequential functions after design.
  2. Types: PROM (fixed AND, programmable OR), PLA (both programmable), PAL (programmable AND, fixed OR), FPGA (configurable logic blocks + routing).
  3. Implementation flow: write the Boolean function in SOP form → assign product-term fuses/LUT entries → program the device → Verify with a truth table or simulation.
  4. Example: a 3-bit binary-to-Gray converter uses five product terms (Section 5.3) and three OR sums in a PLA.
  5. Advantages: fewer ICs, shorter design cycle, reprogrammability, easy design updates.
  6. FPGA extension: synthesised Verilog RTL configures LUTs and flip-flops, allowing complete systems on one chip.

Solved Q10 (2024-25 — 7 Marks | PROM, PLA, PAL)

Q: Differentiate between PROM, PLA and PAL.

Solution:

  1. PROM: AND array is a fixed full decoder (all 2n2^n minterms); OR array is programmable. Best for lookup tables and code converters; wasteful if few minterms are needed.
  2. PLA: both AND and OR arrays are programmable; product terms can be shared by several outputs. Best for complex SOP with common terms.
  3. PAL: AND array programmable, OR array fixed per output. Faster and cheaper than PLA but less flexible.
  4. Table: the three-row comparison in Section 5.2.
  5. Example: Gray converter with five shared product terms fits a small PLA efficiently; a PROM would decode all eight 3-bit combinations.

Solved Q11 (2025-26 — 7 Marks | PLA Gray Converter)

Q: Design a 3-bit binary to Gray code converter using PLA.

Solution:

  1. Equations: G2=B2G_2=B_2, G1=B2⊕B1=Bˉ2B1+B2Bˉ1G_1=B_2\oplus B_1=\bar B_2B_1+B_2\bar B_1, G0=B1⊕B0=Bˉ1B0+B1Bˉ0G_0=B_1\oplus B_0=\bar B_1B_0+B_1\bar B_0.
  2. Product terms: P1=B2P_1=B_2, P2=Bˉ2B1P_2=\bar B_2B_1, P3=B2Bˉ1P_3=B_2\bar B_1, P4=Bˉ1B0P_4=\bar B_1B_0, P5=B1Bˉ0P_5=B_1\bar B_0 (five fuses rows).
  3. OR connections: G2=P1G_2=P_1; G1=P2+P3G_1=P_2+P_3; G0=P4+P5G_0=P_4+P_5.
  4. PLA table: mark crosses in the AND array at the true/complement rails listed in Section 5.3 and in the OR array at the corresponding output rows.
  5. Verification: binary 101 → Gray G2=1G_2=1, G1=1⊕0=1G_1=1\oplus0=1, G0=0⊕1=1G_0=0\oplus1=1 → 111; consecutive binary values differ by one Gray bit ✓.
  6. Advantage over PROM: only five product terms are programmed instead of all eight minterms.

Practice Questions (Self-Test)

  1. (2 Marks) What is PLD? Give one example.
  2. (2 Marks) What do you mean by noise margin? Write both expressions.
  3. (2 Marks) What is fan-out in logic families? Compute it for IOL=4I_{OL}=4 mA, IIL=0.2I_{IL}=0.2 mA.
  4. (7 Marks) Compare TTL, CMOS and ECL on speed, power, noise margin and supply.
  5. (7 Marks) Draw the VTC of a CMOS inverter and label the four regions and VMV_M.
  6. (7 Marks) Implement F=ABˉ+AˉBF=A\bar B+\bar A B in a PAL and state the programmed AND/OR links.