aboutsummaryrefslogtreecommitdiffstats
path: root/nexus/arch.h
diff options
context:
space:
mode:
Diffstat (limited to 'nexus/arch.h')
-rw-r--r--nexus/arch.h15
1 files changed, 9 insertions, 6 deletions
diff --git a/nexus/arch.h b/nexus/arch.h
index 9dfc4551..55e9becd 100644
--- a/nexus/arch.h
+++ b/nexus/arch.h
@@ -18,18 +18,19 @@
*
*/
-#ifndef NEXTPNR_H
-#error Include "arch.h" via "nextpnr.h" only.
-#endif
+#ifndef NEXUS_ARCH_H
+#define NEXUS_ARCH_H
#include <boost/iostreams/device/mapped_file.hpp>
-
#include <iostream>
-NEXTPNR_NAMESPACE_BEGIN
-
+#include "base_arch.h"
+#include "nextpnr_namespaces.h"
+#include "nextpnr_types.h"
#include "relptr.h"
+NEXTPNR_NAMESPACE_BEGIN
+
/*
Fully deduplicated database
@@ -1394,3 +1395,5 @@ struct Arch : BaseArch<ArchRanges>
};
NEXTPNR_NAMESPACE_END
+
+#endif /* NEXUS_ARCH_H */