From be73894bea1c5719eccfad6b8c7e7ae44798a68a Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Mon, 11 Jun 2018 20:12:57 +0200 Subject: Add "nextpnr.h" Signed-off-by: Clifford Wolf --- ice40/chip.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ice40/chip.h') 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; -- cgit v1.2.3