aboutsummaryrefslogtreecommitdiffstats
path: root/generic/main.cc
diff options
context:
space:
mode:
authorEddie Hung <eddieh@ece.ubc.ca>2018-08-04 18:40:37 -0700
committerEddie Hung <eddieh@ece.ubc.ca>2018-08-04 18:40:37 -0700
commitaebb39c65125573386165dee3afbb93d6a18241e (patch)
tree626f0ee4c250c9b4dd0615b5ea3eb01773ed8ea7 /generic/main.cc
parentdced12cbd2355604279c7277c8a48f584771dfb8 (diff)
parent7d5dba3ad378563869657b4330c178ecd8c24931 (diff)
downloadnextpnr-aebb39c65125573386165dee3afbb93d6a18241e.tar.gz
nextpnr-aebb39c65125573386165dee3afbb93d6a18241e.tar.bz2
nextpnr-aebb39c65125573386165dee3afbb93d6a18241e.zip
Merge branch 'master' into slack_histogram
Diffstat (limited to 'generic/main.cc')
-rw-r--r--generic/main.cc5
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();