/tt-debug-tools:tt-noc-dumpfrom tt-debug-tools
Collects NoC traces from a Tenstorrent device to detect missing noc_async_write_barrier calls and other kernel data-movement bugs. Useful when output corruption suggests unflushed writes.
Ships in tt-debug-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Instruments every NoC transaction with its type, source, destination, counters and size. The host collects those packets, buckets them per core and per RISC, and compares each trace against earlier traces and against other cores on the same device. At the end it prints the problems it found, grouped by core.
Experimental upstream. No kernel changes are needed — the instrumentation is automatic.
Not this skill: a core parked on noc_async_write_barrier right now is a hang,
and the callstack comes from tt-triage.
| Variable | Effect |
|---|---|
TT_METAL_NOC_DEBUG_DUMP=1 | Enables trace collection and the end-of-run analysis. |
TT_METAL_RECORD_NOC_TRANSFER_DATA | Records transfer payload data alongside the metadata. |
The upstream test issues a multicast write followed by a multicast semaphore increment with no write barrier after it — the canonical missing-barrier shape.
TT_METAL_NOC_DEBUG_DUMP=1 build/test/tt_metal/unit_tests_noc_debugging \
--gtest_filter=NOCDebuggingFixture.McastOnlyWriteFlush
Printed to the console, not to a file. Emitted when the program finishes, when
the device closes, or when ReadDeviceProfilerResults is called explicitly.
========== NOC Debug Summary ==========
Unflushed async writes at kernel end
(missing noc_async_write_barrier):
Device 0 (18,18) Processor 0 [semaphore mcast]
=======================================
Each finding names the device, the core coordinate, the processor index, and a tag for the transaction kind that was left unflushed. On a multi-device run the summary reprints and accumulates, so the same finding appears once per device close — read the last block, and treat repeats of an earlier device's row as history rather than as new findings.
It cannot run alongside watcher, the profiler, or kernel prints. All four compete for the same kernel binary budget, and the upstream note is explicit that they are mutually exclusive with this feature. Unset the others first.
A clean summary is not proof of correct barrier discipline. The NoC is non-deterministic: an acknowledgement can return before the trace notices the missing barrier, so a real bug can pass. Treat a finding as evidence and a clean run as weak.
It costs measurable time. Host transfers on both directions plus 1–15% kernel cycles. Do not leave it on for a performance measurement, and do not compare timings taken with it against timings taken without.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/tt-assertsTurn on assertion checking inside Tenstorrent kernels — lightweight kernel asserts, LLK asserts in the compute library, and the LLK sanitizer — and read back what fired. Use when a kernel produces impossible results, when you suspect a broken assumption about tile dimensions or data formats, or when a run hangs and you want to know whether an assert caused it. A fired assert halts the core and looks exactly like a hang from outside./tt-dprintPrint values out of a Tenstorrent kernel — scalars, bfloat16, enums, and circular-buffer tile contents — with DPRINT / DEVICE_PRINT. Use when a kernel produces wrong numbers and you need to see what it actually read or wrote, when you want a checkpoint reached or a loop index, or when a DPRINT log needs interpreting. For a kernel that hangs rather than computes the wrong answer, that is tt-watcher or tt-triage./tt-exalensnpx claudepluginhub tenstorrent/skills --plugin tt-debug-toolsOther plugins' skills for the same job