ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

UNPACR_NOP_OverlayClear

T1 tenstorrent load_store insn
UNPACR_NOP (MMIO register write to Overlay STREAM_MSG_DATA_CLEAR_REG_INDEX, sequenced with UNPACR)
SourceTenstorrent Official Tensix ISA Documentation (Wormhole & Blackhole) (tenstorrent_tt_isa)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeWormholeB0
Tenstorrent Wormhole B0 & Blackhole A0
License & VersionApache-2.0
main
Upstreamhttps://github.com/tenstorrent/tt-isa-documentation
Privilegeuser
ExtensionsTensix, Unpackers, WormholeB0

Summary

Like UNPACR_NOP (MMIO register write sequenced with UNPACR), but for writing to very specific NoC Overlay registers. This mode is UnsupportedFunctionality and its use is strongly discouraged: it has no known usage, and the write is ordered against nothing other than the unpacker's own L1 reads.

Syntax / Encoding

TT_UNPACR_NOP(/* u1 */ WhichUnpacker, 0x0)
TT_UNPACR_NOP(/* u1 */ WhichUnpacker,
            ((/* u6 */ WhichStream) << 16) +
            ((/* u11 */ ClearCount) << 4) +
             0x3)

Binary Encodings (2)

WidthFormatBit PatternMask / Match
32Tensix-32b01000011xxxxxxxxxxxxxxxxxxxxx0000xff000007 / 0x43000000
32Tensix-32b01000011xxxxxxxxxxxxxxxxxxxxx0110xff000007 / 0x43000003

Operands

NameDescription
WhichUnpacker

Reference Notes

# `UNPACR_NOP` (MMIO register write to Overlay `STREAM_MSG_DATA_CLEAR_REG_INDEX`, sequenced with UNPACR)

**Summary:** Like [`UNPACR_NOP` (MMIO register write sequenced with UNPACR)](UNPACR_NOP_SETREG.md), but for writing to very specific NoC Overlay registers. This mode is `UnsupportedFunctionality` and its use is strongly discouraged: it has no known usage, and the write is ordered against nothing other than the unpacker's own L1 reads.

**Backend execution unit:** [Unpackers](Unpackers/README.md)

## Syntax

```c
TT_UNPACR_NOP(/* u1 */ WhichUnpacker, 0x0)
TT_UNPACR_NOP(/* u1 */ WhichUnpacker,
            ((/* u6 */ WhichStream) << 16) +
            ((/* u11 */ ClearCount) << 4) +
             0x3)
```

## Encoding

![](../../../Diagrams/Out/Bits32_UNPACR_NOP_OverlayClear0.svg)
![](../../../Diagrams/Out/Bits32_UNPACR_NOP_OverlayClear3.svg)

## Functional model

```c
UnsupportedFunctionality(); // No known usage, confidence in specification below is weak

uint6_t StreamId;
if (ClearCount != 0) {
  StreamId = WhichStream;
} else {
  StreamId = ThreadConfig[CurrentThread].NOC_OVERLAY_MSG_CLEAR_StreamId[WhichUnpacker];
}
NOC_STREAM_WRITE_REG(StreamId, STREAM_MSG_DATA_CLEAR_REG_INDEX, 1);
```

See [Overlay streams transmitting to software](../../NoC/Overlay/TransmitToSoftware.md) for context around `STREAM_MSG_DATA_CLEAR_REG_INDEX`.