CodiodeCodiode
Home
Problem Solving
Skill Tracks
My Assignments
Contests
Leaderboard
Community
Settings
Codiode/Problems/Combinational Logic

Scan Capture Cycle Analysis

HardLogic CircuitAnalyze

Structural testing relies on scan chains to observe and control internal flip-flops during manufacturing test. The circuit below contains three scan flip-flops (FF1, FF2, FF3) with outputs Q1, Q2, and Q3. The combinational logic driving the functional data inputs is defined as D1 = Q2 AND Q3, D2 = PI, and D3 = Q1 XOR Q2.

The scan chain is fully loaded with the vector Q1 = 1, Q2 = 0, and Q3 = 1. The primary input PI is held at 1. The scan enable signal SE is driven to 0 for exactly one clock cycle to perform a functional capture.

Determine the new state of the flip-flops after this capture cycle and analyze the fault coverage implications.

Constraints

  • Assume zero hold time violations and ideal clock routing.
  • All flip-flops are positive edge-triggered.
  • The scan chain shift order is Scan_In → FF1 → FF2 → FF3 → Scan_Out.

Topics

sequential-logicdftfault-testingscan-chain

Solve this problem

Place the gates, wire them up and watch the signals settle. Every submission runs on the same simulation engine that grades it.

This problem is part of Codiode Pro. The statement above is free to read.

Sign in to solveSee what Pro unlocks

The circuit builder and code editor need a desktop screen. On a phone, read the problem here and open it on a laptop to solve.

Related problems

  • Binary to HexEasy
  • 1-to-4 Demultiplexer from AND and NOT GatesEasy
  • 2-to-4 Line Decoder with Active-High EnableEasy
  • Hex Nibble to BinaryEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Full Adder from Half AddersEasy
  • Modulo ArithmeticMedium
  • Two's Complement: Encode a Negative DecimalEasy

Browse all problems · Learning tracks