aboutsummaryrefslogtreecommitdiffstats
path: root/json/jsonparse.h
diff options
context:
space:
mode:
authorDavid Shah <dave@ds0.me>2019-07-03 12:39:38 +0100
committerGitHub <noreply@github.com>2019-07-03 12:39:38 +0100
commit8f2813279c5888e655ee6f50f198cf8cb11b0b50 (patch)
tree0aac9464d3ea87d37cd0689903ba08094b7c0984 /json/jsonparse.h
parentff958830d1097b9bfa3c3b34094e671741ef563d (diff)
parente27dc41a7646fd3377d2400059c916fbcc35119c (diff)
downloadnextpnr-8f2813279c5888e655ee6f50f198cf8cb11b0b50.tar.gz
nextpnr-8f2813279c5888e655ee6f50f198cf8cb11b0b50.tar.bz2
nextpnr-8f2813279c5888e655ee6f50f198cf8cb11b0b50.zip
Merge pull request #284 from YosysHQ/json_write
Initial support for writing to json files from nextpnr.
Diffstat (limited to 'json/jsonparse.h')
-rw-r--r--json/jsonparse.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/json/jsonparse.h b/json/jsonparse.h
index fe71444f..65e3f02e 100644
--- a/json/jsonparse.h
+++ b/json/jsonparse.h
@@ -27,7 +27,8 @@
NEXTPNR_NAMESPACE_BEGIN
extern bool parse_json_file(std::istream &, std::string &, Context *);
-
+extern bool load_json_settings(std::istream &f, std::string &filename,
+ std::unordered_map<std::string, Property> &values);
NEXTPNR_NAMESPACE_END
#endif