DFT / ATPG · All levels

JTAG TAP Architecture: Worked Example

Worked Example for JTAG TAP Architecture.

Worked example

Worked Example for JTAG TAP Architecture focuses on TAP state legality, instruction decode coverage, chain detect reliability. The goal is to convert metric movement into mechanism, owner, and release decision.

A release review shows regression on TAP state legality, instruction decode coverage, chain detect reliability. The strongest first move is to freeze evidence, isolate one failing bucket, and prove mechanism before changing flow knobs.

Sequence under inspection

diagram
DFT FLOW - JTAG TAP Architecture

scan insertion -> chain stitch -> compression map -> ATPG -> tester apply -> diagnosis
      |                |                |            |             |
 controllability   shift balance    channel use   coverage     silicon correlation

Primary metric: TAP state legality, instruction decode coverage, chain detect reliability

TAP state transitions

diagram
TAP FSM (simplified)
Test-Logic-Reset -> Run-Test/Idle -> Shift-IR/DR -> Update-IR/DR

TMS controls legal transitions.
  1. Capture failing report and exact run tags.

  2. Tag scenario (mode, lot/corner, pattern class).

  3. Trace first dependency that changed.

  4. Compare against TAP state machine report, instruction map, JTAG compliance checklist.

  5. Choose one reversible fix and predefine regression checks.

Did the fix work?

diagram
BEFORE / AFTER - JTAG TAP Architecture

metric quality
  ^
  |                    --- release target
  |      o regressed
  |           o baseline
  |                o after fix
  +-------------------------------> closure iteration

Prove quality, timing, and test-power all moved safely.

DFT deep dive

Boundary scan and JTAG are board-level contracts, not just RTL features.

Concept diagram

diagram
JTAG ACCESS

TAP controller -> instruction register -> boundary/data register -> board test/debug

Metric graph

diagram
BOARD TEST READINESS

instruction coverage vs pin controllability

Reports and artifacts

  • TAP compliance report

  • boundary cell coverage matrix

  • EXTEST/INTEST results

  • debug lock policy log

Mini case study

Board bring-up blocked by pinmux override in one mode; TAP instruction decode and package table alignment fixed path.

Debug branches

  • Verify TAP state transitions

  • Audit package pin ownership

  • Check security lifecycle lock behavior

Senior review question

Ask: what evidence proves this DFT decision is safe for production?

Key takeaways

  • State metric, lot/corner context, and pattern tag with every claim.

  • Treat timing, power, and quality as one signoff problem.

Common pitfalls

  • Chasing coverage without legality checks.

  • Ignoring test-power side effects of pattern changes.

  • Debugging silicon without reproducible tags.

Principal DFT review addendum

The TAP controller sequences boundary scan operations and debug instructions that expose board-level controllability and observability.

Metric: TAP state legality, instruction decode coverage, chain detect reliability