TT Zephyr Platforms 19.0.0-rc2
Tenstorrent Firmware
Loading...
Searching...
No Matches
noc_init.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Tenstorrent AI ULC
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef NOC_INIT_H_INCLUDED
7#define NOC_INIT_H_INCLUDED
8
9#include <stdint.h>
10
11#define NO_BAD_GDDR UINT8_MAX
12
13int32_t set_tensix_enable(bool enable);
14
15int NocInit(void);
16void InitNocTranslation(unsigned int pcie_instance, uint16_t bad_tensix_cols, uint8_t bad_gddr,
17 uint16_t skip_eth);
19void ClearNocTranslation(void);
20
21/* Returns NOC 0 coordinates of an enabled, unharvested tensix core.
22 * It's guaranteed to be the same core until translation is enabled, disabled or modified.
23 */
25
26#endif
void ClearNocTranslation(void)
Definition noc_init.c:650
int32_t set_tensix_enable(bool enable)
Definition noc_init.c:180
void GetEnabledTensix(uint8_t *x, uint8_t *y)
Definition noc_init.c:705
int NocInit(void)
Definition noc_init.c:203
void InitNocTranslation(unsigned int pcie_instance, uint16_t bad_tensix_cols, uint8_t bad_gddr, uint16_t skip_eth)
Definition noc_init.c:573
int InitNocTranslationFromHarvesting(void)
Definition noc_init.c:590
__INT32_TYPE__ int32_t
__UINT8_TYPE__ uint8_t
__UINT16_TYPE__ uint16_t