From c73759f9f10753e383c8ecab5343fe94e03fc74d Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 29 Jun 2018 20:36:34 +0200 Subject: Split "arch.h" in "arch.h" and "archdefs.h" Signed-off-by: Clifford Wolf --- common/nextpnr.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'common') diff --git a/common/nextpnr.h b/common/nextpnr.h index b647d44c..36a8dc75 100644 --- a/common/nextpnr.h +++ b/common/nextpnr.h @@ -114,12 +114,16 @@ struct GraphicElement NEXTPNR_NAMESPACE_END -#define NEXTPNR_ARCH_TOP -#include "arch.h" -#undef NEXTPNR_ARCH_TOP +#include "archdefs.h" NEXTPNR_NAMESPACE_BEGIN +struct BelPin +{ + BelId bel; + PortPin pin; +}; + struct CellInfo; enum PlaceStrength @@ -218,9 +222,7 @@ struct BaseCtx NEXTPNR_NAMESPACE_END -#define NEXTPNR_ARCH_BOTTOM #include "arch.h" -#undef NEXTPNR_ARCH_BOTTOM NEXTPNR_NAMESPACE_BEGIN -- cgit v1.2.3