18 #ifndef __POWER_POWERSPICEDCOMPONENT_NMOS_H__
19 #define __POWER_POWERSPICEDCOMPONENT_NMOS_H__
49 void add_size(
float transistor_size,
float power = 0.);
71 float (*usage_fn)(
int num_inputs,
float transistor_size));
73 void add_data_point(
int num_inputs,
float transistor_size,
float power);
74 float scale_factor(
int num_inputs,
float transistor_size);
float(* component_usage)(int num_inputs, float transistor_size)
PowerCallibSize(float size, float power_)
std::vector< PowerCallibInputs * > entries
PowerCallibInputs * add_entry(int num_inputs)
PowerSpicedComponent(float(*usage_fn)(int num_inputs, float transistor_size))
bool is_done_callibration(void)
const bool operator<(const PowerCallibSize &rhs)
PowerCallibInputs * get_entry(int num_inputs)
void add_data_point(int num_inputs, float transistor_size, float power)
PowerCallibInputs * get_entry_bound(bool lower, int num_inputs)
float scale_factor(int num_inputs, float transistor_size)