DFT / ATPG ยท All levels
Scan Cell Architecture
Scan Fundamentals: Scan insertion replaces functional flops with scan-capable cells so internal state becomes controllable and observable in test mode.
What this topic teaches
Scan Cell Architecture turns DFT intent into measurable release confidence. Scan insertion replaces functional flops with scan-capable cells so internal state becomes controllable and observable in test mode. The senior challenge is proving whether a metric move came from real quality gain, setup drift, or hidden regression.
The senior-engineer question
When scan cell legality rate, scan replacement ratio, scan DRC count moves, can you identify mechanism, evidence quality, owner, and the minimum safe next action?
DFT CLOSURE FLOW - Scan Cell Architecture
scan/test architecture
|
v
ATPG constraints + fault models
|
v
pattern generation + compression
|
v
timing/power/physical validation
|
v
silicon diagnosis and release signoff
Debug rule: always state metric, run tags, and owning team with any claim.Picture the closure flow
Draw the causal flow before opening tools. Use these diagrams to anchor architecture, constraints, and silicon behavior discussions.
Mux-DFF scan cell behavior
SCAN CELL
functional path: D ------> Q
^
scan path: SI -> mux --|
|
SE=1 (shift), SE=0 (functional)
Shift mode exposes internal state through SI/SO.Process sequence
DFT FLOW - Scan Cell Architecture
scan insertion -> chain stitch -> compression map -> ATPG -> tester apply -> diagnosis
| | | | |
controllability shift balance channel use coverage silicon correlation
Primary metric: scan cell legality rate, scan replacement ratio, scan DRC countOwnership layers
DFT OWNERSHIP LAYERS - Scan Cell Architecture
layer owns failure mode
---------------- -------------------------- -------------------------
rtl/architecture scanability hooks uncontrollable logic
atpg/constraints legal pattern intent aborts, low coverage
physical/clocking chain route + test clocks shift hold/timing escapes
tester/program pattern apply integrity false binning / bad fails
quality signoff release criteria escapes or schedule slipEvidence to collect
Primary metric: scan cell legality rate, scan replacement ratio, scan DRC count.
Primary artifact: scan insertion report, scan DRC log, scan replacement summary.
Owners to bring into review: DFT owner, RTL owner, synthesis owner.
One failing signature and one reduced reproduction path.
Exact run tags for constraints, patterns, and tester program.
Ownership map
OWNERSHIP MAP - Scan Cell Architecture
artifact owner
---------------- -----------------
architecture/report DFT owner
constraints/setup RTL owner
physical/test synthesis owner
Name an owner for each failing metric cluster.Subpages in this topic
Each topic includes mechanism, inputs/outputs, reports, debug, worked example, pitfalls, interview, checklist, theory, design space, expanded case study, walkthrough, comparison matrix, software view, and silicon impact.
Key takeaways
State metric and run tags with every claim.
Connect every fix to a regression matrix.
Treat quality, timing, and power as coupled.
Common pitfalls
Coverage-centric decisions without legality checks.
Pattern changes without tester correlation.
Release calls without owner signoff.
DFT 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.