aboutsummaryrefslogtreecommitdiffstats
path: root/frontend/json
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-11 20:12:57 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-11 20:12:57 +0200
commitbe73894bea1c5719eccfad6b8c7e7ae44798a68a (patch)
treefa66dc9a9579e373789cf8a7659d53c1a610a660 /frontend/json
parentac6748238015cca1a107d99bf0f175c45eda7b2f (diff)
downloadnextpnr-be73894bea1c5719eccfad6b8c7e7ae44798a68a.tar.gz
nextpnr-be73894bea1c5719eccfad6b8c7e7ae44798a68a.tar.bz2
nextpnr-be73894bea1c5719eccfad6b8c7e7ae44798a68a.zip
Add "nextpnr.h"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontend/json')
-rw-r--r--frontend/json/jsonparse.cc3
-rw-r--r--frontend/json/jsonparse.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc
index fd44246a..8a46c909 100644
--- a/frontend/json/jsonparse.cc
+++ b/frontend/json/jsonparse.cc
@@ -27,8 +27,7 @@
#include <iostream>
#include <log.h>
#include <string>
-#include "chip.h"
-#include "design.h"
+#include "nextpnr.h"
extern bool check_all_nets_driven(Design *design);
diff --git a/frontend/json/jsonparse.h b/frontend/json/jsonparse.h
index a1c28a42..8d863029 100644
--- a/frontend/json/jsonparse.h
+++ b/frontend/json/jsonparse.h
@@ -22,7 +22,7 @@
#include <istream>
#include <string>
-#include "design.h"
+#include "nextpnr.h"
extern void parse_json_file(std::istream *&, std::string &, Design *);