aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/chip.h')
-rw-r--r--ice40/chip.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ice40/chip.h b/ice40/chip.h
index 3ab3f3d2..451be9ce 100644
--- a/ice40/chip.h
+++ b/ice40/chip.h
@@ -17,11 +17,13 @@
*
*/
-#include "design.h"
-
#ifndef CHIP_H
#define CHIP_H
+#ifndef NEXTPNR_H
+#error Include "chip.h" via "nextpnr.h" only.
+#endif
+
struct DelayInfo
{
float delay = 0;