VPR-7.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
power_sizing.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 /**
19  * The functions in this file are used to count the transistors in the
20  * FPGA, for physical size estimations
21  */
22 
23 #ifndef __POWER_TRANSISTOR_CNT_H__
24 #define __POWER_TRANSISTOR_CNT_H__
25 
26 /************************* INCLUDES *********************************/
27 #include "physical_types.h"
28 
29 /************************* DEFINES **********************************/
30 
31 /* Design rules, values in LAMBDA, where tech size = 2 LAMBDA */
32 #define POWER_DRC_MIN_L 2.0
33 #define POWER_DRC_MIN_W 5.0
34 #define POWER_DRC_MIN_DIFF_L 5.5
35 #define POWER_DRC_SPACING 3.0
36 #define POWER_DRC_POLY_OVERHANG 2.5
37 
38 #define POWER_MTA_W (POWER_DRC_MIN_W + POWER_DRC_POLY_OVERHANG + POWER_DRC_SPACING)
39 #define POWER_MTA_L (POWER_DRC_MIN_L + 2 * POWER_DRC_MIN_DIFF_L + POWER_DRC_SPACING)
40 
41 /************************* FUNCTION DECLARATION *********************/
42 void power_sizing_init(t_arch * arch);
43 double power_count_transistors_buffer(float buffer_size);
44 double power_transistor_area(double num_transistors);
45 #endif
double power_count_transistors_buffer(float buffer_size)
Definition: power_sizing.c:100
void power_sizing_init(t_arch *arch)
Definition: power_sizing.c:237
double power_transistor_area(double num_transistors)
Definition: power_sizing.c:504