|
libraries/onchipcommunication/node/IpSourcePort.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 IPSOURCEPORT_H_ 00009 #define IPSOURCEPORT_H_ 00010 00011 #include <string> 00012 #include <sstream> 00013 #include "libraries/onchipcommunication/common/Node.h" 00014 #include "quantities/onchipcommunication/Interface.h" 00015 #include "quantities/onchipcommunication/NodeParameter.h" 00016 #include "networks/onchipcommunication/PlatformInstance.h" 00017 #include "networks/onchipcommunication/Implementation.h" 00018 #include "models/onchipcommunication/common/AreaModel.h" 00019 #include "models/onchipcommunication/common/PowerModel.h" 00020 00021 namespace cosi { 00022 00023 namespace library { 00024 00025 namespace onchipcommunication { 00026 00027 class IpSourcePort : public Node { 00028 cosi::quantity::onchipcommunication::NodeParameter* mParam; 00029 public: 00030 IpSourcePort(int Width, double Fclk, 00031 cosi::library::onchipcommunication::Technology pTech); 00032 virtual ~IpSourcePort(); 00033 00034 cosi::commstruct::onchipcommunication::PlatformInstance 00035 * GetPlatformInstance(int V, Position pP); 00036 00037 cosi::commstruct::onchipcommunication::Implementation 00038 * GetImplementationInstance(int V, Position pP, TransferTable pT); 00039 00040 double GetArea(); 00041 00042 double GetStaticPower(); 00043 00044 double GetDynamicPower(std::map< std::string , CommoditySet > pCommodities); 00045 00046 static std::string ComponentName; 00047 static std::string ComponentType; 00048 00049 std::string GetComponentName(); 00050 std::string GetComponentType(); 00051 00052 }; 00053 00054 } 00055 00056 } 00057 00058 } 00059 00060 #endif /*IPSOURCEPORT_H_*/ Generated on Sun Sep 7 18:37:42 2008 for COSI by 1.5.4 |