aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc5
-rw-r--r--ecp5/arch.h2
-rw-r--r--ecp5/main.cc3
3 files changed, 3 insertions, 7 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index b518323e..79f65562 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -413,10 +413,7 @@ delay_t Arch::estimateDelay(WireId src, WireId dst) const
return 200 * (abs(src.location.x - dst.location.x) + abs(src.location.y - dst.location.y));
}
-delay_t Arch::getBudgetOverride(const PortRef& pr, delay_t v) const
-{
- return v;
-}
+delay_t Arch::getBudgetOverride(const PortRef &pr, delay_t v) const { return v; }
// -----------------------------------------------------------------------
diff --git a/ecp5/arch.h b/ecp5/arch.h
index 22016fae..1927e55a 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -776,7 +776,7 @@ struct Arch : BaseCtx
delay_t getRipupDelayPenalty() const { return 200; }
float getDelayNS(delay_t v) const { return v * 0.001; }
uint32_t getDelayChecksum(delay_t v) const { return v; }
- delay_t getBudgetOverride(const PortRef& pr, delay_t v) const;
+ delay_t getBudgetOverride(const PortRef &pr, delay_t v) const;
// -------------------------------------------------
diff --git a/ecp5/main.cc b/ecp5/main.cc
index 170f9c11..9f683a7b 100644
--- a/ecp5/main.cc
+++ b/ecp5/main.cc
@@ -170,8 +170,7 @@ int main(int argc, char *argv[])
if (vm.count("freq")) {
ctx->target_freq = vm["freq"].as<double>() * 1e6;
ctx->user_freq = true;
- }
- else {
+ } else {
log_warning("Target frequency not specified. Will optimise for max frequency.\n");
}
assign_budget(ctx.get());