diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-13 18:39:16 +0200 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2019-06-13 18:39:16 +0200 |
commit | 4de147d9e42d7c932773544011a36e4550530a9e (patch) | |
tree | 076ab4930c4bb36be05aa3711f08e929c4b713b2 /ecp5/main.cc | |
parent | c760b0326182c3779373fba1f77aad200c9b1b89 (diff) | |
download | nextpnr-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.cc | 2 |
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; } |