DFT / ATPG · All levels
ATPG Constraints: Mechanism
Mechanism for ATPG Constraints.
Mechanism to understand
Mechanism for ATPG Constraints focuses on constraint consistency errors, illegal state count, pattern abort rate. The goal is to convert metric movement into mechanism, owner, and release decision.
ATPG constraints encode legal test-mode behavior, clocks, resets, and masks so generated patterns are both executable and meaningful. Think of DFT as a quality pipeline where setup quality determines what silicon evidence means.
Identify where controllability/observability is introduced.
Identify legal constraints and mode assumptions.
Identify failure class: architecture, constraints, physical, or silicon.
Layered view
DFT CLOSURE FLOW - ATPG Constraints
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.ATPG legality envelope
constraints define legal test states:
clocks + resets + masks + test enables + safe unknown handling
invalid envelope -> great-looking but unusable patterns.Layer responsibilities
DFT OWNERSHIP LAYERS - ATPG Constraints
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
ATPG quality comes from fault model choice plus legal constraints, not raw pattern volume alone.
Concept diagram
ATPG FLOW
fault model -> constraints -> generation -> simulation -> coverage closure -> signoffMetric graph
COVERAGE GAP
target coverage
^
| o before closure
| o after fixes
+---------------------> iterationReports and artifacts
fault model coverage
untestable class report
constraint legality errors
pattern signoff memo
Mini case study
Transition coverage stalled due to clock constraints mismatch; updated at-speed capture definitions recovered target.
Debug branches
Classify untestable faults
Diff ATPG constraints each run
Pair coverage with pattern budget
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.
Mechanism deep dive
ATPG constraints encode legal test-mode behavior, clocks, resets, and masks so generated patterns are both executable and meaningful.