UNPACR_NOP_OverlayClear
tenstorrent_tt_isa)Tenstorrent Wormhole B0 & Blackhole A0
main
userTensix, Unpackers, WormholeB0Summary
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)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 32 | Tensix-32b | 01000011xxxxxxxxxxxxxxxxxxxxx000 | 0xff000007 / 0x43000000 |
| 32 | Tensix-32b | 01000011xxxxxxxxxxxxxxxxxxxxx011 | 0xff000007 / 0x43000003 |
Operands
| Name | Description |
|---|---|
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


## 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`.