mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-05-01 22:15:52 +00:00
Add ctx->route() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
@@ -30,7 +30,6 @@
|
||||
#include "pack.h"
|
||||
#include "pcf.h"
|
||||
#include "place_sa.h"
|
||||
#include "route.h"
|
||||
|
||||
static void initMainResource() { Q_INIT_RESOURCE(nextpnr); }
|
||||
|
||||
@@ -444,4 +443,4 @@ void MainWindow::budget()
|
||||
|
||||
void MainWindow::place() { Q_EMIT task->place(timing_driven); }
|
||||
|
||||
NEXTPNR_NAMESPACE_END
|
||||
NEXTPNR_NAMESPACE_END
|
||||
|
||||
@@ -26,7 +26,6 @@
|
||||
#include "pack.h"
|
||||
#include "pcf.h"
|
||||
#include "place_sa.h"
|
||||
#include "route.h"
|
||||
#include "timing.h"
|
||||
|
||||
NEXTPNR_NAMESPACE_BEGIN
|
||||
@@ -134,7 +133,7 @@ void Worker::route()
|
||||
{
|
||||
Q_EMIT taskStarted();
|
||||
try {
|
||||
Q_EMIT route_finished(route_design(ctx));
|
||||
Q_EMIT route_finished(ctx->route());
|
||||
} catch (WorkerInterruptionRequested) {
|
||||
Q_EMIT taskCanceled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user