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

‹Scan Fundamentals
  1. Topics
  2. Design for Test
  3. Scan Fundamentals
  4. Chain Stitching Rules

DFT / ATPG · All levels

Chain Stitching Rules

Scan Fundamentals: Scan flops are stitched into chains based on clock, power, and physical constraints; poor stitching increases test time and routing pain.

  • 15topics
  • 15lessons

Topics in this section

  1. 1Chain Stitching Rules: Mechanism1 lesson
  2. 2Chain Stitching Rules: Inputs & Outputs1 lesson
  3. 3Chain Stitching Rules: Reports & Metrics1 lesson
  4. 4Chain Stitching Rules: Debug Playbook1 lesson
  5. 5Chain Stitching Rules: Worked Example1 lesson
  6. 6Chain Stitching Rules: Pitfalls & Red Flags1 lesson
  7. 7Chain Stitching Rules: Interview Drills1 lesson
  8. 8Chain Stitching Rules: Review Checklist1 lesson
  9. 9Chain Stitching Rules: Theory Deep Dive1 lesson
  10. 10Chain Stitching Rules: Design Space1 lesson
  11. 11Chain Stitching Rules: Expanded Case Study1 lesson
  12. 12Chain Stitching Rules: Step-by-Step Walkthrough1 lesson
  13. 13Chain Stitching Rules: Comparison Matrix1 lesson
  14. 14Chain Stitching Rules: Software / Programmer View1 lesson
  15. 15Chain Stitching Rules: Silicon PPA Impact1 lesson
On this page

    What this topic teaches

    Chain Stitching Rules turns DFT intent into measurable release confidence. Scan flops are stitched into chains based on clock, power, and physical constraints; poor stitching increases test time and routing pain. The senior challenge is proving whether a metric move came from real quality gain, setup drift, or hidden regression.

    The senior-engineer question

    When chain balance spread, max chain length, scan shift time moves, can you identify mechanism, evidence quality, owner, and the minimum safe next action?

    Diagram
    DFT CLOSURE FLOW - Chain Stitching Rules
    
    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.

    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

    Process sequence

    Diagram
    DFT FLOW - Chain Stitching Rules
    
    scan insertion -> chain stitch -> compression map -> ATPG -> tester apply -> diagnosis
          |                |                |            |             |
     controllability   shift balance    channel use   coverage     silicon correlation
    
    Primary metric: chain balance spread, max chain length, scan shift time

    Ownership layers

    Diagram
    DFT OWNERSHIP LAYERS - Chain Stitching Rules
    
    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 slip

    Evidence to collect

    • Primary metric: chain balance spread, max chain length, scan shift time.

    • Primary artifact: chain map, balance histogram, stitch rule deck.

    • Owners to bring into review: DFT owner, PD owner, implementation owner.

    • One failing signature and one reduced reproduction path.

    • Exact run tags for constraints, patterns, and tester program.

    Ownership map

    Diagram
    OWNERSHIP MAP - Chain Stitching Rules
    
    artifact              owner
    ----------------      -----------------
    architecture/report DFT owner
    constraints/setup   PD owner
    physical/test       implementation 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

    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.

    PreviousNext: Chain Stitching Rules: Mechanism

    Up next

    Up nextChain Stitching Rules: Mechanism

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Scan Cell Architecture
    • Clocking for Test
    • Scan-Ready RTL