aboutsummaryrefslogtreecommitdiffstats
path: root/dummy/chip.h
diff options
context:
space:
mode:
Diffstat (limited to 'dummy/chip.h')
-rw-r--r--dummy/chip.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/dummy/chip.h b/dummy/chip.h
index 3e98071e..274f0e8e 100644
--- a/dummy/chip.h
+++ b/dummy/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;