aboutsummaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-07-24 16:09:29 +0200
committerDavid Shah <davey1576@gmail.com>2018-07-24 16:09:29 +0200
commit974ca143e80ac48b0e87054001a48b0d6597c6fa (patch)
tree98a3526f58a194862351324c8a1b1914e46df0db /generic
parent5a170f286c2868375d93477ad3bd08ccc30a15a1 (diff)
downloadnextpnr-974ca143e80ac48b0e87054001a48b0d6597c6fa.tar.gz
nextpnr-974ca143e80ac48b0e87054001a48b0d6597c6fa.tar.bz2
nextpnr-974ca143e80ac48b0e87054001a48b0d6597c6fa.zip
Remove implementations of deprecated APIs
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'generic')
-rw-r--r--generic/arch.cc7
-rw-r--r--generic/arch.h1
2 files changed, 0 insertions, 8 deletions
diff --git a/generic/arch.cc b/generic/arch.cc
index 0fff2e4c..af245a4b 100644
--- a/generic/arch.cc
+++ b/generic/arch.cc
@@ -368,13 +368,6 @@ const std::vector<GroupId> &Arch::getGroupGroups(GroupId group) const { return g
// ---------------------------------------------------------------
-void Arch::estimatePosition(BelId bel, int &x, int &y, bool &gb) const
-{
- x = bels.at(bel).x;
- y = bels.at(bel).y;
- gb = bels.at(bel).gb;
-}
-
delay_t Arch::estimateDelay(WireId src, WireId dst) const
{
const WireInfo &s = wires.at(src);
diff --git a/generic/arch.h b/generic/arch.h
index 61e6b033..3025bda0 100644
--- a/generic/arch.h
+++ b/generic/arch.h
@@ -191,7 +191,6 @@ struct Arch : BaseCtx
const std::vector<PipId> &getGroupPips(GroupId group) const;
const std::vector<GroupId> &getGroupGroups(GroupId group) const;
- void estimatePosition(BelId bel, int &x, int &y, bool &gb) const;
delay_t estimateDelay(WireId src, WireId dst) const;
delay_t getDelayEpsilon() const { return 0.01; }
delay_t getRipupDelayPenalty() const { return 1.0; }