@@ -283,22 +283,22 @@ class NetCostHandler {
283
283
void set_ts_edge_ (const ClusterNetId net_id);
284
284
285
285
/* *
286
- * @brief Calculate the 3D bounding box of "net_id" from scratch (based on the block locations stored in place_ctx) and
287
- * store them in bb_coord_new
286
+ * @brief Calculate the 3D bounding box of "net_id" from scratch (based on the block locations
287
+ * stored in placer_state_.blk_loc_registry) and store them in bb_coord_new
288
288
* @param net_id ID of the net for which the bounding box is requested
289
- * @param bb_coord_new Computed by this function and returned by reference.
290
- * @param num_sink_pin_layer Store the number of sink pins of "net_id" on each layer
289
+ * @param use_ts Specifies whether the `ts` bounding box is updated or
290
+ * the one stored in placer_state_
291
291
*/
292
292
void get_non_updatable_cube_bb_ (ClusterNetId net_id, bool use_ts);
293
293
294
294
/* *
295
295
* @brief Calculate the per-layer bounding box of "net_id" from scratch (based on the block locations stored in place_ctx) and
296
296
* store them in bb_coord_new
297
297
* @param net_id ID of the net for which the bounding box is requested
298
- * @param bb_coord_new Computed by this function and returned by reference.
299
- * @param num_sink_layer Store the number of sink pins of "net_id" on each layer
298
+ * @param use_ts Specifies whether the `ts` bounding box is updated or
299
+ * the one stored in placer_state_
300
300
*/
301
- void get_non_updatable_per_layer_bb_ (ClusterNetId net_id, bool use_sink );
301
+ void get_non_updatable_per_layer_bb_ (ClusterNetId net_id, bool use_ts );
302
302
303
303
/* *
304
304
* @brief Calculate the 3D BB of a large net from scratch and update coord, edge, and num_sink_pin_layer data structures.
@@ -478,7 +478,8 @@ class NetCostHandler {
478
478
* @brief Given the per-layer BB, calculate the wire-length cost of the net on each layer
479
479
* and return the sum of the costs
480
480
* @param net_id ID of the net which cost is requested. Currently unused
481
- * @param bb Per-layer bounding box of the net
481
+ * @param use_ts Specifies whether the 'ts` bounding box is used to compute the
482
+ * cost or the one stored in placer_state_
482
483
* @return Wirelength cost of the net
483
484
*/
484
485
double get_net_per_layer_bb_cost_ (ClusterNetId net_id, bool use_ts);
0 commit comments