Skip to content

Commit 01b9cd6

Browse files
committed
[vpr][place][net_cost] remove place_cost_exp from functions arguments
1 parent bea400e commit 01b9cd6

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

vpr/src/place/net_cost_handler.h

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -250,23 +250,17 @@ class NetCostHandler {
250250
* have to bother calling this routine; when using the cost function described above, however, you must always
251251
* call this routine before you do any placement cost determination. The place_cost_exp factor specifies to
252252
* what power the width of the channel should be taken -- larger numbers make narrower channels more expensive.
253-
*
254-
* @param place_cost_exp It is an exponent to which you take the average inverse channel capacity;
255-
* a higher value would favour wider channels more over narrower channels during placement (usually we use 1).
256253
*/
257-
void alloc_and_load_chan_w_factors_for_place_cost_(float place_cost_exp);
254+
void alloc_and_load_chan_w_factors_for_place_cost_();
258255

259256
/**
260257
* @brief Allocates and loads the chanz_place_cost_fac array with the inverse of
261258
* the average number of inter-die connections between [subhigh] and [sublow].
262259
*
263260
* @details This is only useful for multi-die FPGAs. The place_cost_exp factor specifies to
264261
* what power the average number of inter-die connections should be take -- larger numbers make narrower channels more expensive.
265-
*
266-
* @param place_cost_exp It is an exponent to which you take the average number of inter-die connections;
267-
* a higher value would favour areas with more inter-die connections over areas with less of those during placement (usually we use 1).
268262
*/
269-
void alloc_and_load_for_fast_vertical_cost_update_(float place_cost_exp);
263+
void alloc_and_load_for_fast_vertical_cost_update_();
270264

271265
/**
272266
* @brief Calculate the new connection delay and timing cost of all the
@@ -519,6 +513,6 @@ class NetCostHandler {
519513
* @param bounding_box Bounding box of the net which chanz cost factor is to be calculated
520514
* @return ChanZ cost factor
521515
*/
522-
float get_chanz_cost_factor(const t_bb& bounding_box, float place_cost_exp);
516+
float get_chanz_cost_factor(const t_bb& bounding_box);
523517

524518
};

0 commit comments

Comments
 (0)