mirror of https://github.com/YosysHQ/nextpnr.git
Remove unused --slack_redist_iter option (#1704)
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
d5e6bfc74e
commit
ce08c3053c
|
|
@ -358,7 +358,6 @@ po::options_description CommandHandler::getGeneralOptions()
|
|||
"; default: " + Arch::defaultRouter)
|
||||
.c_str());
|
||||
|
||||
general.add_options()("slack_redist_iter", po::value<int>(), "number of iterations between slack redistribution");
|
||||
general.add_options()("cstrweight", po::value<float>(), "placer weighting for relative constraint satisfaction");
|
||||
general.add_options()("starttemp", po::value<float>(), "placer SA start temperature");
|
||||
|
||||
|
|
@ -465,17 +464,6 @@ void CommandHandler::setupContext(Context *ctx)
|
|||
log_info("Generated random seed: %" PRIu64 "\n", seed);
|
||||
}
|
||||
|
||||
if (vm.count("slack_redist_iter")) {
|
||||
ctx->settings[ctx->id("slack_redist_iter")] = vm["slack_redist_iter"].as<int>();
|
||||
if (vm.count("freq") && vm["freq"].as<double>() == 0) {
|
||||
ctx->settings[ctx->id("auto_freq")] = true;
|
||||
#ifndef NO_GUI
|
||||
if (!vm.count("gui"))
|
||||
#endif
|
||||
log_warning("Target frequency not specified. Will optimise for max frequency.\n");
|
||||
}
|
||||
}
|
||||
|
||||
if (vm.count("ignore-loops")) {
|
||||
ctx->settings[ctx->id("timing/ignoreLoops")] = true;
|
||||
}
|
||||
|
|
@ -560,8 +548,6 @@ void CommandHandler::setupContext(Context *ctx)
|
|||
ctx->settings[ctx->id("target_freq")] = std::to_string(12e6);
|
||||
if (ctx->settings.find(ctx->id("timing_driven")) == ctx->settings.end())
|
||||
ctx->settings[ctx->id("timing_driven")] = true;
|
||||
if (ctx->settings.find(ctx->id("slack_redist_iter")) == ctx->settings.end())
|
||||
ctx->settings[ctx->id("slack_redist_iter")] = 0;
|
||||
if (ctx->settings.find(ctx->id("auto_freq")) == ctx->settings.end())
|
||||
ctx->settings[ctx->id("auto_freq")] = false;
|
||||
if (ctx->settings.find(ctx->id("placer")) == ctx->settings.end())
|
||||
|
|
|
|||
|
|
@ -1238,7 +1238,6 @@ Placer1Cfg::Placer1Cfg(Context *ctx)
|
|||
startTemp = ctx->setting<float>("placer1/startTemp", 1);
|
||||
timingFanoutThresh = std::numeric_limits<int>::max();
|
||||
timing_driven = ctx->setting<bool>("timing_driven");
|
||||
slack_redist_iter = ctx->setting<int>("slack_redist_iter");
|
||||
hpwl_scale_x = 1;
|
||||
hpwl_scale_y = 1;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ struct Placer1Cfg
|
|||
float startTemp;
|
||||
int timingFanoutThresh;
|
||||
bool timing_driven;
|
||||
int slack_redist_iter;
|
||||
int hpwl_scale_x, hpwl_scale_y;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue