aboutsummaryrefslogtreecommitdiffstats
path: root/gui/ice40
diff options
context:
space:
mode:
Diffstat (limited to 'gui/ice40')
-rw-r--r--gui/ice40/worker.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/ice40/worker.cc b/gui/ice40/worker.cc
index 09093ec8..faf58bf8 100644
--- a/gui/ice40/worker.cc
+++ b/gui/ice40/worker.cc
@@ -108,8 +108,7 @@ void Worker::budget(double freq)
{
Q_EMIT taskStarted();
try {
- ctx->target_freq = freq;
- assign_budget(ctx);
+ ctx->target_freq = freq;
Q_EMIT budget_finish(true);
} catch (WorkerInterruptionRequested) {
Q_EMIT taskCanceled();
@@ -121,6 +120,7 @@ void Worker::place(bool timing_driven)
Q_EMIT taskStarted();
try {
ctx->timing_driven = timing_driven;
+ assign_budget(ctx);
Q_EMIT place_finished(ctx->place());
} catch (WorkerInterruptionRequested) {
Q_EMIT taskCanceled();