From eae29f6ffbde9fa2b3b684c9ee3f33c6d788cf41 Mon Sep 17 00:00:00 2001 From: KazushiKawamura Date: Wed, 10 Jul 2019 11:23:38 +0900 Subject: [PATCH] change parameter name --- router/router.cpp | 2 +- router/router.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/router/router.cpp b/router/router.cpp index 82ed9b6..a1f4639 100644 --- a/router/router.cpp +++ b/router/router.cpp @@ -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; diff --git a/router/router.hpp b/router/router.hpp index 718e048..0adcbb7 100644 --- a/router/router.hpp +++ b/router/router.hpp @@ -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 -- 2.22.0