Loading router/router.cpp +1 −1 Changes for router/router.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ int router(short int size_x, short int size_y, short int line_num, short int boa cout << "rip-up routing ..." << endl; short int last_target = -1; ap_uint<16> round; for(round = 1; round <= ROUND_END; round++) { for(round = 1; round <= ROUND_LIMIT; round++) { short int target = lfsr_random() % line_num; if(adjacents[target]) continue; if(target == last_target) continue; Loading router/router.hpp +1 −1 Changes for router/router.hpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ using namespace std; #define ROUND_END 32768 // Max=65534(=2^16-2) #define ROUND_LIMIT 32768 // Max=65534(=2^16-2) #define PRINT_BOARD //#define PRINT_SEARCH // for router debug Loading Loading
router/router.cpp +1 −1 Changes for router/router.cpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -90,7 +90,7 @@ int router(short int size_x, short int size_y, short int line_num, short int boa cout << "rip-up routing ..." << endl; short int last_target = -1; ap_uint<16> round; for(round = 1; round <= ROUND_END; round++) { for(round = 1; round <= ROUND_LIMIT; round++) { short int target = lfsr_random() % line_num; if(adjacents[target]) continue; if(target == last_target) continue; Loading
router/router.hpp +1 −1 Changes for router/router.hpp: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -11,7 +11,7 @@ using namespace std; #define ROUND_END 32768 // Max=65534(=2^16-2) #define ROUND_LIMIT 32768 // Max=65534(=2^16-2) #define PRINT_BOARD //#define PRINT_SEARCH // for router debug Loading