aboutsummaryrefslogtreecommitdiffstats
path: root/mistral/arch.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mistral/arch.cc')
-rw-r--r--mistral/arch.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/mistral/arch.cc b/mistral/arch.cc
index 52ba14fb..8ac225d4 100644
--- a/mistral/arch.cc
+++ b/mistral/arch.cc
@@ -388,15 +388,6 @@ void Arch::assignArchInfo()
}
}
-delay_t Arch::estimateDelay(WireId src, WireId dst) const
-{
- int x0 = CycloneV::rn2x(src.node);
- int y0 = CycloneV::rn2y(src.node);
- int x1 = CycloneV::rn2x(dst.node);
- int y1 = CycloneV::rn2y(dst.node);
- return 100 * std::abs(y1 - y0) + 100 * std::abs(x1 - x0) + 100;
-}
-
ArcBounds Arch::getRouteBoundingBox(WireId src, WireId dst) const
{
ArcBounds bounds;
@@ -411,17 +402,6 @@ ArcBounds Arch::getRouteBoundingBox(WireId src, WireId dst) const
return bounds;
}
-delay_t Arch::predictDelay(const NetInfo *net_info, const PortRef &sink) const
-{
- if (net_info->driver.cell == nullptr || net_info->driver.cell->bel == BelId())
- return 100;
- if (sink.cell->bel == BelId())
- return 100;
- Loc src_loc = getBelLocation(net_info->driver.cell->bel);
- Loc dst_loc = getBelLocation(sink.cell->bel);
- return std::abs(dst_loc.y - src_loc.y) * 100 + std::abs(dst_loc.x - src_loc.x) * 100 + 100;
-}
-
bool Arch::place()
{
std::string placer = str_or_default(settings, id("placer"), defaultPlacer);