aboutsummaryrefslogtreecommitdiffstats
path: root/fpga_interchange/xdc.cc
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-19 17:35:29 -0700
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-03-19 21:36:06 -0700
commit2cd5bacca006fa8f957f1a230811b65a70655860 (patch)
treeddc3ecc5a9e1c96f858356136cca199f2669babf /fpga_interchange/xdc.cc
parentf52b5229642cdb54d61b54f5ab9a7478a119298e (diff)
downloadnextpnr-2cd5bacca006fa8f957f1a230811b65a70655860.tar.gz
nextpnr-2cd5bacca006fa8f957f1a230811b65a70655860.tar.bz2
nextpnr-2cd5bacca006fa8f957f1a230811b65a70655860.zip
Refactor header structures in FPGA interchange Arch.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'fpga_interchange/xdc.cc')
-rw-r--r--fpga_interchange/xdc.cc8
1 files changed, 7 insertions, 1 deletions
diff --git a/fpga_interchange/xdc.cc b/fpga_interchange/xdc.cc
index 584a1777..6e22ce8b 100644
--- a/fpga_interchange/xdc.cc
+++ b/fpga_interchange/xdc.cc
@@ -19,9 +19,15 @@
*/
#include "xdc.h"
+
#include <string>
+
+#include "context.h"
#include "log.h"
-#include "nextpnr.h"
+
+// Include tcl.h late because it messed with #define's and lets them leave the
+// scope of the header.
+#include <tcl.h>
NEXTPNR_NAMESPACE_BEGIN