Practice
Timing diagram practice problems
Given the inputs as waveforms, draw what the outputs do. It is the question every digital electronics exam asks about latches, flip flops, counters and shift registers, and the one that shows whether you can follow a circuit clock edge by clock edge.
146 problems6 free to solve34 easy, 66 medium, 46 hard
You fill in each output row by clicking or dragging across the steps, and the whole waveform is checked when you submit.
What these problems cover
- SR, D, JK and T latches and flip flops, and master slave internals
- Edge triggered versus level sensitive behaviour
- Setup and hold violations
- Ripple, synchronous, BCD and mod N counters
- Shift registers, ring and Johnson counters
- Clock gating glitches
Free to start
Solve these with a free account. Every other statement on this page is free to read.
Problems by track
Gate-Level Logic1
Latches and Flip-Flops57
- SR NOR Latch: Normal Operation Waveform Trace
- SR NOR Latch: Forbidden State Behavior
- SR NOR Latch: Race Condition on Simultaneous Forbidden-State Release
- SR NOR Latch: Memory Phase Duration Verification
- SR NAND Latch Active-Low Operation
- SR NAND Latch: Forbidden State
- SR NAND Latch: Simultaneous Forbidden-State Release Race
- Gated SR Latch: Transparency Window Trace
- Gated SR Latch: Glitch Propagation During Enable Window
- Gated SR Latch: Forbidden State During Enable Window
- Gated SR Latch: Output Holds When Enable Drops Mid-State
- D Latch: Transparency Window Trace
Counters32
- 4-Bit Ripple Counter: Propagation Stagger
- Ripple Counter CLR Timing Waveform
- Ripple Down-Counter Waveform Trace
- 4-Bit Synchronous Counter Timing
- Cascaded 4-Bit Synchronous Counters
- Synchronous Counter with Enable
- Synchronous Counter Carry Chain
- Synchronous Counter: Count Sequence Verification
- Mod-6 Counter: One-Cycle Terminal State Waveform
- Mod-N Counter: Synchronous vs. Async Reset Terminal State Comparison
- Mod-12 Counter: Cascade Timing Waveform
- Mod-N Counter: Non-50% Duty Cycle Analysis
Shift Registers26
- 4-Bit SISO: Continuous Data Stream Trace
- 4-Bit SISO: Pipeline Latency Waveform
- Two 4-Bit SISOs in Series: Total Latency
- SISO: Recirculating Register Waveform Verification
- 4-Bit SIPO: Parallel Output at Each Clock Cycle
- 4-Bit PISO: Load and Shift Waveform
- PISO: LOAD Pulse Width Requirement
- PISO: Back-to-Back Loading Without Gaps
- PISO: Serial Output Timing Relative to Load Cycle Annotation
- 4-Bit PIPO: One-Cycle Register Latency
- PIPO: Shift-Left as Multiply by 2
- PIPO: Arithmetic Right Shift (Sign-Extended)
Clocking and Synchronization27
- Ripple Divide by 4 Phase Delay Analysis
- Glitch Analysis in Combinational Divider Decoding
- Clock Phase Shifter 180 Degrees
- Ring Oscillator Timing Analysis
- Monostable Multivibrator Timing
- Naive AND Gate Clock Gating Glitch
- Naive OR Gate Clock Gating Glitch
- Clock Gating Setup Time Violation
- Local versus Distributed Gating Timing
- Naive Clock Multiplexer Glitch Analysis
- Glitch Free Switch Timing Constraints
- Metastable Window Identification
More problems3
How your answer is checked
Each output you draw is compared with the simulated waveform of the circuit, and the result marks the signals that differ.
Questions
- Do I build a circuit for these?
- No. The circuit and the input waveforms are given. You draw the outputs.
- Are these the same as exam questions?
- They are the same kind of question: inputs over time in, outputs over time out. The difference is that your answer is checked against a simulation, not a marking scheme.