Commit eae29f6f authored by kazushi.kawamura's avatar kazushi.kawamura
Browse files

change parameter name

parent 2df006bf
Loading
Loading
Loading
Loading
+1 −1
Changes for router/router.cpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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;
+1 −1
Changes for router/router.hpp: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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