aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2019-06-12 18:34:34 +0200
committerMiodrag Milanovic <mmicko@gmail.com>2019-06-12 18:34:34 +0200
commit856760599e51bd4c6da34112c993dc8bfb995f36 (patch)
tree02ea7d93a960eb5d177b7a9301693710b6724884 /ice40
parentd9b0bac248a12466cd2b62d02ec11b2e60d25019 (diff)
downloadnextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.tar.gz
nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.tar.bz2
nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.zip
Use properties for settings and save in json
Diffstat (limited to 'ice40')
-rw-r--r--ice40/pcf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/pcf.cc b/ice40/pcf.cc
index a8273dd6..91935bee 100644
--- a/ice40/pcf.cc
+++ b/ice40/pcf.cc
@@ -116,7 +116,7 @@ bool apply_pcf(Context *ctx, std::string filename, std::istream &in)
}
}
}
- ctx->settings.emplace(ctx->id("input/pcf"), filename);
+ ctx->settings[ctx->id("input/pcf")] = filename;
return true;
} catch (log_execution_error_exception) {
return false;