diff options
author | David Shah <davey1576@gmail.com> | 2018-07-08 12:56:43 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-07-11 10:42:09 +0200 |
commit | 49f39b8d5635e607764f12c31d2f18a0f79b1969 (patch) | |
tree | 8df0b892c5e46fbad5829c4bddd3749c92165f09 /ecp5/arch.cc | |
parent | 59cb1600d9995eb52af41caea7bc364dcf47ea35 (diff) | |
download | nextpnr-49f39b8d5635e607764f12c31d2f18a0f79b1969.tar.gz nextpnr-49f39b8d5635e607764f12c31d2f18a0f79b1969.tar.bz2 nextpnr-49f39b8d5635e607764f12c31d2f18a0f79b1969.zip |
ecp5: Place design working, router now segfaults due to db issue
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ecp5/arch.cc')
-rw-r--r-- | ecp5/arch.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 6708c339..e80ad829 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -116,7 +116,6 @@ Arch::Arch(ArchArgs args) : args(args) log_error("Unsupported ECP5 chip type.\n"); } #endif - } // ----------------------------------------------------------------------- @@ -272,7 +271,8 @@ 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; @@ -318,7 +318,6 @@ bool Arch::isBelLocationValid(BelId bel) const { return true; } // ----------------------------------------------------------------------- - bool Arch::getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, delay_t &delay) const { return false; @@ -328,5 +327,4 @@ IdString Arch::getPortClock(const CellInfo *cell, IdString port) const { return bool Arch::isClockPort(const CellInfo *cell, IdString port) const { return false; } - NEXTPNR_NAMESPACE_END |