VPR-7.0
|
Go to the source code of this file.
Functions | |
static void | log_msg (t_log *log_ptr, char *msg) |
static void | int_2_binary_str (char *binary_str, int value, int str_length) |
static void | init_mux_arch_default (t_mux_arch *mux_arch, int levels, int num_inputs, float transistor_size) |
static void | alloc_and_load_mux_graph_recursive (t_mux_node *node, int num_primary_inputs, int level, int starting_pin_idx) |
static t_mux_node * | alloc_and_load_mux_graph (int num_inputs, int levels) |
void | power_zero_usage (t_power_usage *power_usage) |
void | power_add_usage (t_power_usage *dest, const t_power_usage *src) |
void | power_scale_usage (t_power_usage *power_usage, float scale_factor) |
float | power_sum_usage (t_power_usage *power_usage) |
float | power_perc_dynamic (t_power_usage *power_usage) |
void | power_log_msg (e_power_log_type log_type, char *msg) |
char * | transistor_type_name (e_tx_type type) |
float | pin_dens (t_pb *pb, t_pb_graph_pin *pin) |
float | pin_prob (t_pb *pb, t_pb_graph_pin *pin) |
boolean | mux_find_selector_values (int *selector_values, t_mux_node *mux_node, int selected_input_pin) |
int | power_calc_buffer_num_stages (float final_stage_size, float desired_stage_effort) |
float | calc_buffer_stage_effort (int N, float final_stage_size) |
char * | alloc_SRAM_values_from_truth_table (int LUT_size, t_linked_vptr *truth_table) |
void | mux_arch_fix_levels (t_mux_arch *mux_arch) |
float | clb_net_density (int net_idx) |
float | clb_net_prob (int net_idx) |
char * | interconnect_type_name (enum e_interconnect type) |
void | output_log (t_log *log_ptr, FILE *fp) |
void | output_logs (FILE *fp, t_log *logs, int num_logs) |
float | power_buffer_size_from_logical_effort (float C_load) |
void | power_print_title (FILE *fp, char *title) |
t_mux_arch * | power_get_mux_arch (int num_mux_inputs, float transistor_size) |
boolean | power_method_is_transistor_level (e_power_estimation_method estimation_method) |
boolean | power_method_is_recursive (e_power_estimation_method method) |
|
static |
Allocates a builds a multiplexer graph with given # inputs and levels
Definition at line 542 of file power_util.c.
|
static |
Definition at line 551 of file power_util.c.
char* alloc_SRAM_values_from_truth_table | ( | int | LUT_size, |
t_linked_vptr * | truth_table | ||
) |
This functions returns the LUT SRAM values from the given logic terms
Definition at line 273 of file power_util.c.
float calc_buffer_stage_effort | ( | int | N, |
float | final_stage_size | ||
) |
Calculates the required effort of each stage of a buffer
Definition at line 204 of file power_util.c.
float clb_net_density | ( | int | net_idx | ) |
float clb_net_prob | ( | int | net_idx | ) |
|
static |
Generates a default multiplexer architecture of given size and number of levels
Definition at line 525 of file power_util.c.
|
static |
This function converts an integer to a binary string
Definition at line 252 of file power_util.c.
char* interconnect_type_name | ( | enum e_interconnect | type | ) |
Definition at line 436 of file power_util.c.
|
static |
Definition at line 142 of file power_util.c.
void mux_arch_fix_levels | ( | t_mux_arch * | mux_arch | ) |
boolean mux_find_selector_values | ( | int * | selector_values, |
t_mux_node * | mux_node, | ||
int | selected_input_pin | ||
) |
This function determines the values of the selectors in a static mux, based on the routing information.
Definition at line 119 of file power_util.c.
void output_log | ( | t_log * | log_ptr, |
FILE * | fp | ||
) |
void output_logs | ( | FILE * | fp, |
t_log * | logs, | ||
int | num_logs | ||
) |
Definition at line 457 of file power_util.c.
float pin_dens | ( | t_pb * | pb, |
t_pb_graph_pin * | pin | ||
) |
This file provides utility functions used by power estimation.
Definition at line 81 of file power_util.c.
float pin_prob | ( | t_pb * | pb, |
t_pb_graph_pin * | pin | ||
) |
void power_add_usage | ( | t_power_usage * | dest, |
const t_power_usage * | src | ||
) |
float power_buffer_size_from_logical_effort | ( | float | C_load | ) |
int power_calc_buffer_num_stages | ( | float | final_stage_size, |
float | desired_stage_effort | ||
) |
Calculates the number of buffer stages required, to achieve a given buffer fanout final_stage_size: Size of the final inverter in the buffer, relative to a min size desired_stage_effort: The desired gain between stages, typically 4
Definition at line 179 of file power_util.c.
t_mux_arch* power_get_mux_arch | ( | int | num_mux_inputs, |
float | transistor_size | ||
) |
Definition at line 490 of file power_util.c.
void power_log_msg | ( | e_power_log_type | log_type, |
char * | msg | ||
) |
Definition at line 67 of file power_util.c.
boolean power_method_is_recursive | ( | e_power_estimation_method | method | ) |
Definition at line 587 of file power_util.c.
boolean power_method_is_transistor_level | ( | e_power_estimation_method | estimation_method | ) |
Definition at line 576 of file power_util.c.
float power_perc_dynamic | ( | t_power_usage * | power_usage | ) |
Definition at line 63 of file power_util.c.
void power_print_title | ( | FILE * | fp, |
char * | title | ||
) |
void power_scale_usage | ( | t_power_usage * | power_usage, |
float | scale_factor | ||
) |
float power_sum_usage | ( | t_power_usage * | power_usage | ) |
void power_zero_usage | ( | t_power_usage * | power_usage | ) |
char* transistor_type_name | ( | e_tx_type | type | ) |
Definition at line 71 of file power_util.c.