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

  • Architecture Metrics Reference
  • Workload Taxonomy for Architects
  • Architecture Glossary
  • Computer Architecture Cheatsheet
  • Pipeline Fundamentals14
  • Memory Hierarchy15
  • NoC and Interconnect Architecture6
    • On-Chip Networks
      • Topology Families Compared
      • NoC Latency and Bandwidth Math
      • XY Routing and Deadlock Freedom
      • Credit Flow Control and Buffers
      • Arbitration Policies and QoS
      • NoC Triage Playbook
  • Coherency and Memory Ordering9
  • Performance Analysis9
  • Accelerator Architectures6
  • SoC Architecture Tradeoffs9
  • Architecture Interview Prep14
Loading lesson

‹On-Chip Networks
  1. Topics
  2. Computer Architecture
  3. NoC and Interconnect Architecture
  4. On-Chip Networks
  5. NoC Triage Playbook

Computer Architecture · All levels

NoC Triage Playbook

A repeatable NoC triage: triggers, fabric-versus-endpoint split, one fix, recheck.

On this page

    Name the quadrant first

    Every NoC symptom falls into one of four quadrants. Classify before touching knobs, because each quadrant has a different owner and a different fix.

    Quadrant

    Counters say

    Likely cause

    Injection burst

    Source queues deep, fabric idle

    Synchronized senders exceed the plan

    Arbitration delay

    Grant age skews to one class

    Unfair policy or wrong weights

    Credit stall

    Local queues grow, returns slow, neighbors idle

    Shallow pool or stuck return path

    Endpoint backpressure

    Destination accept rate sags

    Slow sink, not a fabric fault

    Offered versus achieved

    Compare offered load against achieved throughput per region, with a fixed deterministic seed. A worked hotspot example with stated assumptions: four DMA flows at 0.25 flits per cycle share one XY corridor link.

    Diagram
    Assumed offered load: 4 DMA flows * 0.25 flits per cycle = 1.0 flits per cycle on one link
    link capacity 1 flit per cycle -> utilization 1.0, saturated; tail latency climbs while the mean lags
    remap two flows to a parallel corridor: 2 * 0.25 = 0.5 per link -> utilization 0.5, queues drain
    assumed traffic mix for the scenario: CPU 30% + coherent refill 25% + DMA 35% + IO 10% = 100%

    Reproduce with the same seed, overlay hot links on the floorplan, apply exactly one intervention, then recheck p99 and starvation counters. Two changes at once teach nothing.

    Triggers, timestamps, one fix

    Trigger on precursors, not on the spike: queue-slope, grant-age, and credit-latency thresholds open a capture window around the event. Timestamp alignment across clock domains is mandatory, with a stated error budget.

    Diagram
    Watchdog: link round trip 12 cycles -> timeout 4 * 12 = 48 cycles
    stall injected at cycle 100 -> watchdog must fire by cycle 100 + 48 = 148
    timestamp budget: sync jitter +/-1 + CDC uncertainty 1 + counter skew 1 = +/-3 cycles

    Common pitfall

    Relying on one aggregate utilization counter for root-cause claims repeats the classic failure. One counter shows pressure; only per-class occupancy, grant age, and credit health together name the quadrant.

    Tip

    Version-lock trace decode scripts with the RTL revision. Counter semantics drift between revisions, and an unversioned decoder turns old captures into misleading evidence.

    Fabric or endpoint

    Correlate per-hop queue and credit behavior with destination service-time counters and ingress acceptance rate. Queues that grow while the sink idles name the fabric; queues that grow while the sink stalls name the endpoint.

    A strong runbook entry records trigger condition, capture window, decode path, confidence criteria, and rollback-safe mitigation. Anything shorter is a request for more logs.

    Check yourself Field logs show stalls with no fatal error. What two counter groups separate fabric from endpoint?

    Per-hop queue plus credit-return behavior, against destination service time plus ingress acceptance. Sink idle with credit trouble means fabric; sink busy means endpoint.

    Check yourself A 5 ms spike returns every few hours. Why trigger on queue slope instead of the spike itself?

    The spike is over before capture starts. Slope precursors open the window early, so source, hotspot, and destination traces all cover the onset.

    Related topics

    • Arbitration and QoS

    • Performance method

    • Interview method and scenarios

    Previous

    39 / 86

    Next: Coherency and Memory Ordering

    Up next

    Up nextCoherency and Memory Ordering

    Sign in to save progress

    Practice this lessonReport an error

    See also

    • Topology Families Compared
    • NoC Latency and Bandwidth Math
    • XY Routing and Deadlock Freedom