Changeset 934 for branches/reconfiguration/modules/dspin_router/caba/source
- Timestamp:
- Jan 27, 2015, 5:58:09 PM (10 years ago)
- Location:
- branches/reconfiguration/modules/dspin_router/caba/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/reconfiguration/modules/dspin_router/caba/source/include/dspin_router.h
r931 r934 57 57 : public soclib::caba::BaseModule 58 58 { 59 // Port indexing60 enum61 {62 REQ_NORTH = 0,63 REQ_SOUTH = 1,64 REQ_EAST = 2,65 REQ_WEST = 3,66 REQ_LOCAL = 4,67 REQ_NOP = 5,68 };69 70 59 // Input Port FSM 71 60 enum -
branches/reconfiguration/modules/dspin_router/caba/source/src/dspin_router.cpp
r931 r934 195 195 if (need_reroute(xdest, ydest, bhpos)) { 196 196 int recovery_direction = (p_recovery_cfg->read() >> 4) & 0xF; 197 198 #if SOCLIB_MODULE_DEBUG 199 std::cout << "<" << name() << "> reroute request to DIR = " 200 << recovery_direction << std::endl; 201 #endif 202 197 203 return recovery_direction; 198 204 }
Note: See TracChangeset
for help on using the changeset viewer.