diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-03 19:53:32 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-03 19:53:32 -0700 |
commit | 3d5dcda12c80175f5bfb2c2615de9cb5fadacb90 (patch) | |
tree | 6d9bf44e2342833b79087ee4d627a8beb1561107 /ecp5 | |
parent | 80e6b17ec9da25ff089a626b2fb5043876814307 (diff) | |
download | nextpnr-3d5dcda12c80175f5bfb2c2615de9cb5fadacb90.tar.gz nextpnr-3d5dcda12c80175f5bfb2c2615de9cb5fadacb90.tar.bz2 nextpnr-3d5dcda12c80175f5bfb2c2615de9cb5fadacb90.zip |
Auto frequency only if --freq 0 is set
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/main.cc | 6 |
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()); |