aboutsummaryrefslogtreecommitdiffstats
path: root/ice40
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 /ice40
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 'ice40')
-rw-r--r--ice40/arch.cc12
-rw-r--r--ice40/arch.h1
-rw-r--r--ice40/archdefs.h1
-rw-r--r--ice40/main.cc2
4 files changed, 0 insertions, 16 deletions
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<GraphicElement> Arch::getDecalGraphics(DecalId decal) const
{
std::vector<GraphicElement> 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;
diff --git a/ice40/arch.h b/ice40/arch.h
index 07a8070a..bfec7c16 100644
--- a/ice40/arch.h
+++ b/ice40/arch.h
@@ -714,7 +714,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/ice40/archdefs.h b/ice40/archdefs.h
index 8a7449a8..9329609e 100644
--- a/ice40/archdefs.h
+++ b/ice40/archdefs.h
@@ -140,7 +140,6 @@ struct DecalId
enum : int8_t
{
TYPE_NONE,
- TYPE_FRAME,
TYPE_BEL,
TYPE_WIRE,
TYPE_PIP,
diff --git a/ice40/main.cc b/ice40/main.cc
index 6e8385e6..0724acdf 100644
--- a/ice40/main.cc
+++ b/ice40/main.cc
@@ -317,8 +317,6 @@ int main(int argc, char *argv[])
std::cout << "<!-- " << ctx->getBelName(bel).str(ctx.get()) << " -->\n";
svg_dump_decal(ctx.get(), ctx->getBelDecal(bel));
}
- std::cout << "<!-- Frame -->\n";
- svg_dump_decal(ctx.get(), ctx->getFrameDecal());
std::cout << "</svg>\n";
}