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 /ice40/main.cc | |
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 'ice40/main.cc')
-rw-r--r-- | ice40/main.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ice40/main.cc b/ice40/main.cc index 53cd7164..e77bdd34 100644 --- a/ice40/main.cc +++ b/ice40/main.cc @@ -39,7 +39,6 @@ #include "jsonparse.h" #include "log.h" #include "nextpnr.h" -#include "pack.h" #include "pcf.h" #include "place_legaliser.h" #include "timing.h" @@ -382,7 +381,7 @@ int main(int argc, char *argv[]) log_error("Loading PCF failed.\n"); } - if (!pack_design(ctx.get()) && !ctx->force) + if (!ctx->pack() && !ctx->force) log_error("Packing design failed.\n"); assign_budget(ctx.get()); ctx->check(); |