@@ -1543,8 +1543,7 @@ static void update_move_nets(int num_nets_affected,
1543
1543
}
1544
1544
1545
1545
for (int layer_num = 0 ; layer_num < g_vpr_ctx.device ().grid .get_num_layers (); layer_num++) {
1546
- place_move_ctx.num_sink_pin_layer [size_t (net_id)][layer_num] =
1547
- ts_layer_sink_pin_count[size_t (net_id)][layer_num];
1546
+ place_move_ctx.num_sink_pin_layer [size_t (net_id)][layer_num] = ts_layer_sink_pin_count[size_t (net_id)][layer_num];
1548
1547
}
1549
1548
1550
1549
if (cluster_ctx.clb_nlist .net_sinks (net_id).size () >= SMALL_NET) {
@@ -3274,9 +3273,7 @@ static void update_bb(ClusterNetId net_id,
3274
3273
return ;
3275
3274
}
3276
3275
3277
- vtr::NdMatrixProxy<int , 1 > curr_num_sink_pin_layer = (bb_updated_before[net_id] == NOT_UPDATED_YET) ?
3278
- place_move_ctx.num_sink_pin_layer [size_t (net_id)] :
3279
- num_sink_pin_layer_new;
3276
+ vtr::NdMatrixProxy<int , 1 > curr_num_sink_pin_layer = (bb_updated_before[net_id] == NOT_UPDATED_YET) ? place_move_ctx.num_sink_pin_layer [size_t (net_id)] : num_sink_pin_layer_new;
3280
3277
3281
3278
if (bb_updated_before[net_id] == NOT_UPDATED_YET) {
3282
3279
/* The net had NOT been updated before, could use the old values */
@@ -3491,9 +3488,7 @@ static void update_layer_bb(ClusterNetId net_id,
3491
3488
return ;
3492
3489
}
3493
3490
3494
- const vtr::NdMatrixProxy<int , 1 > curr_layer_pin_sink_count = (bb_updated_before[net_id] == NOT_UPDATED_YET) ?
3495
- place_move_ctx.num_sink_pin_layer [size_t (net_id)] :
3496
- bb_pin_sink_count_new;
3491
+ const vtr::NdMatrixProxy<int , 1 > curr_layer_pin_sink_count = (bb_updated_before[net_id] == NOT_UPDATED_YET) ? place_move_ctx.num_sink_pin_layer [size_t (net_id)] : bb_pin_sink_count_new;
3497
3492
3498
3493
if (bb_updated_before[net_id] == NOT_UPDATED_YET) {
3499
3494
/* The net had NOT been updated before, could use the old values */
0 commit comments