EE-201/Digital Logic & Design/Verified Capture

Lecture 04: Finite State Machines & Synchronous Counters

AM
EE-20128 Aug 202648 min

Finite State Machines & Synchronous Counters

Prof. K. RamanathanRoom CS-402 Edge Node (Stereo Ingest)
Executive Synthesis

Smart Summary & Categorized Takeaways

Synthesized in 1.4s • Sarvam AI

This lecture formalizes synchronous finite state machine (FSM) architectures, contrasting Mealy and Moore machine outputs, and formalizes state minimization using partition refinement algorithms. Synchronous 3-bit up/down counter design is derived with JK flip-flops to completely eliminate the cumulative propagation delays inherent in asynchronous ripple counters.

Mealy vs Moore Outputs

Mealy outputs depend on current state & immediate inputs (asynchronous glitches possible); Moore outputs depend strictly on the present state registers.

JK Inversion Synthesis

Excitation mapping yields J=1, K=1 for toggle transitions, directly resolving next-state count logic without race hazards.

Clock Skew Timing Hazard

Maximum clock frequency is strictly constrained by setup delay t_setup and combinational propagation t_comb.

Acoustic & Blackboard Timeline

Topic Clusters & Lecture Scrub

08:32/48:00
00:04
08:32
19:14
31:40
42:15
1.25x Speed • Stereo Node 04
Active Topic: FSM Mealy vs Moore
00:04
Introduction & Review of Flip-Flops
SR, D, and T latches vs edge-triggered registers
08:32
Finite State Machines: Mealy vs Moore Architecture
Asynchronous glitch propagation and timing diagrams
Now Scrubbed
19:14
State Transition Diagrams & Excitation Tables
Mapping state vectors to transition truth tables
31:40
Synchronous Counters Design & JK Minimization
Karnaugh mapping for 3-bit up/down count registers
42:15
Exam-Important Derivations & Setup Time Violations
High frequency limits, t_cq delays, and clock tree routing
Taxonomy & Ontology

Bulleted Key Concepts & Definitions

6 Extracted Terms
Finite State Machine (FSM)Core

A mathematical model of computation composed of finite states, inputs, and a transition logic function.

State Transition LogicCircuitry

Combinational network evaluating the active input and present state flip-flop vector to synthesize next states.

Synchronous CounterHardware

Digital counter where clock pulses arrive concurrently at every storage element, avoiding cumulative ripple delay.

Mealy vs Moore OutputTheory

Moore depends exclusively on current state registers; Mealy depends on current state plus immediate primary inputs.

Excitation TableSynthesis

Reference matrix listing required flip-flop input signals (J, K) for each specified state transition (0→0, 0→1, 1→0, 1→1).

Clock Skew & Setup DelayTiming

Spatial divergence in clock edge arrival causing timing margin violations and metastability states.

Acoustic Diarization Stream

Dual-Speaker Classroom Transcript

Sarvam ASR Confidence: 99.1% High
12:42PROFESSOR (DR. RAMANATHAN)

"Today we are going to understand how state transitions are synchronized by a single master clock pulse. Look at this diagram on the central blackboard: unlike asynchronous systems where the flip-flop output feeds the clock pin of the successive stage, here every flip-flop triggers in parallel."

13:18STUDENT QUESTION

"Sir, why do we use synchronous counters here instead of ripple counters? Aren't ripple counters much simpler to build with fewer logic gates?"

13:30PROFESSOR (DR. RAMANATHAN)

"In a ripple counter, propagation delays accumulate across flip-flops. For an n-bit counter, the cumulative delay is n × t_pd. If you have 8 stages, your settling time ruins high-speed operations. In synchronous designs, all clock inputs receive the trigger simultaneously, eliminating ripple lag completely."