@@ -122,10 +122,11 @@ static void update_net_bb(const ClusterNetId& net,
122
122
* @param blk_pin
123
123
* @param pl_moved_block
124
124
*/
125
- static void update_net_layer_bb (const ClusterNetId& net,
126
- const ClusterBlockId& blk,
127
- const ClusterPinId& blk_pin,
128
- const t_pl_moved_block& pl_moved_block);
125
+ static void update_net_layer_bb (const ClusterNetId net,
126
+ const t_pl_blocks_to_be_moved& blocks_affected,
127
+ int iblk,
128
+ const ClusterBlockId blk,
129
+ const ClusterPinId blk_pin);
129
130
130
131
/* *
131
132
* @brief Calculate the new connection delay and timing cost of all the
@@ -503,12 +504,13 @@ static void update_net_layer_bb(const ClusterNetId& net,
503
504
} else {
504
505
// For large nets, update bounding box incrementally
505
506
int iblk_pin = tile_pin_index (blk_pin);
506
- bool src_pin = cluster_ctx.clb_nlist .pin_type (blk_pin) == PinType::DRIVER;
507
507
508
508
t_physical_tile_type_ptr blk_type = physical_tile_type (blk);
509
509
int pin_width_offset = blk_type->pin_width_offset [iblk_pin];
510
510
int pin_height_offset = blk_type->pin_height_offset [iblk_pin];
511
511
512
+ auto pin_dir = get_pin_type_from_pin_physical_num (blk_type, iblk_pin);
513
+
512
514
// Incremental bounding box update
513
515
update_layer_bb (net,
514
516
layer_ts_bb_edge_new[net],
@@ -520,7 +522,7 @@ static void update_net_layer_bb(const ClusterNetId& net,
520
522
{pl_moved_block.new_loc .x + pin_width_offset,
521
523
pl_moved_block.new_loc .y + pin_height_offset,
522
524
pl_moved_block.new_loc .layer },
523
- src_pin );
525
+ pin_dir == e_pin_type::DRIVER );
524
526
}
525
527
}
526
528
0 commit comments