|
VPR-7.0
|
#include <cstdio>#include <cstdlib>#include <cstring>#include <csignal>#include <ctime>#include <cmath>#include <ctype.h>#include <assert.h>#include "power.h"#include "power_components.h"#include "power_util.h"#include "power_lowlevel.h"#include "power_sizing.h"#include "power_callibrate.h"#include "power_cmos_tech.h"#include "physical_types.h"#include "globals.h"#include "rr_graph.h"#include "vpr_utils.h"#include "ezxml.h"#include "read_xml_util.h"
Include dependency graph for power.c:Go to the source code of this file.
Macros | |
| #define | CONVERT_NM_PER_M 1000000000 |
| #define | CONVERT_UM_PER_M 1000000 |
Definition at line 54 of file power.c.
|
static |
|
static |
| void power_alloc_and_init_pb_pin | ( | t_pb_graph_pin * | pin | ) |
Definition at line 1026 of file power.c.
Here is the caller graph for this function:
|
static |
Definition at line 1535 of file power.c.
Here is the caller graph for this function:| boolean power_init | ( | char * | power_out_filepath, |
| char * | cmos_tech_behavior_filepath, | ||
| t_arch * | arch, | ||
| t_det_routing_arch * | routing_arch | ||
| ) |
Initialization for all power-related functions
Definition at line 1270 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void power_init_pb_pins_rec | ( | t_pb_graph_node * | pb_node | ) |
Definition at line 1084 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void power_pb_pins_init | ( | ) |
|
static |
Internal recurseive function, used by power_component_print_usage
Definition at line 1821 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1870 of file power.c.
Here is the caller graph for this function:
|
static |
Definition at line 1775 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 1559 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Prints the power usage for all components
Definition at line 1768 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
Definition at line 550 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| void power_routing_init | ( | t_det_routing_arch * | routing_arch | ) |
Definition at line 1140 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| e_power_ret_code power_total | ( | float * | run_time_s, |
| t_vpr_setup | vpr_setup, | ||
| t_arch * | arch, | ||
| t_det_routing_arch * | routing_arch | ||
| ) |
Definition at line 1695 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| boolean power_uninit | ( | void | ) |
Uninitialize power module
Definition at line 1326 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 592 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Calculates the total power usage from the clock network
Definition at line 627 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Calculates the power from a single spine-and-rib global clock
Definition at line 666 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 248 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void power_usage_local_pin_buffer_and_wire | ( | t_power_usage * | power_usage, |
| t_pb * | pb, | ||
| t_pb_graph_pin * | pin | ||
| ) |
Definition at line 225 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void power_usage_local_pin_toggle | ( | t_power_usage * | power_usage, |
| t_pb * | pb, | ||
| t_pb_graph_pin * | pin | ||
| ) |
|
static |
Calculates the power of a pb: First checks if dynamic/static power is provided by user in arch file. If not:
Definition at line 293 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
This function calculates the power of primitives (ff, lut, etc), by calling the appropriate primitive function.
Definition at line 123 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Calculates the power of the entire routing fabric (not local routing
Definition at line 762 of file power.c.
Here is the call graph for this function:
Here is the caller graph for this function:| t_power_arch* g_power_arch |
| t_power_commonly_used* g_power_commonly_used |
| t_power_output* g_power_output |
| t_power_tech* g_power_tech |
| t_solution_inf g_solution_inf |
|
static |