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

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