VPR-7.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
power_callibrate.h
Go to the documentation of this file.
1 /*********************************************************************
2  * The following code is part of the power modelling feature of VTR.
3  *
4  * For support:
5  * http://code.google.com/p/vtr-verilog-to-routing/wiki/Power
6  *
7  * or email:
8  * vtr.power.estimation@gmail.com
9  *
10  * If you are using power estimation for your researach please cite:
11  *
12  * Jeffrey Goeders and Steven Wilton. VersaPower: Power Estimation
13  * for Diverse FPGA Architectures. In International Conference on
14  * Field Programmable Technology, 2012.
15  *
16  ********************************************************************/
17 
18 /* This file provides functions used to verify the power estimations
19  * againt SPICE.
20  */
21 
22 #ifndef __POWER_MISC_H__
23 #define __POWER_MISC_H__
24 
25 /************************* INCLUDES *********************************/
26 #include "power.h"
27 
28 /************************* DEFINES **********************************/
29 const float power_callib_period = 5e-9;
30 
31 /************************* STRUCTS **********************************/
32 /************************* ENUMS ************************************/
33 typedef enum {
41 
42 /************************* FUNCTION DECLARATIONS ********************/
44 void power_callibrate(void);
45 float power_usage_buf_for_callibration(int num_inputs, float transistor_size);
46 float power_usage_buf_levr_for_callibration(int num_inputs,
47  float transistor_size);
48 float power_usage_mux_for_callibration(int num_inputs, float transistor_size);
49 float power_usage_lut_for_callibration(int num_inputs, float transistor_size);
50 float power_usage_ff_for_callibration(int num_inputs, float transistor_size);
51 
52 #endif
float power_usage_ff_for_callibration(int num_inputs, float transistor_size)
float power_usage_mux_for_callibration(int num_inputs, float transistor_size)
void power_callibrate(void)
const float power_callib_period
float power_usage_buf_levr_for_callibration(int num_inputs, float transistor_size)
void power_print_spice_comparison(void)
float power_usage_lut_for_callibration(int num_inputs, float transistor_size)
float power_usage_buf_for_callibration(int num_inputs, float transistor_size)
e_power_callib_component