aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/lpf.cc
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 /ecp5/lpf.cc
parentd9b0bac248a12466cd2b62d02ec11b2e60d25019 (diff)
downloadnextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.tar.gz
nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.tar.bz2
nextpnr-856760599e51bd4c6da34112c993dc8bfb995f36.zip
Use properties for settings and save in json
Diffstat (limited to 'ecp5/lpf.cc')
-rw-r--r--ecp5/lpf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/lpf.cc b/ecp5/lpf.cc
index 4ac70fc9..ceb1d7ae 100644
--- a/ecp5/lpf.cc
+++ b/ecp5/lpf.cc
@@ -133,7 +133,7 @@ bool Arch::applyLPF(std::string filename, std::istream &in)
}
if (!isempty(linebuf))
log_error("unexpected end of LPF file\n");
- settings.emplace(id("input/lpf"), filename);
+ settings[id("input/lpf")] = filename;
return true;
} catch (log_execution_error_exception) {
return false;