diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 11:10:31 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-14 11:10:31 +0100 |
commit | 9b17fe385cf7e8d3025747b5f7c7822ac2d99920 (patch) | |
tree | 1822cebedf1e346defe28f0707de7332d45a92cc /ice40/arch_place.cc | |
parent | a38b4fa1735bd0af78520f6d5320a264914fb838 (diff) | |
download | nextpnr-9b17fe385cf7e8d3025747b5f7c7822ac2d99920.tar.gz nextpnr-9b17fe385cf7e8d3025747b5f7c7822ac2d99920.tar.bz2 nextpnr-9b17fe385cf7e8d3025747b5f7c7822ac2d99920.zip |
Refactor proxies to nextpnr.
Diffstat (limited to 'ice40/arch_place.cc')
-rw-r--r-- | ice40/arch_place.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ice40/arch_place.cc b/ice40/arch_place.cc index cb7c44b8..42efceab 100644 --- a/ice40/arch_place.cc +++ b/ice40/arch_place.cc @@ -25,7 +25,7 @@ NEXTPNR_NAMESPACE_BEGIN -bool ArchRProxyMethods::logicCellsCompatible(const std::vector<const CellInfo *> &cells) const +bool ArchReadMethods::logicCellsCompatible(const std::vector<const CellInfo *> &cells) const { bool dffs_exist = false, dffs_neg = false; const NetInfo *cen = nullptr, *clk = nullptr, *sr = nullptr; @@ -76,7 +76,7 @@ bool ArchRProxyMethods::logicCellsCompatible(const std::vector<const CellInfo *> return locals_count <= 32; } -bool ArchRProxyMethods::isBelLocationValid(BelId bel) const +bool ArchReadMethods::isBelLocationValid(BelId bel) const { if (parent_->getBelType(bel) == TYPE_ICESTORM_LC) { std::vector<const CellInfo *> bel_cells; @@ -97,7 +97,7 @@ bool ArchRProxyMethods::isBelLocationValid(BelId bel) const } } -bool ArchRProxyMethods::isValidBelForCell(CellInfo *cell, BelId bel) const +bool ArchReadMethods::isValidBelForCell(CellInfo *cell, BelId bel) const { if (cell->type == parent_->id_icestorm_lc) { NPNR_ASSERT(parent_->getBelType(bel) == TYPE_ICESTORM_LC); |