diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-08-04 20:17:46 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-08-04 20:17:46 +0200 |
commit | d31036825b02f6a08a3dc7e791bbb188e9629781 (patch) | |
tree | 20e4bb9c32201852de2802e524f0fc684f9f956d /generic/main.cc | |
parent | 175da732ac18acaf16eff97a2b7711b25a2cb157 (diff) | |
parent | 7d5dba3ad378563869657b4330c178ecd8c24931 (diff) | |
download | nextpnr-d31036825b02f6a08a3dc7e791bbb188e9629781.tar.gz nextpnr-d31036825b02f6a08a3dc7e791bbb188e9629781.tar.bz2 nextpnr-d31036825b02f6a08a3dc7e791bbb188e9629781.zip |
Merge branch 'master' of github.com:YosysHQ/nextpnr into lutperm
Diffstat (limited to 'generic/main.cc')
-rw-r--r-- | generic/main.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/main.cc b/generic/main.cc index 3b8b3fe6..8653da01 100644 --- a/generic/main.cc +++ b/generic/main.cc @@ -90,7 +90,8 @@ int main(int argc, char *argv[]) return 1; } - std::unique_ptr<Context> ctx = std::unique_ptr<Context>(new Context(ArchArgs{})); + ArchArgs chipArgs{}; + std::unique_ptr<Context> ctx = std::unique_ptr<Context>(new Context(chipArgs)); if (vm.count("verbose")) { ctx->verbose = true; @@ -107,7 +108,7 @@ int main(int argc, char *argv[]) #ifndef NO_GUI if (vm.count("gui")) { Application a(argc, argv); - MainWindow w(std::move(ctx)); + MainWindow w(std::move(ctx), chipArgs); w.show(); return a.exec(); |