Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Openfpga #2382

Open
wants to merge 3 commits into
base: openfpga
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions vpr/src/base/SetupVPR.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,8 @@ static void SetupPlacerOpts(const t_options& Options, t_placer_opts* PlacerOpts)
PlacerOpts->effort_scaling = Options.place_effort_scaling;
PlacerOpts->timing_update_type = Options.timing_update_type;
PlacerOpts->enable_analytic_placer = Options.enable_analytic_placer;
// Cascade Placer
PlacerOpts->enable_cascade_placer = Options.enable_cascade_placer;
PlacerOpts->place_static_move_prob = Options.place_static_move_prob;
PlacerOpts->place_static_notiming_move_prob = Options.place_static_notiming_move_prob;
PlacerOpts->place_high_fanout_net = Options.place_high_fanout_net;
Expand Down
8 changes: 8 additions & 0 deletions vpr/src/base/read_options.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1979,6 +1979,14 @@ argparse::ArgumentParser create_arg_parser(std::string prog_name, t_options& arg
"Once analytic placement is done, the result is passed through the quench phase of the annealing placer for local improvement")
.default_value("false")
.show_in(argparse::ShowIn::HELP_ONLY);

// Cascade Placer
place_grp.add_argument(args.enable_cascade_placer, "--enable_cascade_placer")
.help(
"Enables the cascade placer. "
"Once analytic placement is done, the result is passed through the annealing (SA) placer")
.default_value("false")
.show_in(argparse::ShowIn::HELP_ONLY);

place_grp.add_argument(args.place_static_move_prob, "--place_static_move_prob")
.help(
Expand Down
2 changes: 2 additions & 0 deletions vpr/src/base/read_options.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ struct t_options {
argparse::ArgValue<e_place_effort_scaling> place_effort_scaling;
argparse::ArgValue<e_place_delta_delay_algorithm> place_delta_delay_matrix_calculation_method;
argparse::ArgValue<bool> enable_analytic_placer;
//Cascade_placer
argparse::ArgValue<bool> enable_cascade_placer;
argparse::ArgValue<std::vector<float>> place_static_move_prob;
argparse::ArgValue<std::vector<float>> place_static_notiming_move_prob;
argparse::ArgValue<int> place_high_fanout_net;
Expand Down
2 changes: 2 additions & 0 deletions vpr/src/base/vpr_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,8 @@ struct t_placer_opts {
* of the annealing placer for local improvement
*/
bool enable_analytic_placer;
// Cascade Placer
bool enable_cascade_placer;
};

/* All the parameters controlling the router's operation are in this *
Expand Down
Loading