- Timestamp:
- Feb 15, 2015, 8:44:35 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/dspin_router/caba/source/include/dspin_router.h
r934 r947 141 141 142 142 // fault-recovery methods 143 bool need_reroute( size_t xdest, size_t ydest, int bhpos );143 bool is_destination_blackhole( size_t xdest, size_t ydest, int bhpos ); 144 144 int recovery_route( size_t xdest, size_t ydest ); 145 145 … … 149 149 { 150 150 m_disable_mask = mask; 151 } 152 153 inline bool is_network_recovery_enable() 154 { 155 return (((p_recovery_cfg->read() >> 7) & 0x1) != 0); 156 } 157 158 inline int migration_route() 159 { 160 return ((p_recovery_cfg->read() >> 4) & 0x7); 161 } 162 163 inline int blackhole_position() 164 { 165 return (p_recovery_cfg->read() & 0xF); 151 166 } 152 167
Note: See TracChangeset
for help on using the changeset viewer.