⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tpower.h

📁 片上网络的noxim仿真平台
💻 H
字号:
/*****************************************************************************  TPower.h -- Power model *****************************************************************************/#ifndef __TPOWER_H__#define __TPOWER_H__// ---------------------------------------------------------------------------/*The average energy dissipated by a flit for a hop switch was estimatedas being 0.151nJ, 0.178nJ, 0.182nJ and 0.189nJ for XY, Odd-Even, DyAD,and NoP-OE respectivelyWe assumed the tile size to be 2mm x 2mm and that the tiles werearranged in a regular fashion on the floorplan. The load wirecapacitance was set to 0.50fF per micron, so considering an average of25% switching activity the amount of energy consumed by a flit for ahop interconnect is 0.384nJ.*/#define PWR_ROUTING_XY             0.151e-9#define PWR_ROUTING_WEST_FIRST     0.155e-9#define PWR_ROUTING_NORTH_LAST     0.155e-9#define PWR_ROUTING_NEGATIVE_FIRST 0.155e-9#define PWR_ROUTING_ODD_EVEN       0.178e-9#define PWR_ROUTING_DYAD           0.182e-9#define PWR_ROUTING_FULLY_ADAPTIVE 0.0#define PWR_ROUTING_TABLE_BASED    0.185e-9#define PWR_SEL_RANDOM             0.002e-9#define PWR_SEL_BUFFER_LEVEL       0.006e-9#define PWR_SEL_NOP                0.012e-9#define PWR_FORWARD_FLIT           0.384e-9#define PWR_INCOMING               0.002e-9#define PWR_STANDBY                0.0001e-9/2.0// ---------------------------------------------------------------------------class TPower{ public:  TPower();  void Routing();  void Selection();  void Standby();  void Forward();  void Incoming();  double getPower() { return pwr; }  double getPwrRouting() { return pwr_routing; }  double getPwrSelection() { return pwr_selection; }  double getPwrForward() { return pwr_forward; }  double getPwrStandBy() { return pwr_standby; }  double getPwrIncoming() { return pwr_incoming; } private:  double pwr_routing;  double pwr_selection;  double pwr_forward;  double pwr_standby;  double pwr_incoming;  double pwr;};// ---------------------------------------------------------------------------#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -