@@ -68,6 +68,7 @@ struct t_profile_info {
68
68
static t_chan_width setup_chan_width (const t_router_opts& router_opts,
69
69
t_chan_width_dist chan_width_dist);
70
70
71
+ #if 0
71
72
static float route_connection_delay(
72
73
const RouterDelayProfiler& route_profiler,
73
74
int source_x_loc,
@@ -89,6 +90,7 @@ static void generic_compute_matrix(
89
90
const t_router_opts& router_opts,
90
91
bool measure_directconnect,
91
92
const std::set<std::string>& allowed_types);
93
+ #endif
92
94
93
95
static void generic_compute_matrix_expand (
94
96
const RouterDelayProfiler& route_profiler,
@@ -294,6 +296,7 @@ static t_chan_width setup_chan_width(const t_router_opts& router_opts,
294
296
return init_chan (width_fac, chan_width_dist);
295
297
}
296
298
299
+ #if 0
297
300
static float route_connection_delay(
298
301
const RouterDelayProfiler& route_profiler,
299
302
int source_x,
@@ -352,6 +355,7 @@ static float route_connection_delay(
352
355
353
356
return (net_delay_value);
354
357
}
358
+ #endif
355
359
356
360
static void add_delay_to_matrix (
357
361
vtr::Matrix<std::vector<float >>* matrix,
@@ -368,7 +372,7 @@ static void add_delay_to_matrix(
368
372
}
369
373
370
374
static void generic_compute_matrix_expand (
371
- const RouterDelayProfiler& route_profiler,
375
+ const RouterDelayProfiler& /* route_profiler*/ ,
372
376
vtr::Matrix<std::vector<float >>& matrix,
373
377
int source_x,
374
378
int source_y,
@@ -498,6 +502,7 @@ static void generic_compute_matrix_expand(
498
502
}
499
503
}
500
504
505
+ #if 0
501
506
static void generic_compute_matrix(
502
507
const RouterDelayProfiler& route_profiler,
503
508
vtr::Matrix<std::vector<float>>& matrix,
@@ -532,26 +537,26 @@ static void generic_compute_matrix(
532
537
if (matrix[delta_x][delta_y].empty()) {
533
538
//Only set empty target if we don't already have a valid delta delay
534
539
matrix[delta_x][delta_y].push_back(EMPTY_DELTA);
535
- #ifdef VERBOSE
540
+ # ifdef VERBOSE
536
541
VTR_LOG("Computed delay: %12s delta: %d,%d (src: %d,%d sink: %d,%d)\n",
537
542
"EMPTY",
538
543
delta_x, delta_y,
539
544
source_x, source_y,
540
545
sink_x, sink_y);
541
- #endif
546
+ # endif
542
547
}
543
548
} else {
544
549
//Valid start/end
545
550
546
551
float delay = route_connection_delay(route_profiler, source_x, source_y, sink_x, sink_y, router_opts, measure_directconnect);
547
552
548
- #ifdef VERBOSE
553
+ # ifdef VERBOSE
549
554
VTR_LOG("Computed delay: %12g delta: %d,%d (src: %d,%d sink: %d,%d)\n",
550
555
delay,
551
556
delta_x, delta_y,
552
557
source_x, source_y,
553
558
sink_x, sink_y);
554
- #endif
559
+ # endif
555
560
if (matrix[delta_x][delta_y].size() == 1 && matrix[delta_x][delta_y][0] == EMPTY_DELTA) {
556
561
//Overwrite empty delta
557
562
matrix[delta_x][delta_y][0] = delay;
@@ -563,6 +568,7 @@ static void generic_compute_matrix(
563
568
}
564
569
}
565
570
}
571
+ #endif
566
572
567
573
static vtr::Matrix<float > compute_delta_delays (
568
574
const RouterDelayProfiler& route_profiler,
0 commit comments