TT-System-Firmware APIs 19.13.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
harvesting.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Tenstorrent AI ULC
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef HARVESTING_H
8#define HARVESTING_H
9
10#include <stdint.h>
11#include <stdbool.h>
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17typedef struct {
18 uint16_t tensix_col_enabled; /* Bitmap 0-13 */
19 uint16_t eth_enabled; /* Bitmap 0-13. 1 = Allowed to use, not necessarily connected outside
20 * of chip
21 */
22 bool eth5_serdes; /* False = serdes2 lane 0-3, True = serdes2 lane 4-7 */
23 bool eth8_serdes; /* False = serdes5 lane 7-4, True = serdes5 lane 3-0 */
24 uint16_t eth_serdes_connected; /* Bitmap 0-11. 1 = Expect an outside board connection */
25 uint8_t gddr_enabled; /* Bitmap 0-7 */
26 uint8_t l2cpu_enabled; /* Bitmap 0-3. Shows L2CPU cluster enablement */
27 uint8_t pcie_enabled; /* Bitmap 0-1. Shows PCIe instance enablement */
28 uint8_t pcie_usage[2]; /* bh_pcie_mode_t per PCIe instance (see chip_info.h) */
29 uint8_t pcie_num_serdes[2]; /* 1 or 2 if enabled */
31
33
34#ifdef __cplusplus
35}
36#endif
37
38#endif
TileEnable tile_enable
Definition harvesting.c:30
__UINT8_TYPE__ uint8_t
__UINT16_TYPE__ uint16_t
Definition harvesting.h:17
uint16_t tensix_col_enabled
Definition harvesting.h:18
bool eth5_serdes
Definition harvesting.h:22
uint16_t eth_enabled
Definition harvesting.h:19
uint8_t pcie_num_serdes[2]
Definition harvesting.h:29
uint8_t pcie_usage[2]
Definition harvesting.h:28
uint8_t pcie_enabled
Definition harvesting.h:27
bool eth8_serdes
Definition harvesting.h:23
uint16_t eth_serdes_connected
Definition harvesting.h:24
uint8_t gddr_enabled
Definition harvesting.h:25
uint8_t l2cpu_enabled
Definition harvesting.h:26