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

sst/core/techModels/libMcPATbeta06/uca.h

00001 /*****************************************************************************
00002  *                                McPAT
00003  *                      SOFTWARE LICENSE AGREEMENT
00004  *            Copyright 2009 Hewlett-Packard Development Company, L.P.
00005  *                          All Rights Reserved
00006  *
00007  * Permission to use, copy, and modify this software and its documentation is
00008  * hereby granted only under the following terms and conditions.  Both the
00009  * above copyright notice and this permission notice must appear in all copies
00010  * of the software, derivative works or modified versions, and any portions
00011  * thereof, and both notices must appear in supporting documentation.
00012  *
00013  * Any User of the software ("User"), by accessing and using it, agrees to the
00014  * terms and conditions set forth herein, and hereby grants back to Hewlett-
00015  * Packard Development Company, L.P. and its affiliated companies ("HP") a
00016  * non-exclusive, unrestricted, royalty-free right and license to copy,
00017  * modify, distribute copies, create derivate works and publicly display and
00018  * use, any changes, modifications, enhancements or extensions made to the
00019  * software by User, including but not limited to those affording
00020  * compatibility with other hardware or software, but excluding pre-existing
00021  * software applications that may incorporate the software.  User further
00022  * agrees to use its best efforts to inform HP of any such changes,
00023  * modifications, enhancements or extensions.
00024  *
00025  * Correspondence should be provided to HP at:
00026  *
00027  * Director of Intellectual Property Licensing
00028  * Office of Strategy and Technology
00029  * Hewlett-Packard Company
00030  * 1501 Page Mill Road
00031  * Palo Alto, California  94304
00032  *
00033  * The software may be further distributed by User (but not offered for
00034  * sale or transferred for compensation) to third parties, under the
00035  * condition that such third parties agree to abide by the terms and
00036  * conditions of this license.
00037  *
00038  * THE SOFTWARE IS PROVIDED "AS IS" WITH ANY AND ALL ERRORS AND DEFECTS
00039  * AND USER ACKNOWLEDGES THAT THE SOFTWARE MAY CONTAIN ERRORS AND DEFECTS.
00040  * HP DISCLAIMS ALL WARRANTIES WITH REGARD TO THE SOFTWARE, INCLUDING ALL
00041  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS.   IN NO EVENT SHALL
00042  * HP BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES
00043  * OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
00044  * WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER ACTION, ARISING
00045  * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THE SOFTWARE.
00046  *
00047  ***************************************************************************/
00048 
00049 #ifndef __UCA_H__
00050 #define __UCA_H__
00051 
00052 #include "area.h"
00053 #include "bank.h"
00054 #include "McPATcomponent.h"
00055 #include "parameter.h"
00056 #include "htree2.h"
00057 
00058 
00059 class UCA : public McPATComponent
00060 {
00061   public:
00062     UCA(const DynamicParameter & dyn_p);
00063     ~UCA();
00064     double compute_delays(double inrisetime);  // returns outrisetime
00065     void   compute_power_energy();
00066 
00067     DynamicParameter dp;
00068     Bank   bank;
00069 
00070     Htree2   * htree_in_add;
00071     Htree2   * htree_in_data;
00072     Htree2   * htree_out_data;
00073     Htree2   * htree_in_search;
00074     Htree2   * htree_out_search;
00075 
00076     powerDef power_routing_to_bank;
00077 
00078     uint32_t nbanks;
00079 
00080     int   num_addr_b_bank;
00081     int   num_di_b_bank;
00082     int   num_do_b_bank;
00083     int   num_si_b_bank;
00084     int   num_so_b_bank;
00085     int   RWP, ERP, EWP,SCHP;
00086     double area_all_dataramcells;
00087 
00088     double dyn_read_energy_from_closed_page;
00089     double dyn_read_energy_from_open_page;
00090     double dyn_read_energy_remaining_words_in_burst;
00091 
00092     double refresh_power;  // only for DRAM
00093     double activate_energy;
00094     double read_energy;
00095     double write_energy;
00096     double precharge_energy;
00097     double leak_power_subbank_closed_page;
00098     double leak_power_subbank_open_page;
00099     double leak_power_request_and_reply_networks;
00100 
00101     double delay_array_to_sa_mux_lev_1_decoder;
00102     double delay_array_to_sa_mux_lev_2_decoder;
00103     double delay_before_subarray_output_driver;
00104     double delay_from_subarray_out_drv_to_out;
00105     double access_time;
00106     double precharge_delay;
00107     double multisubbank_interleave_cycle_time;
00108 };
00109 
00110 #endif
00111 

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