Changeset 934
- Timestamp:
- Jan 27, 2015, 5:58:09 PM (10 years ago)
- Location:
- branches/reconfiguration/modules/dspin_router
- Files:
-
- 4 added
- 4 edited
- 1 copied
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 } -
branches/reconfiguration/modules/dspin_router/caba/test/simple_recovery_routing_test/test.sh
r887 r934 9 9 export SOCLIB_TTY=FILES 10 10 export SOCLIB_FB=HEADLESS 11 export SOCLIB_GDB=11 #export SOCLIB_GDB= 12 12 export DISTRIBUTED_BOOT=1 13 13 PLATFORM=../../../../../platforms/tsar_generic_iob 14 14 SIMULATOR=$PLATFORM/simul.x 15 $SIMULATOR - SOFT $SOFT -DISK /dev/null -FAULTY_ROUTER 0x11 2> /dev/null >> output/log15 $SIMULATOR -DSOFT $SOFT -DISK /dev/null -FAULTY_ROUTER 0 1 1 2> /dev/null >> output/log 16 16 soclib-cleanup-terms &> /dev/null 17 17 mv term0 output/term -
branches/reconfiguration/modules/dspin_router/caba/test/simple_segment_recovery_test/test.sh
r933 r934 9 9 export SOCLIB_TTY=FILES 10 10 export SOCLIB_FB=HEADLESS 11 export SOCLIB_GDB=11 #export SOCLIB_GDB= 12 12 export DISTRIBUTED_BOOT=1 13 13 PLATFORM=../../../../../platforms/tsar_generic_iob 14 14 SIMULATOR=$PLATFORM/simul.x 15 $SIMULATOR - SOFT $SOFT -DISK /dev/null -FAULTY_ROUTER 0x11 2> /dev/null >> output/log15 $SIMULATOR -DSOFT $SOFT -DISK /dev/null -FAULTY_ROUTER 0 1 1 2> /dev/null >> output/log 16 16 soclib-cleanup-terms &> /dev/null 17 17 mv term0 output/term -
branches/reconfiguration/modules/dspin_router/include/soclib/dspin_router_config.h
r886 r934 27 27 #define DSPIN_ROUTER_CONFIG_H 28 28 29 // Port indexing 30 enum 31 { 32 REQ_NORTH = 0, 33 REQ_SOUTH = 1, 34 REQ_EAST = 2, 35 REQ_WEST = 3, 36 REQ_LOCAL = 4, 37 REQ_NOP = 5, 38 }; 39 29 40 // Black-Hole position 30 41 enum
Note: See TracChangeset
for help on using the changeset viewer.