models/onchipcommunication/node/OrionPowerModel.h

Go to the documentation of this file.
00001 //============================================================================
00002 // Author      : Alessandro Pinto <apinto@eecs.berkeley.edu>
00003 //               University of California, Berkeley
00004 //               545 Cory Hall, Berkeley, CA 94720
00005 // Copyright   : See COPYING file that comes with this distribution
00006 //============================================================================
00007 
00008 #ifndef ORIONPOWERMODEL_H_
00009 #define ORIONPOWERMODEL_H_
00010 
00011 #include <vector>
00012 #include "models/onchipcommunication/common/PowerModel.h"
00013 #include "include/onchipcommunication/typedefs.h"
00014 #include "quantities/onchipcommunication/Ports.h"
00015 #include "quantities/onchipcommunication/NodeParameter.h"
00016 #include "io/onchipcommunication/HoOrionModelParser.h"
00017 
00018 namespace cosi {
00019 
00020 namespace models {
00021 
00022 namespace onchipcommunication {
00023 
00024 using namespace cosi::library::onchipcommunication;
00025 
00026 class OrionPowerModel : public NodePowerModel {
00027 
00028 public:
00029 
00030         OrionPowerModel(Technology pTech);
00031 
00032         virtual ~OrionPowerModel();
00033 
00034         double GetDynamicPower(Name pName,
00035                         cosi::quantity::onchipcommunication::Ports pPorts,
00036                         std::map< std::string , CommoditySet > pCommodities,
00037                         cosi::quantity::onchipcommunication::NodeParameter pParam);
00038         double GetStaticPower(Name pName,
00039                         cosi::quantity::onchipcommunication::Ports pPorts,
00040                         cosi::quantity::onchipcommunication::NodeParameter pParam);
00041 private:
00042         vector<vector<double> > mErouter1ch32;
00043         vector<vector<double> > mErouter4ch32;
00044         vector<vector<double> > mErouter1ch128;
00045         vector<vector<double> > mErouter4ch128;
00046 
00047         vector<vector<double> > mErouterLeak1ch32;
00048         vector<vector<double> > mErouterLeak4ch32;
00049         vector<vector<double> > mErouterLeak1ch128;
00050         vector<vector<double> > mErouterLeak4ch128;
00051 
00052         int mMaxIn;
00053         int mMaxOut;
00054 
00055 };
00056 
00057 }
00058 
00059 }
00060 
00061 }
00062 
00063 #endif /*NODEPOWERMODEL_H_*/

Generated on Sun Sep 7 18:37:42 2008 for COSI by  doxygen 1.5.4
Contact 
©2002-2018 U.C. Regents