aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/xdc.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-03-22 09:30:38 +0000
committerGitHub <noreply@github.com>2021-03-22 09:30:38 +0000
commit68ca923bfefde24fa2b7cbc8c6f9817f1d93e1e5 (patch)
treebad29dce65cf448e36704e6d7b1773d8dfd573a2 /fpga_interchange/xdc.h
parentf52b5229642cdb54d61b54f5ab9a7478a119298e (diff)
parent22c6754bcd08f66b6f8e87a58dc09ed260c72c25 (diff)
downloadnextpnr-68ca923bfefde24fa2b7cbc8c6f9817f1d93e1e5.tar.gz
nextpnr-68ca923bfefde24fa2b7cbc8c6f9817f1d93e1e5.tar.bz2
nextpnr-68ca923bfefde24fa2b7cbc8c6f9817f1d93e1e5.zip
Merge pull request #635 from litghost/refactor_headers
Refactor header structures in FPGA interchange Arch.
Diffstat (limited to 'fpga_interchange/xdc.h')
-rw-r--r--fpga_interchange/xdc.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/fpga_interchange/xdc.h b/fpga_interchange/xdc.h
index c6b80870..bafd1235 100644
--- a/fpga_interchange/xdc.h
+++ b/fpga_interchange/xdc.h
@@ -17,11 +17,17 @@
*
*/
-#include <tcl.h>
-#include "nextpnr.h"
+#ifndef XDC_H
+#define XDC_H
+
+#include "nextpnr_namespaces.h"
+
+struct Tcl_Interp;
NEXTPNR_NAMESPACE_BEGIN
+struct Context;
+
struct TclInterp
{
TclInterp(Context *ctx);
@@ -31,3 +37,5 @@ struct TclInterp
};
NEXTPNR_NAMESPACE_END
+
+#endif