From 29dd98420b3dfc949a8bc73ea978a6f05ca70d50 Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Wed, 1 Aug 2018 11:19:43 +0200 Subject: Remove getFrameDecal() API Signed-off-by: Clifford Wolf --- ice40/arch.cc | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'ice40/arch.cc') diff --git a/ice40/arch.cc b/ice40/arch.cc index 5545ddf4..b3d514b5 100644 --- a/ice40/arch.cc +++ b/ice40/arch.cc @@ -665,14 +665,6 @@ bool Arch::route() { return router1(getCtx()); } // ----------------------------------------------------------------------- -DecalXY Arch::getFrameDecal() const -{ - DecalXY decalxy; - decalxy.decal.type = DecalId::TYPE_FRAME; - decalxy.decal.active = true; - return decalxy; -} - DecalXY Arch::getBelDecal(BelId bel) const { DecalXY decalxy; @@ -713,10 +705,6 @@ std::vector Arch::getDecalGraphics(DecalId decal) const { std::vector ret; - if (decal.type == DecalId::TYPE_FRAME) { - /* nothing */ - } - if (decal.type == DecalId::TYPE_GROUP) { int type = (decal.index >> 16) & 255; int x = (decal.index >> 8) & 255; -- cgit v1.2.3