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

Test Point Insertion Logic

HardLogic CircuitDebug

Design for Test (DFT) logic uses control points to ensure internal nodes can be sensitized and measured during manufacturing tests. The circuit implements the function Y = (A & B) ^ C with a test control point. To achieve full fault coverage, the Test_En signal must force the internal AND gate output to 1 when asserted.

Expected behavior:

| Test_En | A | B | C | Y | |-----------|-----|-----|-----|-----| | 0 | 0 | 0 | 0 | 0 | | 0 | 0 | 0 | 1 | 1 | | 0 | 0 | 1 | 0 | 0 | | 0 | 0 | 1 | 1 | 1 | | 0 | 1 | 0 | 0 | 0 | | 0 | 1 | 0 | 1 | 1 | | 0 | 1 | 1 | 0 | 1 | | 0 | 1 | 1 | 1 | 0 | | 1 | 0 | 0 | 0 | 1 | | 1 | 0 | 0 | 1 | 0 | | 1 | 0 | 1 | 0 | 1 | | 1 | 0 | 1 | 1 | 0 | | 1 | 1 | 0 | 0 | 1 | | 1 | 1 | 0 | 1 | 0 | | 1 | 1 | 1 | 0 | 1 | | 1 | 1 | 1 | 1 | 0 |

Automatic Test Pattern Generation (ATPG) simulation fails. The test vector Test_En=1, A=0, B=0, C=0 outputs Y=0 instead of 1. The control point fails to sensitize the downstream logic. Inspect the circuit and correct the fault.

Constraints

  • Do not alter the fundamental logic path for Test_En = 0.
  • Use exactly one logic gate to inject the Test_En control signal.

Topics

combinational-logicdftfault-testing

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
  • Full Adder from Half AddersEasy
  • Odd Parity Bit Generator for 3-bit DataEasy
  • Hex Nibble to BinaryEasy
  • Extract Expression from a Two-Level AND-OR Circuit with Fan-OutEasy
  • The Two Zeros Problem in Sign-MagnitudeEasy

Browse all problems · Learning tracks