Go to the source code of this file.
Functions | |
void | activity_estimation (char *input_filename, char *output_filename, int lut_size, netlist_t *LUT_netlist, netlist_t *CLUSTER_netlist) |
void activity_estimation | ( | char * | input_filename, | |
char * | output_filename, | |||
int | lut_size, | |||
netlist_t * | LUT_netlist, | |||
netlist_t * | CLUSTER_netlist | |||
) |
Definition at line 61 of file activity_estimation.c.
00062 { 00063 /* levelize the graph. Note, can't levelize the ClUSTER_netlist since there are loops */ 00064 levelize_and_check_for_combinational_loop_and_liveness(FALSE, LUT_netlist); 00065 00066 /* initializes the data structures and the PI */ 00067 initialize_probabilities(input_filename, LUT_netlist); 00068 00069 /* Calculate the probabilities for each of the nodes in the LUT_netlist */ 00070 calc_probabilities_and_init_act_data(LUT_netlist); 00071 00072 /* calculate the transition density for each node */ 00073 calc_transition_density(LUT_netlist); 00074 00075 /* Output file with the transition densities */ 00076 output_activation_file_ace_and_function_file(output_filename, lut_size, LUT_netlist, CLUSTER_netlist); 00077 00078 /* cleanup the data structures so we can use node_data in another algorithm */ 00079 cleanup_activation(LUT_netlist); 00080 00081 /* Path is where we are */ 00082 // graphVizOutputNetlist(configuration.debug_output_path, "blif", 1, blif_gnd_node, blif_vcc_node, blif_input_nodes, num_blif_input_nodes); 00083 }