diff options
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 6 |
1 files changed, 5 insertions, 1 deletions
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; } |