22 #ifndef __POWER_UTIL_H__
23 #define __POWER_UTIL_H__
55 int selected_input_pin);
float clb_net_density(int net_idx)
void output_logs(FILE *fp, t_log *logs, int num_logs)
enum e_power_estimation_method_ e_power_estimation_method
boolean power_method_is_transistor_level(e_power_estimation_method estimation_method)
void output_log(t_log *log_ptr, FILE *fp)
void mux_arch_fix_levels(t_mux_arch *mux_arch)
float power_sum_usage(t_power_usage *power_usage)
float power_buffer_size_from_logical_effort(float C_load)
float clb_net_prob(int net_idx)
void power_log_msg(e_power_log_type log_type, char *msg)
void pb_foreach_pin(t_pb_graph_node *pb_node, void(*fn)(t_pb_graph_pin *, void *), void *context)
float pin_prob(t_pb *pb, t_pb_graph_pin *pin)
void power_scale_usage(t_power_usage *power_usage, float scale_factor)
char * alloc_SRAM_values_from_truth_table(int LUT_size, t_linked_vptr *truth_table)
int power_calc_buffer_num_stages(float final_stage_size, float desired_stage_effort)
char * transistor_type_name(e_tx_type type)
t_mux_arch * power_get_mux_arch(int num_mux_inputs, float transistor_size)
float calc_buffer_stage_effort(int N, float final_stage_size)
float power_perc_dynamic(t_power_usage *power_usage)
void power_print_title(FILE *fp, char *title)
int power_calc_pin_fanout(t_pb_graph_pin *pin, int mode_idx)
void power_zero_usage(t_power_usage *power_usage)
float pin_dens(t_pb *pb, t_pb_graph_pin *pin)
char * interconnect_type_name(enum e_interconnect type)
boolean power_method_is_recursive(e_power_estimation_method method)
void power_add_usage(t_power_usage *dest, const t_power_usage *src)
boolean mux_find_selector_values(int *selector_values, t_mux_node *mux_node, int selected_input_pin)