From 0a0c9393c1277b2e175d348fb4aca2a4d73ad61c Mon Sep 17 00:00:00 2001 From: Lofty Date: Sat, 9 Oct 2021 20:48:31 +0100 Subject: mistral: very basic timing info --- mistral/arch.cc | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'mistral/arch.cc') diff --git a/mistral/arch.cc b/mistral/arch.cc index a6146fcb..76f4377f 100644 --- a/mistral/arch.cc +++ b/mistral/arch.cc @@ -400,15 +400,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; @@ -423,17 +414,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); -- cgit v1.2.3