aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-08-01 11:19:43 +0200
committerClifford Wolf <clifford@clifford.at>2018-08-01 11:30:11 +0200
commit29dd98420b3dfc949a8bc73ea978a6f05ca70d50 (patch)
treed1476f8f8e9bcff3ae76f7dd17ff918b62c5f287 /ecp5
parentfaf309c1fed17323c4f9e90f2a9999c12c0020f8 (diff)
downloadnextpnr-29dd98420b3dfc949a8bc73ea978a6f05ca70d50.tar.gz
nextpnr-29dd98420b3dfc949a8bc73ea978a6f05ca70d50.tar.bz2
nextpnr-29dd98420b3dfc949a8bc73ea978a6f05ca70d50.zip
Remove getFrameDecal() API
Signed-off-by: Clifford Wolf <clifford@clifford.at>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch.cc12
-rw-r--r--ecp5/arch.h1
-rw-r--r--ecp5/archdefs.h2
3 files changed, 1 insertions, 14 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc
index a305e57b..6c3714cc 100644
--- a/ecp5/arch.cc
+++ b/ecp5/arch.cc
@@ -436,10 +436,6 @@ std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decal) const
{
std::vector<GraphicElement> ret;
- if (decal.type == DecalId::TYPE_FRAME) {
- /* nothing */
- }
-
if (decal.type == DecalId::TYPE_BEL) {
BelId bel;
bel.index = decal.z;
@@ -473,14 +469,6 @@ std::vector<GraphicElement> Arch::getDecalGraphics(DecalId decal) const
return ret;
}
-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;
diff --git a/ecp5/arch.h b/ecp5/arch.h
index e4d67e0f..2e54276b 100644
--- a/ecp5/arch.h
+++ b/ecp5/arch.h
@@ -793,7 +793,6 @@ struct Arch : BaseCtx
std::vector<GraphicElement> getDecalGraphics(DecalId decal) const;
- DecalXY getFrameDecal() const;
DecalXY getBelDecal(BelId bel) const;
DecalXY getWireDecal(WireId wire) const;
DecalXY getPipDecal(PipId pip) const;
diff --git a/ecp5/archdefs.h b/ecp5/archdefs.h
index 829db683..1e115478 100644
--- a/ecp5/archdefs.h
+++ b/ecp5/archdefs.h
@@ -122,7 +122,7 @@ struct DecalId
{
enum
{
- TYPE_FRAME,
+ TYPE_NONE,
TYPE_BEL
} type;
Location location;