|
TT Zephyr Platforms 19.5.0-rc1
Tenstorrent Firmware
|
#include "noc2axi.h"#include "noc_init.h"#include <stdint.h>#include <tenstorrent/post_code.h>#include <tenstorrent/sys_init_defines.h>#include <zephyr/drivers/misc/bh_fwtable.h>#include <zephyr/drivers/dma.h>#include <zephyr/drivers/dma/dma_tt_bh_noc.h>#include <zephyr/init.h>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)) |
| #define ARC_NOC0_X 8 |
| #define ARC_NOC0_Y 0 |
| #define TENSIX_L1_SIZE (1536 * 1024) |
|
static |
| SYS_INIT_APP | ( | tensix_init | ) |
|
static |
| void TensixInit | ( | 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.
|
static |
|
static |