TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
Loading...
Searching...
No Matches
tensix_init.c File Reference

Macros

#define ARC_NOC0_X   8
#define ARC_NOC0_Y   0
#define TENSIX_L1_SIZE   (1536 * 1024)

Functions

static void EnableTensixCG (void)
static void wipe_l1 (void)
 Zeros the l1 of every non-harvested tensix core.
void TensixInit (void)
static int tensix_init (void)
 SYS_INIT_APP (tensix_init)

Variables

static const struct device *const fwtable_dev = DEVICE_DT_GET(DT_NODELABEL(fwtable))
static const struct device *const dma_noc = DEVICE_DT_GET(DT_NODELABEL(dma1))

Macro Definition Documentation

◆ ARC_NOC0_X

#define ARC_NOC0_X   8

◆ ARC_NOC0_Y

#define ARC_NOC0_Y   0

◆ TENSIX_L1_SIZE

#define TENSIX_L1_SIZE   (1536 * 1024)

Function Documentation

◆ EnableTensixCG()

void EnableTensixCG ( void )
static

◆ SYS_INIT_APP()

SYS_INIT_APP ( tensix_init )

◆ tensix_init()

int tensix_init ( void )
static

◆ TensixInit()

void TensixInit ( void )

◆ wipe_l1()

void wipe_l1 ( void )
static

Zeros the l1 of every non-harvested tensix core.

First zero the l1 of an arbitrary non-harvested tensix core, then broadcasts the zero'd l1 to all other non-harvested tensix cores. This approach is faster than iterating over all tensix cores sequentially to clear each l1.

Variable Documentation

◆ dma_noc

const struct device* const dma_noc = DEVICE_DT_GET(DT_NODELABEL(dma1))
static

◆ fwtable_dev

const struct device* const fwtable_dev = DEVICE_DT_GET(DT_NODELABEL(fwtable))
static