From 59cb1600d9995eb52af41caea7bc364dcf47ea35 Mon Sep 17 00:00:00 2001 From: David Shah Date: Sun, 8 Jul 2018 12:48:25 +0200 Subject: ecp5: Fixing arch bugs Signed-off-by: David Shah --- ecp5/arch.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'ecp5/arch.cc') diff --git a/ecp5/arch.cc b/ecp5/arch.cc index a200e102..6708c339 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -272,7 +272,11 @@ BelId Arch::getPackagePinBel(const std::string &pin) const { return BelId(); } std::string Arch::getBelPackagePin(BelId bel) const { return ""; } // ----------------------------------------------------------------------- -void Arch::estimatePosition(BelId bel, int &x, int &y, bool &gb) const {} +void Arch::estimatePosition(BelId bel, int &x, int &y, bool &gb) const { + x = bel.location.x; + y = bel.location.y; + gb = false; +} delay_t Arch::estimateDelay(WireId src, WireId dst) const { return 1; } -- cgit v1.2.3