libraries/onchipcommunication/node/Ip.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 IP_H_
00009 #define IP_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 
00028 class Ip : public Node {
00029         cosi::quantity::onchipcommunication::NodeParameter* mParam;
00030 public:
00031         Ip(int Width, double Fclk , cosi::library::onchipcommunication::Technology pTech);
00032         virtual ~Ip();
00033         cosi::commstruct::onchipcommunication::PlatformInstance
00034                         * GetPlatformInstance(int V, Position pP);
00035 
00036         cosi::commstruct::onchipcommunication::Implementation
00037                         * GetImplementationInstance(int V, Position pP, TransferTable pT);
00038 
00039         double GetArea();
00040 
00041         double GetStaticPower();
00042 
00043         double GetDynamicPower(std::map< std::string , CommoditySet > pCommodities);
00044 
00045         static std::string ComponentName;
00046         static std::string ComponentType;
00047 
00048         std::string GetComponentName();
00049         std::string GetComponentType();
00050 };
00051 
00052 }
00053 
00054 }
00055 
00056 }
00057 
00058 #endif /*IP_H_*/

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