Skip to content

Commit

Permalink
add separators to annelaer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
soheilshahrouz committed Nov 17, 2024
1 parent f7c239f commit 834e589
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions vpr/src/place/annealer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
#include "placer_breakpoint.h"
#include "RL_agent_util.h"

/**************************************************************************/
/*************** Static Function Declarations *****************************/
/**************************************************************************/

/**
* @brief Check if the setup slack has gotten better or worse due to block swap.
*
Expand All @@ -38,6 +42,9 @@
static float analyze_setup_slack_cost(const PlacerSetupSlacks* setup_slacks,
const PlacerState& placer_state);

/*************************************************************************/
/*************** Static Function Definitions *****************************/
/*************************************************************************/

static float analyze_setup_slack_cost(const PlacerSetupSlacks* setup_slacks,
const PlacerState& placer_state) {
Expand Down Expand Up @@ -78,6 +85,10 @@ static float analyze_setup_slack_cost(const PlacerSetupSlacks* setup_slacks,
return 1;
}

/**************************************************************************************/
/*************** Member Function Definitions for t_annealing_state ********************/
/**************************************************************************************/

///@brief Constructor: Initialize all annealing state variables and macros.
t_annealing_state::t_annealing_state(float first_t,
float first_rlim,
Expand Down Expand Up @@ -170,6 +181,10 @@ void t_annealing_state::update_crit_exponent(const t_placer_opts& placer_opts) {
+ placer_opts.td_place_exp_first;
}

/**************************************************************************************/
/*************** Member Function Definitions for PlacementAnnealer ********************/
/**************************************************************************************/

PlacementAnnealer::PlacementAnnealer(const t_placer_opts& placer_opts,
PlacerState& placer_state,
t_placer_costs& costs,
Expand Down

0 comments on commit 834e589

Please sign in to comment.