TT Zephyr Platforms 18.11.99
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
13int NocInit(void);
14void InitNocTranslation(unsigned int pcie_instance, uint16_t bad_tensix_cols, uint8_t bad_gddr,
15 uint16_t skip_eth);
17void ClearNocTranslation(void);
18
19/* Returns NOC 0 coordinates of an enabled, unharvested tensix core.
20 * It's guaranteed to be the same core until translation is enabled, disabled or modified.
21 */
23
24#endif
void ClearNocTranslation(void)
Definition noc_init.c:623
void GetEnabledTensix(uint8_t *x, uint8_t *y)
Definition noc_init.c:678
int NocInit(void)
Definition noc_init.c:176
void InitNocTranslation(unsigned int pcie_instance, uint16_t bad_tensix_cols, uint8_t bad_gddr, uint16_t skip_eth)
Definition noc_init.c:546
int InitNocTranslationFromHarvesting(void)
Definition noc_init.c:563
__UINT8_TYPE__ uint8_t
__UINT16_TYPE__ uint16_t