TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
gddr_telemetry_table.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 GDDR_TELEMETRY_TABLE_H
7#define GDDR_TELEMETRY_TABLE_H
8
9/* ***************************************
10 * THIS FILE IS AUTO GENERATED
11 * ***************************************
12 * *** DO NOT EDIT THIS FILE MANUALLY ****
13 * To edit, modify
14 * gddr_telemetry_table.yaml and run make.
15 * ***************************************
16 */
17#include <stdint.h>
18
19#define GDDR_TELEMETRY_TABLE_T_VERSION (0x00000003)
20
21typedef struct {
23 /* To be incremented if the fields change functionality, size or order. */
25 /* Temperature in Celsius of the top DRAM die */
27 /* Temperature in Celsius of the bottom DRAM die */
29 /* Speed in Mbps */
31 /* 0 = Incomplete, 1 = Complete */
33 /* 0 = No error, 1 = Error. Will be set on any fatal error to FW (e.g. training fails). */
35 /* MRISC Major Firmware version number */
37 /* MRISC Minor Firmware version number */
39 /* 0 = Unknown, 1 = Samsung_C_Die, 2 = Micron_C_Die, 3 = Micron_E_Die */
41 /* Saturates at 255. Number of cumulative corrected EDC errors on read since reset. */
43 /* Saturates at 255. Number of cumulative corrected EDC errors on write since reset. */
45 /* 1 if any uncorrected EDC errors on read since reset. */
47 /* 1 if any uncorrected EDC errors on write since reset. */
49 /* Applied CA VREFC offset as 4-bit two's-complement MR10 OP[3:0] code. */
51 /* Applied CA termination offset (MR3, 0-3). */
53 /*
54 * Where the applied CA settings came from. 0 = FW default LUT,
55 * 1 = params table (SMC-seeded), 2 = runtime CA sweep.
56 */
58 /*
59 * 1 = Applied CA settings differ from the seeded/default values
60 * (SMC should latch them to flash).
61 */
63 /* Post-training CA margin check result. 0 = not run, 1 = pass, 2 = fail. */
65 /*
66 * Runtime CA sweep result. 0 = not run, 1 = completed with passing window,
67 * 2 = completed with no passing window.
68 */
70 /*
71 * Lowest passing CA VREFC offset (signed) observed by the margin check or sweep.
72 * 0x7F = invalid/not measured.
73 */
75 /*
76 * Highest passing CA VREFC offset (signed) observed by the margin check or sweep.
77 * 0x7F = invalid/not measured.
78 */
80 /*
81 * Applied CA driver strength as 3-bit OCD pulldown offset code
82 * (0-3 = 0..+3, 4-7 = -4..-1).
83 */
85 /* Reserved, reads 0. */
87 /* Reserved, reads 0. */
89 /* Reserved, reads 0. */
91
92#endif
__UINT32_TYPE__ uint32_t
__UINT8_TYPE__ uint8_t
__UINT16_TYPE__ uint16_t
__INT8_TYPE__ int8_t
Definition gddr_telemetry_table.h:21
uint8_t ca_reserved0
Definition gddr_telemetry_table.h:84
uint8_t uncorr_edc_rd_error
Definition gddr_telemetry_table.h:44
uint32_t dram_vendor
Definition gddr_telemetry_table.h:38
uint32_t telemetry_table_version
Definition gddr_telemetry_table.h:22
uint8_t uncorr_edc_wr_error
Definition gddr_telemetry_table.h:46
uint16_t mrisc_fw_version_minor
Definition gddr_telemetry_table.h:36
uint16_t dram_temperature_bottom
Definition gddr_telemetry_table.h:26
uint8_t ca_margin_check_status
Definition gddr_telemetry_table.h:62
uint16_t dram_temperature_top
Definition gddr_telemetry_table.h:24
int8_t ca_window_min_offset
Definition gddr_telemetry_table.h:69
uint8_t ca_settings_changed
Definition gddr_telemetry_table.h:57
uint8_t corr_edc_rd_errors
Definition gddr_telemetry_table.h:40
uint8_t ca_settings_source
Definition gddr_telemetry_table.h:52
int8_t ca_window_max_offset
Definition gddr_telemetry_table.h:74
uint8_t ca_termination_offset
Definition gddr_telemetry_table.h:50
uint8_t ca_reserved1
Definition gddr_telemetry_table.h:86
uint8_t gddr_error
Definition gddr_telemetry_table.h:32
uint8_t ca_reserved2
Definition gddr_telemetry_table.h:88
uint8_t ca_ocd_pulldown_offset
Definition gddr_telemetry_table.h:79
uint8_t training_complete
Definition gddr_telemetry_table.h:30
uint8_t ca_sweep_status
Definition gddr_telemetry_table.h:64
uint8_t ca_vrefc_offset
Definition gddr_telemetry_table.h:48
uint8_t corr_edc_wr_errors
Definition gddr_telemetry_table.h:42
uint16_t dram_speed
Definition gddr_telemetry_table.h:28
uint16_t mrisc_fw_version_major
Definition gddr_telemetry_table.h:34