Skip to content

Commit bb0005c

Browse files
authored
Merge pull request #2863 from verilog-to-routing/remove_place_cost_exp_from_docs
Remove place_cost_exp from documentation
2 parents 801dc62 + beb1a11 commit bb0005c

File tree

4 files changed

+14
-72
lines changed

4 files changed

+14
-72
lines changed

doc/src/vpr/command_line_usage.rst

Lines changed: 7 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -874,55 +874,9 @@ If any of init_t, exit_t or alpha_t is specified, the user schedule, with a fixe
874874

875875
**Default:** ``0.0``
876876

877-
.. _dusty_sa_options:
878-
Setting any of the following 5 options selects :ref:`Dusty's annealing schedule <dusty_sa>` .
879-
880-
.. option:: --alpha_min <float>
881-
882-
The minimum (starting) update factor (alpha) used.
883-
Ranges between 0 and alpha_max.
884-
885-
**Default:** ``0.2``
886-
887-
.. option:: --alpha_max <float>
888-
889-
The maximum (stopping) update factor (alpha) used after which simulated annealing will complete.
890-
Ranges between alpha_min and 1.
891-
892-
**Default:** ``0.9``
893-
894-
.. option:: --alpha_decay <float>
895-
896-
The rate at which alpha will approach 1: alpha(n) = 1 - (1 - alpha(n-1)) * alpha_decay
897-
Ranges between 0 and 1.
898-
899-
**Default:** ``0.7``
900-
901-
.. option:: --anneal_success_min <float>
902-
903-
The minimum success ratio after which the temperature will reset to maintain the target success ratio.
904-
Ranges between 0 and anneal_success_target.
905-
906-
**Default:** ``0.1``
907-
908-
.. option:: --anneal_success_target <float>
909-
910-
The temperature after each reset is selected to keep this target success ratio.
911-
Ranges between anneal_success_target and 1.
912-
913-
**Default:** ``0.25``
914-
915-
.. option:: --place_cost_exp <float>
916-
917-
Wiring cost is divided by the average channel width over a net's bounding box
918-
taken to this exponent. Only impacts devices with different channel widths in
919-
different directions or regions.
920-
921-
**Default:** ``1``
922-
923877
.. option:: --RL_agent_placement {on | off}
924878

925-
Uses a Reinforcement Learning (RL) agent in choosing the appropiate move type in placement.
879+
Uses a Reinforcement Learning (RL) agent in choosing the appropriate move type in placement.
926880
It activates the RL agent placement instead of using a fixed probability for each move type.
927881

928882
**Default:** ``on``
@@ -951,7 +905,7 @@ Setting any of the following 5 options selects :ref:`Dusty's annealing schedule
951905

952906
Controls how quickly the agent's memory decays. Values between [0., 1.] specify
953907
the fraction of weight in the exponentially weighted reward average applied to moves
954-
which occured greater than moves_per_temp moves ago. Values < 0 cause the
908+
which occurred greater than moves_per_temp moves ago. Values < 0 cause the
955909
unweighted reward sample average to be used (all samples are weighted equally)
956910

957911
**Default:** ``0.05``
@@ -970,6 +924,8 @@ Setting any of the following 5 options selects :ref:`Dusty's annealing schedule
970924

971925
**Default:** ``move_block_type``
972926

927+
928+
973929
.. option:: --placer_debug_block <int>
974930

975931
.. note:: This option is likely only of interest to developers debugging the placement algorithm
@@ -1067,7 +1023,7 @@ The following options are only valid when the placement engine is in timing-driv
10671023

10681024
.. option:: --place_delay_model_reducer {min, max, median, arithmean, geomean}
10691025

1070-
When calculating delta delays for the placment delay model how are multiple values combined?
1026+
When calculating delta delays for the placement delay model how are multiple values combined?
10711027

10721028
**Default:** ``min``
10731029

@@ -1100,15 +1056,15 @@ The following options are only valid when the placement engine is in timing-driv
11001056

11011057
.. option:: --place_tsu_abs_margin <float>
11021058

1103-
Specifies an absolute offest added to cell setup times used by the placer.
1059+
Specifies an absolute offset added to cell setup times used by the placer.
11041060
This effectively controls whether the placer should try to achieve extra margin on setup paths.
11051061
For example a value of 500e-12 corresponds to requesting an extra 500ps of setup margin.
11061062

11071063
**Default:** ``0.0``
11081064

11091065
.. option:: --post_place_timing_report <file>
11101066

1111-
Name of the post-placement timing report file to generate (not generated if unspecfied).
1067+
Name of the post-placement timing report file to generate (not generated if unspecified).
11121068

11131069

11141070
.. _noc_placement_options:

vpr/src/base/read_options.cpp

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2072,7 +2072,7 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
20722072

