@@ -364,15 +364,15 @@ static size_t estimate_num_chany_rr_nodes(const DeviceGrid& grids,
364
364
* Estimate the number of nodes by each type in a routing resource graph
365
365
***********************************************************************/
366
366
static vtr::vector<e_rr_type, size_t > estimate_num_rr_nodes (const DeviceGrid& grids,
367
- const VibDeviceGrid& vib_grid,
368
- const size_t & layer,
369
- const vtr::Point <size_t >& chan_width,
370
- const std::vector<t_segment_inf>& segment_inf_x,
371
- const std::vector<t_segment_inf>& segment_inf_y,
372
- const DeviceGridAnnotation& device_grid_annotation,
373
- const bool & shrink_boundary,
374
- const bool & perimeter_cb,
375
- const bool & through_channel) {
367
+ const VibDeviceGrid& vib_grid,
368
+ const size_t & layer,
369
+ const vtr::Point <size_t >& chan_width,
370
+ const std::vector<t_segment_inf>& segment_inf_x,
371
+ const std::vector<t_segment_inf>& segment_inf_y,
372
+ const DeviceGridAnnotation& device_grid_annotation,
373
+ const bool & shrink_boundary,
374
+ const bool & perimeter_cb,
375
+ const bool & through_channel) {
376
376
377
377
/* Reset the OPIN, IPIN, SOURCE, SINK counter to be zero */
378
378
vtr::vector<e_rr_type, size_t > num_rr_nodes_per_type (static_cast <size_t >(e_rr_type::NUM_RR_TYPES), 0 );
@@ -406,19 +406,19 @@ static vtr::vector<e_rr_type, size_t> estimate_num_rr_nodes(const DeviceGrid& gr
406
406
* So we will load segment details for different channels
407
407
*/
408
408
num_rr_nodes_per_type[e_rr_type::CHANX] = estimate_num_chanx_rr_nodes (grids, layer,
409
- chan_width.x (),
410
- segment_inf_x,
411
- device_grid_annotation,
412
- shrink_boundary,
413
- perimeter_cb,
414
- through_channel);
409
+ chan_width.x (),
410
+ segment_inf_x,
411
+ device_grid_annotation,
412
+ shrink_boundary,
413
+ perimeter_cb,
414
+ through_channel);
415
415
num_rr_nodes_per_type[e_rr_type::CHANY] = estimate_num_chany_rr_nodes (grids, layer,
416
- chan_width.y (),
417
- segment_inf_y,
418
- device_grid_annotation,
419
- shrink_boundary,
420
- perimeter_cb,
421
- through_channel);
416
+ chan_width.y (),
417
+ segment_inf_y,
418
+ device_grid_annotation,
419
+ shrink_boundary,
420
+ perimeter_cb,
421
+ through_channel);
422
422
423
423
return num_rr_nodes_per_type;
424
424
}
@@ -445,15 +445,15 @@ void alloc_tileable_rr_graph_nodes(RRGraphBuilder& rr_graph_builder,
445
445
VTR_ASSERT (0 == rr_graph_builder.rr_nodes ().size ());
446
446
447
447
vtr::vector<e_rr_type, size_t > num_rr_nodes_per_type = estimate_num_rr_nodes (grids,
448
- vib_grid,
449
- layer,
450
- chan_width,
451
- segment_inf_x,
452
- segment_inf_y,
453
- device_grid_annotation,
454
- shrink_boundary,
455
- perimeter_cb,
456
- through_channel);
448
+ vib_grid,
449
+ layer,
450
+ chan_width,
451
+ segment_inf_x,
452
+ segment_inf_y,
453
+ device_grid_annotation,
454
+ shrink_boundary,
455
+ perimeter_cb,
456
+ through_channel);
457
457
458
458
/* Reserve the number of node to be memory efficient */
459
459
size_t num_nodes = 0 ;
0 commit comments