DFT / ATPG · All levels

Chain Stitching Rules: Step-by-Step Walkthrough

Step-by-Step Walkthrough for Chain Stitching Rules.

Step-by-step analysis walkthrough

Use when you own Chain Stitching Rules in a DFT closure review.

  1. Open release criteria and failing metric dashboard.

  2. Partition failures by pattern family and operating context.

  3. Inspect constraints, clocks, masks, and unknown handling.

  4. Check architecture assumptions against implementation reality.

  5. Review diagnosis evidence for repeatability.

  6. Assign owner and propose smallest high-confidence change.

  7. Run timing, power, and quality regressions.

  8. Capture final signoff or waiver decision.

Artifacts to collect

  • chain map, balance histogram, stitch rule deck

  • pattern tag manifest

  • tester program revision

  • signoff checklist

  • owner tracker

Decision memo template

diagram
DFT DECISION MEMO - Chain Stitching Rules
scenario:
metric:
hypothesis:
fix:
regression:
owners: DFT owner, PD owner, implementation owner

Reference visuals

Chain stitching constraints

diagram
SCAN CHAINS

clock_domain_A: FF1 -> FF2 -> FF3 -> SO
clock_domain_B: FF4 -> FF5 -> FF6 -> SO

Rules:
1) keep domains legal
2) balance chain length
3) avoid long physical detours

DFT deep dive

Scan architecture quality determines whether ATPG can control and observe real silicon state.

Concept diagram

diagram
SCAN INSERTION FLOW

scan-ready RTL -> scan replacement -> stitch chains -> DRC -> ATPG handoff

Metric graph

diagram
CHAIN BALANCE

chain length spread
low spread   = better shift time
high spread  = routing + hold risk

Reports 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