aboutsummaryrefslogtreecommitdiffstats
path: root/json/jsonparse.cc
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2018-08-08 11:22:01 -0700
committerGitHub <noreply@github.com>2018-08-08 11:22:01 -0700
commitbc378fc3e4bbb16251f4076384eb6aaf25ef79e3 (patch)
tree18ff4129f05a457f0afaf8edcef90fe73252ad24 /json/jsonparse.cc
parentb326b03a5261a824f428fe0811a5376c8758b929 (diff)
parent61bce47f3cb7b4adf1d5292b3c431ca4048ad038 (diff)
downloadnextpnr-bc378fc3e4bbb16251f4076384eb6aaf25ef79e3.tar.gz
nextpnr-bc378fc3e4bbb16251f4076384eb6aaf25ef79e3.tar.bz2
nextpnr-bc378fc3e4bbb16251f4076384eb6aaf25ef79e3.zip
Merge pull request #46 from YosysHQ/use_settings
Use settings for json and pcf
Diffstat (limited to 'json/jsonparse.cc')
-rw-r--r--json/jsonparse.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/json/jsonparse.cc b/json/jsonparse.cc
index 89c2b8d9..9e86f93e 100644
--- a/json/jsonparse.cc
+++ b/json/jsonparse.cc
@@ -754,6 +754,7 @@ bool parse_json_file(std::istream &f, std::string &filename, Context *ctx)
log_info("Checksum: 0x%08x\n", ctx->checksum());
log_break();
+ ctx->settings.emplace(ctx->id("project/input/json"), filename);
return true;
} catch (log_execution_error_exception) {
return false;