|
models/onchipcommunication/node/OrionAreaModel.hGo 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 ORIONAREAMODEL_H_ 00009 #define ORIONAREAMODEL_H_ 00010 00011 #include <vector> 00012 #include "models/onchipcommunication/common/AreaModel.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 class OrionAreaModel : public NodeAreaModel { 00025 00026 public: 00027 00028 OrionAreaModel(cosi::library::onchipcommunication::Technology pTech); 00029 00030 virtual ~OrionAreaModel(); 00031 00032 double GetArea(Name pName, 00033 cosi::quantity::onchipcommunication::Ports pPorts, 00034 cosi::quantity::onchipcommunication::NodeParameter pParam); 00035 00036 private: 00037 std::vector<std::vector<double> > mArouter1ch32; 00038 std::vector<std::vector<double> > mArouter4ch32; 00039 std::vector<std::vector<double> > mArouter1ch128; 00040 std::vector<std::vector<double> > mArouter4ch128; 00041 int mMaxIn ; 00042 int mMaxOut ; 00043 00044 }; 00045 00046 } 00047 00048 } 00049 00050 } 00051 00052 #endif /*NODEAREAMODEL_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |