TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
vf_curve.c File Reference

Macros

#define FREQ_MARGIN_MAX   300.0F
#define FREQ_MARGIN_MIN   -300.0F
#define VOLTAGE_MARGIN_MAX   150.0F
#define VOLTAGE_MARGIN_MIN   -150.0F

Functions

void InitVFCurve (void)
float VFCurve (float freq_mhz)
 Calculate the voltage based on the frequency.

Variables

static float freq_margin_mhz
static float voltage_margin_mv
static const struct device *const fwtable_dev = DEVICE_DT_GET(DT_NODELABEL(fwtable))

Macro Definition Documentation

◆ FREQ_MARGIN_MAX

#define FREQ_MARGIN_MAX   300.0F

◆ FREQ_MARGIN_MIN

#define FREQ_MARGIN_MIN   -300.0F

◆ VOLTAGE_MARGIN_MAX

#define VOLTAGE_MARGIN_MAX   150.0F

◆ VOLTAGE_MARGIN_MIN

#define VOLTAGE_MARGIN_MIN   -150.0F

Function Documentation

◆ InitVFCurve()

void InitVFCurve ( void )

◆ VFCurve()

float VFCurve ( float freq_mhz)

Calculate the voltage based on the frequency.

Parameters
freq_mhzThe frequency in MHz
Returns
The voltage in mV

Variable Documentation

◆ freq_margin_mhz

float freq_margin_mhz
static

◆ fwtable_dev

const struct device* const fwtable_dev = DEVICE_DT_GET(DT_NODELABEL(fwtable))
static

◆ voltage_margin_mv

float voltage_margin_mv
static