Skip to content
DenseChip
Learn
PracticeCode labInterview

DenseChip

Navigate

Menu

LearnPracticeCode labInterview

Tools

All toolsSV editorCode repoResume
DenseChip

Practice, courses, and chip-design tools in one focused workspace.

LearnPracticeCode labInterviewToolsLearning paths

© 2026 DenseChip

AboutContactPrivacyTerms
Skip to lesson

Course contents

  • How to Use This Course
  • DFT Metrics Reference
  • DFT Glossary
  • Reading Path
  • Scan Fundamentals61
    • Scan Cell Architecture
    • Chain Stitching Rules
      • Chain Stitching Rules: Mechanism
      • Chain Stitching Rules: Inputs & Outputs
      • Chain Stitching Rules: Reports & Metrics
      • Chain Stitching Rules: Debug Playbook
      • Chain Stitching Rules: Worked Example
      • Chain Stitching Rules: Pitfalls & Red Flags
      • Chain Stitching Rules: Interview Drills
      • Chain Stitching Rules: Review Checklist
      • Chain Stitching Rules: Theory Deep Dive
      • Chain Stitching Rules: Design Space
      • Chain Stitching Rules: Expanded Case Study
      • Chain Stitching Rules: Step-by-Step Walkthrough
      • Chain Stitching Rules: Comparison Matrix
      • Chain Stitching Rules: Software / Programmer View
      • Chain Stitching Rules: Silicon PPA Impact
    • Clocking for Test
    • Scan-Ready RTL
    • Scan Fundamentals: Tricky Q&A
  • Compression & Diagnosis61
  • ATPG & Pattern Generation61
  • MBIST & LBIST61
  • Boundary Scan & JTAG61
  • Test Timing & Power61
  • DFT Physical Integration61
  • DFT Interview Prep61
  • DFT / ATPG Cheatsheet
Loading lesson

‹Chain Stitching Rules
  1. Topics
  2. Design for Test
  3. Scan Fundamentals
  4. Chain Stitching Rules
  5. Chain Stitching Rules: Debug Playbook

DFT / ATPG · All levels

Chain Stitching Rules: Debug Playbook

Debug Playbook for Chain Stitching Rules.

On this page

    Debug playbook

    Debug Playbook for Chain Stitching Rules focuses on chain balance spread, max chain length, scan shift time. The goal is to convert metric movement into mechanism, owner, and release decision.

    Debug aims to find the first incorrect assumption, not the loudest downstream symptom. Start with reproducibility and ownership.

    Root-cause tree

    Diagram
    ROOT-CAUSE TREE - Chain Stitching Rules
    
    chain balance spread, max chain length, scan shift time regresses
            |
      setup changed?
        /        \
      yes         no
      |            |
    constraint    silicon or
    or ATPG       physical/test path
     /    \          |
    SDC   model    chain/clock/power/diagnosis
    diff  diff     isolate first failing signature
    1. Freeze run tags for patterns, constraints, and tester setup.

    2. Isolate first failing metric bucket and scenario.

    3. Classify failure source: model, constraints, physical, or silicon.

    4. Prove mechanism with one reduced replay or targeted run.

    5. Apply smallest owner-controlled fix.

    6. Re-run timing, power, and quality regression matrix.

    Review memo template

    Diagram
    STAFF DFT REVIEW MEMO - Scan Fundamentals / Chain Stitching Rules
    
    1. Symptom
       - Watched metric: chain balance spread, max chain length, scan shift time
       - Failing scenario: <mode/lot/corner/program>
       - Pattern class: <scan/transition/compressed/BIST/JTAG>
       - Tags: <constraints, patterns, tester program, netlist>
    
    2. Mechanism hypothesis
       - Primary mechanism: Scan flops are stitched into chains based on clock, power, and physical constraints; poor stitching increases test time and routing pain.
       - Competing hypothesis: <constraint issue, model issue, physical issue, silicon issue>
       - Missing evidence: <report, replay, diagnosis trace>
    
    3. Proposed action
       - Minimal reversible change: <constraint fix, architecture tweak, pattern update>
       - Expected metric movement: <delta>
       - Regression risk: timing, power, quality, schedule
    
    4. Signoff
       - Re-run artifact: chain map, balance histogram, stitch rule deck
       - Required owners: DFT owner, PD owner, implementation owner
       - Final decision: release, waive, rollback, or escalate

    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

    This content block can't be displayed here.

    Block type: unknown

    This content block can't be displayed here.

    Block type: unknown

    This content block can't be displayed here.

    Block type: unknown

    Previous

    23 / 493

    Next: Chain Stitching Rules: Worked Example

    Up next

    Up nextChain Stitching Rules: Worked Example

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Chain Stitching Rules: Mechanism
    • Chain Stitching Rules: Inputs & Outputs
    • Chain Stitching Rules: Pitfalls & Red Flags