VPR-7.0
|
#include <cstring>
#include <assert.h>
#include "power_cmos_tech.h"
#include "power.h"
#include "power_util.h"
#include "ezxml.h"
#include "util.h"
#include "read_xml_util.h"
#include "PowerSpicedComponent.h"
#include "power_callibrate.h"
Go to the source code of this file.
|
static |
Comparison function, used by power_find_buffer_sc_levr
Definition at line 762 of file power_cmos_tech.c.
|
static |
Comparison function, used by power_find_buffer_strength_inf
Definition at line 802 of file power_cmos_tech.c.
|
static |
Comparison function, used by power_find_nmos_leakage
Definition at line 696 of file power_cmos_tech.c.
|
static |
Comparison function, used by power_find_transistor_info
Definition at line 826 of file power_cmos_tech.c.
|
static |
Comparison function, used by power_find_mux_volt_inf
Definition at line 868 of file power_cmos_tech.c.
void power_find_buffer_sc_levr | ( | t_power_buffer_sc_levr_inf ** | lower, |
t_power_buffer_sc_levr_inf ** | upper, | ||
t_power_buffer_strength_inf * | buffer_strength, | ||
int | input_mux_size | ||
) |
This function searches for short-circuit current information for a level-restoring buffer, based on the size of the multiplexer driving the input
Definition at line 656 of file power_cmos_tech.c.
void power_find_buffer_strength_inf | ( | t_power_buffer_strength_inf ** | lower, |
t_power_buffer_strength_inf ** | upper, | ||
t_power_buffer_size_inf * | size_inf, | ||
float | stage_gain | ||
) |
This function searches for the information for a given buffer strength.
Definition at line 619 of file power_cmos_tech.c.
void power_find_mux_volt_inf | ( | t_power_mux_volt_pair ** | lower, |
t_power_mux_volt_pair ** | upper, | ||
t_power_mux_volt_inf * | volt_inf, | ||
float | v_in | ||
) |
This function searches for multiplexer output voltage information, based on input voltage
Definition at line 735 of file power_cmos_tech.c.
void power_find_nmos_leakage | ( | t_power_nmos_leakage_inf * | nmos_leakage_info, |
t_power_nmos_leakage_pair ** | lower, | ||
t_power_nmos_leakage_pair ** | upper, | ||
float | v_ds | ||
) |
Definition at line 585 of file power_cmos_tech.c.
boolean power_find_transistor_info | ( | t_transistor_size_inf ** | lower, |
t_transistor_size_inf ** | upper, | ||
e_tx_type | type, | ||
float | size | ||
) |
This function searches for a transistor by size
Definition at line 509 of file power_cmos_tech.c.
void power_tech_init | ( | char * | cmos_tech_behavior_filepath | ) |
This file provides functions relating to the cmos technology. It includes functions to read the transistor characteristics from the xml file into data structures, and functions to search within these data structures.
Definition at line 68 of file power_cmos_tech.c.
|
static |
Reads the transistor properties from the .xml file
Definition at line 75 of file power_cmos_tech.c.
|
static |
Definition at line 154 of file power_cmos_tech.c.
|
static |
Definition at line 185 of file power_cmos_tech.c.
|
static |
Read multiplexer information from the .xml transistor characteristics. This contains the estimates of mux output voltages, depending on 1) Mux Size 2) Mux Vin
Definition at line 342 of file power_cmos_tech.c.
|
static |
Read short-circuit buffer information from the transistor .xml file. This contains values for buffers of various 1) # Stages 2) Stage strength 3) Input type & capacitance Read NMOS subthreshold leakage currents from the .xml transistor characteristics This builds a table of (Vds,Ids) value pairs
Definition at line 292 of file power_cmos_tech.c.
|
static |
Read the transistor information from the .xml transistor characteristics. For each transistor size, it extracts the:
Definition at line 424 of file power_cmos_tech.c.
|
static |
Definition at line 42 of file power_cmos_tech.c.
|
static |
Definition at line 43 of file power_cmos_tech.c.
t_power_nmos_leakage_inf* g_power_searching_nmos_leakage_info |
This function searches for the Ids leakage current, based on a given Vds. This function is used for minimum-sized NMOS transistors (used in muxs).
Definition at line 584 of file power_cmos_tech.c.
|
static |
Definition at line 41 of file power_cmos_tech.c.