DFT / ATPG ยท All levels
Clocking for Test: Theory Deep Dive
Theory Deep Dive for Clocking for Test.
Foundational theory
Clocking for Test is central to Scan Fundamentals. Test clocks must safely drive scan shift and at-speed capture modes without violating clock gating, pulse width, or domain assumptions. Senior DFT engineers tie metric movement to architecture assumptions, constraints, and silicon evidence rather than isolated tool output.
Core concepts explained
Test clocks must safely drive scan shift and at-speed capture modes without violating clock gating, pulse width, or domain assumptions.
Primary metric: test clock reachability, pulse legality, scan shift/capture violations
Primary artifact: test clock tree report, pulse check report, ATPG clock constraints
Owners: DFT owner, CTS owner, STA owner
Controllability and observability must be explicit
Production-quality requires reproducible pattern and tester tags
Why this matters at release
At release, Clocking for Test issues can create coverage escapes, unstable production bins, or long debug loops. Scan architecture determines controllability and observability quality.
Mental model
TEST CLOCK MODES
shift: many low-frequency pulses (hold-sensitive)
capture: one/few at-speed pulses (setup-sensitive)
same chain, different timing risk profile.Worked intuition
Name failing metric and scenario context (mode, lot/corner, program).
Open test clock reachability, pulse legality, scan shift/capture violations trend and isolate dominant failing bucket.
Trace architecture assumptions and legality constraints.
Check compression, clocking, and unknown handling dependencies.
Collect test clock tree report, pulse check report, ATPG clock constraints and confirm run tags.
Classify issue: model/constraint, physical/test setup, or real defect signal.
Propose minimal fix and list timing/power/quality regression checks.
Common misconceptions
Coverage percent alone proves release readiness.
More compression always means better outcome.
Silicon mismatch can be debugged without pattern/tester traceability.
Shift timing and test power can be signed independently.
Visual reinforcement
Shift vs capture clocking
TEST CLOCK MODES
shift: many low-frequency pulses (hold-sensitive)
capture: one/few at-speed pulses (setup-sensitive)
same chain, different timing risk profile.Layer responsibilities
DFT OWNERSHIP LAYERS - Clocking for Test
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 slipDFT 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.
Theory reinforcement
Scan architecture determines controllability and observability quality.