TT-System-Firmware APIs 19.8.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
tensix.c File Reference
#include "tensix.h"
#include "noc2axi.h"

Macros

#define DBG_INSTRN_BUF_CTRL0   0xFFB120A0
#define DBG_INSTRN_BUF_CTRL1   0xFFB120A4

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

◆ DBG_INSTRN_BUF_CTRL0

#define DBG_INSTRN_BUF_CTRL0   0xFFB120A0

◆ DBG_INSTRN_BUF_CTRL1

#define DBG_INSTRN_BUF_CTRL1   0xFFB120A4

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.