diff options
author | Clifford Wolf <clifford@clifford.at> | 2018-06-12 14:24:59 +0200 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2018-06-12 14:24:59 +0200 |
commit | 391d49c13ec675e263115d18481d4b842622b712 (patch) | |
tree | adf6116cbb6688d31fc565cc2f14bb874f535486 /frontend | |
parent | 5f813410aabdae3de84e11861248dcd0699b41c2 (diff) | |
download | nextpnr-391d49c13ec675e263115d18481d4b842622b712.tar.gz nextpnr-391d49c13ec675e263115d18481d4b842622b712.tar.bz2 nextpnr-391d49c13ec675e263115d18481d4b842622b712.zip |
Add nextpnr namespace
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'frontend')
-rw-r--r-- | frontend/json/jsonparse.cc | 4 | ||||
-rw-r--r-- | frontend/json/jsonparse.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/frontend/json/jsonparse.cc b/frontend/json/jsonparse.cc index 8a46c909..5f394217 100644 --- a/frontend/json/jsonparse.cc +++ b/frontend/json/jsonparse.cc @@ -29,6 +29,8 @@ #include <string> #include "nextpnr.h" +NEXTPNR_NAMESPACE_BEGIN + extern bool check_all_nets_driven(Design *design); namespace JsonParser { @@ -700,3 +702,5 @@ void parse_json_file(std::istream *&f, std::string &filename, Design *design) auto *parser = new JsonParser::JsonFrontend(); parser->execute(f, filename, design); } + +NEXTPNR_NAMESPACE_END diff --git a/frontend/json/jsonparse.h b/frontend/json/jsonparse.h index 8d863029..ca0844e7 100644 --- a/frontend/json/jsonparse.h +++ b/frontend/json/jsonparse.h @@ -24,6 +24,10 @@ #include <string> #include "nextpnr.h" +NEXTPNR_NAMESPACE_BEGIN + extern void parse_json_file(std::istream *&, std::string &, Design *); +NEXTPNR_NAMESPACE_END + #endif |