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 /ecp5/pack.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 'ecp5/pack.cc')
-rw-r--r-- | ecp5/pack.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ecp5/pack.cc b/ecp5/pack.cc index 7f54c231..e3ddc07d 100644 --- a/ecp5/pack.cc +++ b/ecp5/pack.cc @@ -17,7 +17,6 @@ * */ -#include "pack.h" #include <algorithm> #include <iterator> #include <unordered_set> @@ -84,8 +83,9 @@ void pack_io(Context *ctx) } // Main pack function -bool pack_design(Context *ctx) +bool Arch::pack() { + Context *ctx = getCtx(); try { log_break(); pack_io(ctx); |