diff options
author | David Shah <davey1576@gmail.com> | 2018-06-25 11:43:59 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-25 11:43:59 +0200 |
commit | bdd54a68471a68bb9e3f8125c1457cd039cc768b (patch) | |
tree | 7f96fc65d7714699b2b1ec2f707beeefedb76dd3 /dummy/arch.h | |
parent | 1b7ed56f6ffd11d70d79cd96fb370f331e6d8df0 (diff) | |
download | nextpnr-bdd54a68471a68bb9e3f8125c1457cd039cc768b.tar.gz nextpnr-bdd54a68471a68bb9e3f8125c1457cd039cc768b.tar.bz2 nextpnr-bdd54a68471a68bb9e3f8125c1457cd039cc768b.zip |
Refactor: remove PlacementValidityChecker and move methods to Arch
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'dummy/arch.h')
-rw-r--r-- | dummy/arch.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/dummy/arch.h b/dummy/arch.h index 58636ed9..f1fbcec8 100644 --- a/dummy/arch.h +++ b/dummy/arch.h @@ -150,6 +150,9 @@ struct Arch : BaseCtx bool getCellDelay(const CellInfo *cell, IdString fromPort, IdString toPort, delay_t &delay) const; IdString getPortClock(const CellInfo *cell, IdString port) const; bool isClockPort(const CellInfo *cell, IdString port) const; + + bool isValidBelForCell(CellInfo *cell, BelId bel) const; + bool isBelLocationValid(BelId bel) const; }; NEXTPNR_NAMESPACE_END |