aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/main.cc
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-13 18:39:16 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-13 18:39:16 +0200
commit4de147d9e42d7c932773544011a36e4550530a9e (patch)
tree076ab4930c4bb36be05aa3711f08e929c4b713b2 /ecp5/main.cc
parentc760b0326182c3779373fba1f77aad200c9b1b89 (diff)
downloadnextpnr-4de147d9e42d7c932773544011a36e4550530a9e.tar.gz
nextpnr-4de147d9e42d7c932773544011a36e4550530a9e.tar.bz2
nextpnr-4de147d9e42d7c932773544011a36e4550530a9e.zip
Save settings that we saved in project
Diffstat (limited to 'ecp5/main.cc')
-rw-r--r--ecp5/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/main.cc b/ecp5/main.cc
index bb18aa58..9d0241e9 100644
--- a/ecp5/main.cc
+++ b/ecp5/main.cc
@@ -150,6 +150,8 @@ std::unique_ptr<Context> ECP5CommandHandler::createContext()
}
}
auto ctx = std::unique_ptr<Context>(new Context(chipArgs));
+ ctx->settings[ctx->id("arch.package")] = ctx->archArgs().package;
+ ctx->settings[ctx->id("arch.speed")] = std::to_string(ctx->archArgs().speed);
return ctx;
}