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
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 reliabilityTAP state transitions
TAP FSM (simplified)
Test-Logic-Reset -> Run-Test/Idle -> Shift-IR/DR -> Update-IR/DR
TMS controls legal transitions.Capture failing report and exact run tags.
Tag scenario (mode, lot/corner, pattern class).
Trace first dependency that changed.
Compare against TAP state machine report, instruction map, JTAG compliance checklist.
Choose one reversible fix and predefine regression checks.
Did the fix work?
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
JTAG ACCESS
TAP controller -> instruction register -> boundary/data register -> board test/debugMetric graph
BOARD TEST READINESS
instruction coverage vs pin controllabilityReports 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