DFT / ATPG · All levels
Chain Stitching Rules: Debug Playbook
Debug Playbook for Chain Stitching Rules.
Debug playbook
Debug Playbook for Chain Stitching Rules focuses on chain balance spread, max chain length, scan shift time. The goal is to convert metric movement into mechanism, owner, and release decision.
Debug aims to find the first incorrect assumption, not the loudest downstream symptom. Start with reproducibility and ownership.
Root-cause tree
ROOT-CAUSE TREE - Chain Stitching Rules
chain balance spread, max chain length, scan shift time regresses
|
setup changed?
/ \
yes no
| |
constraint silicon or
or ATPG physical/test path
/ \ |
SDC model chain/clock/power/diagnosis
diff diff isolate first failing signatureFreeze run tags for patterns, constraints, and tester setup.
Isolate first failing metric bucket and scenario.
Classify failure source: model, constraints, physical, or silicon.
Prove mechanism with one reduced replay or targeted run.
Apply smallest owner-controlled fix.
Re-run timing, power, and quality regression matrix.
Review memo template
STAFF DFT REVIEW MEMO - Scan Fundamentals / Chain Stitching Rules
1. Symptom
- Watched metric: chain balance spread, max chain length, scan shift time
- Failing scenario: <mode/lot/corner/program>
- Pattern class: <scan/transition/compressed/BIST/JTAG>
- Tags: <constraints, patterns, tester program, netlist>
2. Mechanism hypothesis
- Primary mechanism: Scan flops are stitched into chains based on clock, power, and physical constraints; poor stitching increases test time and routing pain.
- Competing hypothesis: <constraint issue, model issue, physical issue, silicon issue>
- Missing evidence: <report, replay, diagnosis trace>
3. Proposed action
- Minimal reversible change: <constraint fix, architecture tweak, pattern update>
- Expected metric movement: <delta>
- Regression risk: timing, power, quality, schedule
4. Signoff
- Re-run artifact: chain map, balance histogram, stitch rule deck
- Required owners: DFT owner, PD owner, implementation owner
- Final decision: release, waive, rollback, or escalateDFT deep dive
Scan architecture quality determines whether ATPG can control and observe real silicon state.
Concept diagram
SCAN INSERTION FLOW
scan-ready RTL -> scan replacement -> stitch chains -> DRC -> ATPG handoffMetric graph
CHAIN BALANCE
chain length spread
low spread = better shift time
high spread = routing + hold riskReports and artifacts
scan insertion summary
chain balance report
scan DRC log
clocking legality report
Mini case study
Coverage plateau traced to non-scan flops in reset islands; RTL + DFT lint policy fixed root cause.
Debug branches
Check scan replacement first
Audit chain legality by domain
Validate shift/capture clocks
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
Scan flops are stitched into chains based on clock, power, and physical constraints; poor stitching increases test time and routing pain.
Metric: chain balance spread, max chain length, scan shift time