diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-07-13 15:16:44 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-07-13 15:16:44 +0200 |
commit | c05bea12e0af7ec847043c832133cbfddfb278b1 (patch) | |
tree | ac4b50662bb4cbfb75a0cc1ff132e18b2dc7b4e8 /gui | |
parent | 45462ef3a714c0d98fe570d96e6761e2b298c7d0 (diff) | |
download | nextpnr-c05bea12e0af7ec847043c832133cbfddfb278b1.tar.gz nextpnr-c05bea12e0af7ec847043c832133cbfddfb278b1.tar.bz2 nextpnr-c05bea12e0af7ec847043c832133cbfddfb278b1.zip |
Add ctx->pack() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'gui')
-rw-r--r-- | gui/ice40/mainwindow.cc | 1 | ||||
-rw-r--r-- | gui/ice40/worker.cc | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/gui/ice40/mainwindow.cc b/gui/ice40/mainwindow.cc index b7f08104..bea5fce7 100644 --- a/gui/ice40/mainwindow.cc +++ b/gui/ice40/mainwindow.cc @@ -27,7 +27,6 @@ #include "design_utils.h"
#include "jsonparse.h"
#include "log.h"
-#include "pack.h"
#include "pcf.h"
static void initMainResource() { Q_INIT_RESOURCE(nextpnr); }
diff --git a/gui/ice40/worker.cc b/gui/ice40/worker.cc index 16f5fb89..09093ec8 100644 --- a/gui/ice40/worker.cc +++ b/gui/ice40/worker.cc @@ -23,7 +23,6 @@ #include "design_utils.h" #include "jsonparse.h" #include "log.h" -#include "pack.h" #include "pcf.h" #include "timing.h" @@ -97,7 +96,7 @@ void Worker::pack() { Q_EMIT taskStarted(); try { - bool res = pack_design(ctx); + bool res = ctx->pack(); print_utilisation(ctx); Q_EMIT pack_finished(res); } catch (WorkerInterruptionRequested) { |