aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-03 23:51:21 -0700
committerGitHub <noreply@github.com>2018-08-03 23:51:21 -0700
commitf5a1b93f0e9348437ece7fb7d46ac69af98536d0 (patch)
tree4b881ed0409bae10ac553dc5fe1771feb228712e /ecp5
parent65d73eb9838e0bb8e6d089ecde3d4ffaf34e9e29 (diff)
parentd66edf522348d1475f1b65d79804f37a751274b3 (diff)
downloadnextpnr-f5a1b93f0e9348437ece7fb7d46ac69af98536d0.tar.gz
nextpnr-f5a1b93f0e9348437ece7fb7d46ac69af98536d0.tar.bz2
nextpnr-f5a1b93f0e9348437ece7fb7d46ac69af98536d0.zip
Merge pull request #30 from eddiehung/slack_redist_freq
Slack redistribution to auto-tune frequency only if --freq 0 set
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/main.cc6
1 files changed, 1 insertions, 5 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc
index f40a5e61..dac7a635 100644
--- a/ecp5/main.cc
+++ b/ecp5/main.cc
@@ -162,12 +162,8 @@ int main(int argc, char *argv[])
if (!ctx->pack() && !ctx->force)
log_error("Packing design failed.\n");
- if (vm.count("freq")) {
+ if (vm.count("freq"))
ctx->target_freq = vm["freq"].as<double>() * 1e6;
- ctx->user_freq = true;
- } else {
- log_warning("Target frequency not specified. Will optimise for max frequency.\n");
- }
assign_budget(ctx.get());
ctx->check();
print_utilisation(ctx.get());