aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/chip.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-11 20:12:57 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-11 20:12:57 +0200
commitbe73894bea1c5719eccfad6b8c7e7ae44798a68a (patch)
treefa66dc9a9579e373789cf8a7659d53c1a610a660 /ice40/chip.h
parentac6748238015cca1a107d99bf0f175c45eda7b2f (diff)
downloadnextpnr-be73894bea1c5719eccfad6b8c7e7ae44798a68a.tar.gz
nextpnr-be73894bea1c5719eccfad6b8c7e7ae44798a68a.tar.bz2
nextpnr-be73894bea1c5719eccfad6b8c7e7ae44798a68a.zip
Add "nextpnr.h"
Signed-off-by: Clifford Wolf <clifford@clifford.at>
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;