20732073
place_grp.add_argument<bool, ParseOnOff>(args.RL_agent_placement, "--RL_agent_placement")
20742074
.help(
2075-
"Uses a Reinforcement Learning (RL) agent in choosing the appropiate move type in placement."
2075+
"Uses a Reinforcement Learning (RL) agent in choosing the appropriate move type in placement."
20762076
"It activates the RL agent placement instead of using fixed probability for each move type.")
20772077
.default_value("on")
20782078
.show_in(argparse::ShowIn::HELP_ONLY);
@@ -2087,7 +2087,7 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
20872087
place_grp.add_argument<bool, ParseOnOff>(args.place_checkpointing, "--place_checkpointing")
20882088
.help(
20892089
"Enable Placement checkpoints. This means saving the placement and restore it if it's better than later placements."
2090-
"Only effective if agnet's 2nd state is activated.")
2090+
"Only effective if agent's 2nd state is activated.")
20912091
.default_value("on")
20922092
.show_in(argparse::ShowIn::HELP_ONLY);
20932093

@@ -2101,7 +2101,7 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
21012101
place_grp.add_argument(args.place_agent_gamma, "--place_agent_gamma")
21022102
.help(
21032103
"Controls how quickly the agent's memory decays. "
2104-
"Values between [0., 1.] specify the fraction of weight in the exponentially weighted reward average applied to moves which occured greater than moves_per_temp moves ago."
2104+
"Values between [0., 1.] specify the fraction of weight in the exponentially weighted reward average applied to moves which occurred greater than moves_per_temp moves ago."
21052105
"Values < 0 cause the unweighted reward sample average to be used (all samples are weighted equally)")
21062106
.default_value("0.05")
21072107
.show_in(argparse::ShowIn::HELP_ONLY);
@@ -2164,13 +2164,6 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
21642164
.default_value("0")
21652165
.show_in(argparse::ShowIn::HELP_ONLY);
21662166

2167-
/*
2168-
* place_grp.add_argument(args.place_timing_cost_func, "--place_timing_cost_func")
2169-
* .help(
2170-
* "which timing cost function to use")
2171-
* .default_value("0")
2172-
* .show_in(argparse::ShowIn::HELP_ONLY);
2173-
*/
21742167
place_grp.add_argument<e_agent_algorithm, ParsePlaceAgentAlgorithm>(args.place_agent_algorithm, "--place_agent_algorithm")
21752168
.help("Controls which placement RL agent is used")
21762169
.default_value("softmax")
@@ -2224,13 +2217,13 @@ argparse::ArgumentParser create_arg_parser(const std::string& prog_name, t_optio
22242217
.show_in(argparse::ShowIn::HELP_ONLY);
22252218

22262219
place_timing_grp.add_argument(args.inner_loop_recompute_divider, "--inner_loop_recompute_divider")
2227-
.help("Controls how many timing analysies are perform per temperature during placement")
2220+
.help("Controls how many timing analyses are performed per temperature during placement")
22282221
.default_value("0")
22292222
.show_in(argparse::ShowIn::HELP_ONLY);
22302223

22312224
place_timing_grp.add_argument(args.quench_recompute_divider, "--quench_recompute_divider")
22322225
.help(
2233-
"Controls how many timing analysies are perform during the final placement quench (t=0)."
2226+
"Controls how many timing analyses are performed during the final placement quench (t=0)."
22342227
" If unspecified, uses the value from --inner_loop_recompute_divider")
22352228
.default_value("0")
22362229
.show_in(argparse::ShowIn::HELP_ONLY);

vpr/src/base/vpr_types.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -992,11 +992,6 @@ enum class e_move_type;
992992
* @param timing_tradeoff
993993
* When in CRITICALITY_TIMING_PLACE mode, what is the
994994
* tradeoff between timing and wiring costs.
995-
* @param place_cost_exp
996-
* Wiring cost is divided by the average channel width over
997-
* a net's bounding box taken to this exponent.
998-
* Only impacts devices with different channel widths in
999-
* different directions or regions. (Default: 1)
1000995
* @param place_chan_width
1001996
* The channel width assumed if only one placement is performed.
1002997
* @param pad_loc_type

vpr/src/place/net_cost_handler.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -253,17 +253,15 @@ class NetCostHandler {
253253
* @details This is only useful for the cost function that takes the length of the net bounding box in each
254254
* dimension divided by the average number of tracks in that direction. For other cost functions, you don't
255255
* have to bother calling this routine; when using the cost function described above, however, you must always
256-
* call this routine before you do any placement cost determination. The place_cost_exp factor specifies to
257-
* what power the width of the channel should be taken -- larger numbers make narrower channels more expensive.
256+
* call this routine before you do any placement cost determination.
258257
*/
259258
void alloc_and_load_chan_w_factors_for_place_cost_();
260259

261260
/**
262261
* @brief Allocates and loads acc_tile_num_inter_die_conn_ which contains the accumulative number of inter-die
263262
* conntections.
264263
*
265-
* @details This is only useful for multi-die FPGAs. The place_cost_exp factor specifies to
266-
* what power the average number of inter-die connections should be take -- larger numbers make narrower channels more expensive.
264+
* @details This is only useful for multi-die FPGAs.
267265
*/
268266
void alloc_and_load_for_fast_vertical_cost_update_();
269267

0 commit comments

Comments
 (0)