• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • File List
  • Globals

sst/core/techModels/libMcPATbeta/McPATcomponent.h

00001 /*------------------------------------------------------------
00002  *                              CACTI 6.5
00003  *         Copyright 2008 Hewlett-Packard Development Corporation
00004  *                         All Rights Reserved
00005  *
00006  * Permission to use, copy, and modify this software and its documentation is
00007  * hereby granted only under the following terms and conditions.  Both the
00008  * above copyright notice and this permission notice must appear in all copies
00009  * of the software, derivative works or modified versions, and any portions
00010  * thereof, and both notices must appear in supporting documentation.
00011  *
00012  * Users of this software agree to the terms and conditions set forth herein, and
00013  * hereby grant back to Hewlett-Packard Company and its affiliated companies ("HP")
00014  * a non-exclusive, unrestricted, royalty-free right and license under any changes,
00015  * enhancements or extensions  made to the core functions of the software, including
00016  * but not limited to those affording compatibility with other hardware or software
00017  * environments, but excluding applications which incorporate this software.
00018  * Users further agree to use their best efforts to return to HP any such changes,
00019  * enhancements or extensions that they make and inform HP of noteworthy uses of
00020  * this software.  Correspondence should be provided to HP at:
00021  *
00022  *                       Director of Intellectual Property Licensing
00023  *                       Office of Strategy and Technology
00024  *                       Hewlett-Packard Company
00025  *                       1501 Page Mill Road
00026  *                       Palo Alto, California  94304
00027  *
00028  * This software may be distributed (but not offered for sale or transferred
00029  * for compensation) to third parties, provided such third parties agree to
00030  * abide by the terms and conditions of this notice.
00031  *
00032  * THE SOFTWARE IS PROVIDED "AS IS" AND HP DISCLAIMS ALL
00033  * WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES
00034  * OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL HP
00035  * CORPORATION BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
00036  * DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
00037  * PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
00038  * ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
00039  * SOFTWARE.
00040  *------------------------------------------------------------*/
00041 
00042 
00043 
00044 #ifndef __COMPONENT_H__
00045 #define __COMPONENT_H__
00046 
00047 #include "parameter.h"
00048 #include "area.h"
00049 
00050 using namespace std;
00051 
00052 class Crossbar;
00053 class Bank;
00054 
00055 class McPATComponent
00056 {
00057   public:
00058     McPATComponent();
00059     ~McPATComponent();
00060 
00061     Area area;
00062     powerDef power,rt_power;
00063     double delay;
00064     double cycle_time;
00065 
00066     double compute_gate_area(
00067         int gate_type,
00068         int num_inputs,
00069         double w_pmos,
00070         double w_nmos,
00071         double h_gate);
00072 
00073     double compute_tr_width_after_folding(double input_width, double threshold_folding_width);
00074     double height_sense_amplifier(double pitch_sense_amp);
00075 
00076   protected:
00077     int logical_effort(
00078         int    num_gates_min,
00079         double g,
00080         double F,
00081         double * w_n,
00082         double * w_p,
00083         double C_load,
00084         double p_to_n_sz_ratio,
00085         bool   is_dram_,
00086         bool   is_wl_tr_,
00087         double max_w_nmos);
00088 
00089   private:
00090     double compute_diffusion_width(int num_stacked_in, int num_folded_tr);
00091 };
00092 
00093 #endif
00094 

Generated on Fri Oct 22 2010 11:02:18 for SST by  doxygen 1.7.1