DFT / ATPG · All levels
Chain Stitching Rules: Expanded Case Study
Expanded Case Study for Chain Stitching Rules.
Extended case study
Release review: chain balance spread, max chain length, scan shift time regresses after a test-flow update touching Chain Stitching Rules.
Background
Team had prior signoff, then a new program/config introduced regressions in selected buckets.
Symptoms observed
chain balance spread, max chain length, scan shift time regression
Mismatch between simulation and tester
Escalation without clear owner
Investigation timeline
Hour 0: freeze pattern set, constraints, and tester program tags
Hour 1: isolate first failing bucket by mode/lot
Hour 2: verify legality and constraints assumptions
Hour 3: correlate with physical/timing/power context
Hour 4: choose minimal reversible fix
Hour 5: run full signoff regression matrix
Hour 6: publish decision memo and owners
Root cause
Root cause tied to Chain Stitching Rules: Scan flops are stitched into chains based on clock, power, and physical constraints; poor stitching increases test time and routing pain.
Fix and validation
Apply bounded fix with owner
Re-run chain map, balance histogram, stitch rule deck
Re-validate quality, timing, and test power
Lessons learned
Tag every run artifact
Mechanism first, command second
Close with explicit release decision
CASE STUDY - Chain Stitching Rules
baseline metric / regressed metric / post-fix metricSequence under stress
DFT FLOW - Chain Stitching Rules
scan insertion -> chain stitch -> compression map -> ATPG -> tester apply -> diagnosis
| | | | |
controllability shift balance channel use coverage silicon correlation
Primary metric: chain balance spread, max chain length, scan shift timeDFT 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