TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
tensix.h File Reference
#include <stdbool.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define TENSIX_INSTRUCTION_UNPACR   0x42800091u

Functions

void tensix_inject_instruction (uint32_t instruction, uint8_t thread, bool broadcast, uint8_t noc_x, uint8_t noc_y)
 Inject one instruction into a Tensix tile via the RISC debug instruction buffer.

Macro Definition Documentation

◆ TENSIX_INSTRUCTION_UNPACR

#define TENSIX_INSTRUCTION_UNPACR   0x42800091u

Function Documentation

◆ tensix_inject_instruction()

void tensix_inject_instruction ( uint32_t instruction,
uint8_t thread,
bool broadcast,
uint8_t noc_x,
uint8_t noc_y )

Inject one instruction into a Tensix tile via the RISC debug instruction buffer.

Parameters
instructionRaw Tensix instructions.
threadThread index [0,3].
broadcastIf true, use the Tensix multicast TLB so every non-harvested Tensix receives the sequence. If false, unicast to (noc_x, noc_y) only.
noc_xX coordinate of the NOC tile when broadcast is false. Ignored when broadcasting.
noc_yY coordinate of the NOC tile when broadcast is false. Ignored when broadcasting.