aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/main.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-02-16 18:13:22 +0000
committerGitHub <noreply@github.com>2022-02-16 18:13:22 +0000
commit61d1db16be2c68cf6ae8b4d2ff3266b5c7086ad2 (patch)
tree379b38c06745919df0e87c1be1410e16793b0925 /ice40/main.cc
parent25c47e5b7e12d232cac9408b7d6d339ee11793b7 (diff)
parent76683a1e3c123d28deff750c38467c6377936879 (diff)
downloadnextpnr-61d1db16be2c68cf6ae8b4d2ff3266b5c7086ad2.tar.gz
nextpnr-61d1db16be2c68cf6ae8b4d2ff3266b5c7086ad2.tar.bz2
nextpnr-61d1db16be2c68cf6ae8b4d2ff3266b5c7086ad2.zip
Merge pull request #918 from YosysHQ/gatecat/netlist-ii
Refactor pt2, barnacle cleanup
Diffstat (limited to 'ice40/main.cc')
-rw-r--r--ice40/main.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ice40/main.cc b/ice40/main.cc
index e480a6ce..224b0275 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -265,13 +265,13 @@ std::unique_ptr<Context> Ice40CommandHandler::createContext(dict<std::string, Pr
ctx->settings[ctx->id("arch.package")] = ctx->archArgs().package;
if (vm.count("promote-logic"))
- ctx->settings[ctx->id("promote_logic")] = Property::State::S1;
+ ctx->settings[id_promote_logic] = Property::State::S1;
if (vm.count("no-promote-globals"))
- ctx->settings[ctx->id("no_promote_globals")] = Property::State::S1;
+ ctx->settings[id_no_promote_globals] = Property::State::S1;
if (vm.count("opt-timing"))
- ctx->settings[ctx->id("opt_timing")] = Property::State::S1;
+ ctx->settings[id_opt_timing] = Property::State::S1;
if (vm.count("pcf-allow-unconstrained"))
- ctx->settings[ctx->id("pcf_allow_unconstrained")] = Property::State::S1;
+ ctx->settings[id_pcf_allow_unconstrained] = Property::State::S1;
return ctx;
}