|
17 | 17 | #include "placer_breakpoint.h"
|
18 | 18 | #include "RL_agent_util.h"
|
19 | 19 |
|
| 20 | +/**************************************************************************/ |
| 21 | +/*************** Static Function Declarations *****************************/ |
| 22 | +/**************************************************************************/ |
| 23 | + |
20 | 24 | /**
|
21 | 25 | * @brief Check if the setup slack has gotten better or worse due to block swap.
|
22 | 26 | *
|
|
38 | 42 | static float analyze_setup_slack_cost(const PlacerSetupSlacks* setup_slacks,
|
39 | 43 | const PlacerState& placer_state);
|
40 | 44 |
|
| 45 | +/*************************************************************************/ |
| 46 | +/*************** Static Function Definitions *****************************/ |
| 47 | +/*************************************************************************/ |
41 | 48 |
|
42 | 49 | static float analyze_setup_slack_cost(const PlacerSetupSlacks* setup_slacks,
|
43 | 50 | const PlacerState& placer_state) {
|
@@ -78,6 +85,10 @@ static float analyze_setup_slack_cost(const PlacerSetupSlacks* setup_slacks,
|
78 | 85 | return 1;
|
79 | 86 | }
|
80 | 87 |
|
| 88 | +/**************************************************************************************/ |
| 89 | +/*************** Member Function Definitions for t_annealing_state ********************/ |
| 90 | +/**************************************************************************************/ |
| 91 | + |
81 | 92 | ///@brief Constructor: Initialize all annealing state variables and macros.
|
82 | 93 | t_annealing_state::t_annealing_state(float first_t,
|
83 | 94 | float first_rlim,
|
@@ -170,6 +181,10 @@ void t_annealing_state::update_crit_exponent(const t_placer_opts& placer_opts) {
|
170 | 181 | + placer_opts.td_place_exp_first;
|
171 | 182 | }
|
172 | 183 |
|
| 184 | +/**************************************************************************************/ |
| 185 | +/*************** Member Function Definitions for PlacementAnnealer ********************/ |
| 186 | +/**************************************************************************************/ |
| 187 | + |
173 | 188 | PlacementAnnealer::PlacementAnnealer(const t_placer_opts& placer_opts,
|
174 | 189 | PlacerState& placer_state,
|
175 | 190 | t_placer_costs& costs,
|
|
0 commit comments