TT Zephyr Platforms 18.11.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>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct {
19 uint16_t tensix_col_enabled; /* Bitmap 0-13 */
20 uint16_t eth_enabled; /* Bitmap 0-13. 1 = Allowed to use, not necessarily connected outside
21 * of chip
22 */
23 bool eth5_serdes; /* False = serdes2 lane 0-3, True = serdes2 lane 4-7 */
24 bool eth8_serdes; /* False = serdes5 lane 7-4, True = serdes5 lane 3-0 */
25 uint16_t eth_serdes_connected; /* Bitmap 0-11. 1 = Expect an outside board connection */
26 uint8_t gddr_enabled; /* Bitmap 0-7 */
27 uint8_t l2cpu_enabled; /* Bitmap 0-3. Shows L2CPU cluster enablement */
28 uint8_t pcie_enabled; /* Bitmap 0-1. Shows PCIe instance enablement */
29 FwTable_PciPropertyTable_PcieMode pcie_usage[2];
30 uint8_t pcie_num_serdes[2]; /* 1 or 2 if enabled */
32
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif
TileEnable tile_enable
Definition harvesting.c:16
__UINT8_TYPE__ uint8_t
__UINT16_TYPE__ uint16_t
Definition harvesting.h:18
uint16_t tensix_col_enabled
Definition harvesting.h:19
bool eth5_serdes
Definition harvesting.h:23
uint16_t eth_enabled
Definition harvesting.h:20
FwTable_PciPropertyTable_PcieMode pcie_usage[2]
Definition harvesting.h:29
uint8_t pcie_num_serdes[2]
Definition harvesting.h:30
uint8_t pcie_enabled
Definition harvesting.h:28
bool eth8_serdes
Definition harvesting.h:24
uint16_t eth_serdes_connected
Definition harvesting.h:25
uint8_t gddr_enabled
Definition harvesting.h:26
uint8_t l2cpu_enabled
Definition harvesting.h:27