Skip to content
Unit 5 Syllabus Note· Digital Electronics

Digital Electronics

Comprehensive exam revision notes for BCA-108N Unit 5 (Counters, Modulo Circuits & Programmable Logic). Includes Section A (2M), Section B (5M), and Section C (15M) questions, answers, and diagrams.

Digital Electronics

Counters, Modulo Circuits & Programmable Logic

Core Definitions & Key Concepts

Differentiate Asynchronous (Ripple) Counters from Synchronous Counters

  • Asynchronous Counter: Only the first flip-flop is clocked by external clock; subsequent flip-flops are clocked by outputs of preceding flip-flops. Propagation delays accumulate (O(n)).
  • Synchronous Counter: All flip-flops are clocked simultaneously by a common external clock pulse; state changes happen concurrently, enabling high operating frequencies.

What is a Mod-N Counter? How many flip-flops are required to construct a Mod-12 counter

A Mod-N counter has N distinct counting states (0 to N-1). The number of flip-flops n required satisfies: 2^(n - 1) < N <= 2^n. For Mod-12: 2^3 = 8 < 12 <= 2^4 = 16. Thus, 4 flip-flops are required.

What is a Decade (BCD / Mod-10) Counter

A counter that counts from 0000 (0) through 1001 (9) and resets back to 0000 on the 10th clock pulse using a NAND gate connected to reset inputs when state reaches 1010 (10).

Ring Counter versus Johnson (Twisted Ring) Counter

  • Ring Counter: A circular shift register where the output of the last flip-flop is fed back to the input of the first. An n-bit ring counter has n states.
  • Johnson Counter: The inverted output (Q') of the last flip-flop is fed back to the first flip-flop. An n-bit Johnson counter has 2n states.

Differentiate SRAM from DRAM cells

  • SRAM (Static RAM): Built from bistable cross-coupled flip-flop inverters; faster, does not require refreshing, used for cache.
  • DRAM (Dynamic RAM): Stores data as electrical charge in tiny capacitor-transistor pairs; requires periodic memory refresh cycles, high density, economical, used for main RAM.

Classify ROM types (PROM, EPROM, EEPROM, Flash)

  • PROM: Programmable once using high voltage fuse blowing.
  • EPROM: Erased by exposure to ultraviolet (UV) light through a quartz window.
  • EEPROM: Erased electrically byte-by-byte in circuit.
  • Flash Memory: High-speed EEPROM erased and rewritten in blocks/sectors.

How many address and data lines are required for a 32K x 8 memory chip

  • Capacity: 32K = 32 * 1024 = 32,768 = 2^15 locations => 15 Address Lines.
  • Word width: 8 bits => 8 Data Lines.

Differentiate PAL (Programmable Array Logic) from PLA (Programmable Logic Array)

  • PLA: Both AND array and OR array are fully programmable (maximum flexibility, higher cost/delay).
  • PAL: Programmable AND array, but Fixed OR array (easier to program, faster, economical).

Conceptual & Architectural Analysis

Design a 3-Bit Synchronous Up-Counter using T Flip-Flops

1. State Table & T Flip-Flop Transitions

Present State (Q_2 Q_1 Q_0)Next State (Q_2 Q_1 Q_0)T_2T_1T_0
000001001
001010011
010011001
011100111
100101001
101110011
110111001
111000111

2. Excitation Equations

  • T_0 = 1 (Toggles on every clock cycle)
  • T_1 = Q_0 (Toggles when Q_0 = 1)
  • T_2 = Q_1 Q_0 (Toggles when both Q_1 = 1 and Q_0 = 1)

All flip-flops share the same common clock line.

PLA vs PAL architecture with block diagrams and comparison table

FeaturePLA (Programmable Logic Array)PAL (Programmable Array Logic)
AND ArrayProgrammableProgrammable
OR ArrayProgrammableFixed
FlexibilityHigh (can share product terms across outputs)Moderate
Hardware ComplexityHigh propagation delayLower propagation delay; faster
Programming EaseComplexSimpler, widely supported in CAD tools

In-Depth Analysis & Implementation

Discuss Asynchronous (Ripple) and Synchronous Counters in comprehensive detail. Design a 4-bit Asynchronous Mod-10 (Decade) Counter with timing waveforms and reset logic

1. Asynchronous Mod-10 Counter Architecture

A 4-bit ripple counter naturally cycles through 16 states (0000 to 1111). To create a decade counter (Mod-10), we force the counter to reset asynchronously to 0000 the instant it hits 1010 (decimal 10).

2. Reset Logic Formulation

  • Binary state 10 is: Q_3 = 1, Q_2 = 0, Q_1 = 1, Q_0 = 0.
  • A 2-input NAND gate connects to Q_3 and Q_1.
  • The output of the NAND gate: Reset = (Q_3 \cdot Q_1)'.
  • When count reaches 10 (Q_3=1, Q_1=1), NAND output drops to Logic 0, immediately triggering active-low Clear (CLR) inputs of all four flip-flops to reset back to 0000.

3. State Sequence & Waveforms

States: 0 -> 1 -> 2 -> 3 -> 4 -> 5 -> 6 -> 7 -> 8 -> 9 -> (10 temporary glitch) -> 0. Frequency at Q_3 output is f_{clk} / 10, functioning as a frequency divide-by-10 circuit.

Important Exam Points & Quick Revision

In BCA-108N Unit 5, synchronous counter design using state transition tables and excitation equations, along with PLA vs PAL architecture comparisons, appear frequently for 10–15 marks.

Your reading progress
0%

100% left on this page — finishing it closes the gap for Counters, Modulo Circuits & Programmable Logic.

Weak topic hint

Counters, Modulo Circuits & Programmable Logic still counts as a weak topic until you finish this note and answer its questions.

Practise this unit
What Should You Do Next?

Test Your Understanding

Now that you've read through these notes, practice unit MCQs to identify weak points and solidify your learning before exams.