diff options
Diffstat (limited to 'generic/arch.cc')
-rw-r--r-- | generic/arch.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/generic/arch.cc b/generic/arch.cc index 4fc07613..0fff2e4c 100644 --- a/generic/arch.cc +++ b/generic/arch.cc @@ -75,8 +75,6 @@ void Arch::addBel(IdString name, IdString type, Loc loc, bool gb) bi.gb = gb; bel_ids.push_back(name); - bel_ids_by_type[type].push_back(name); - bel_by_loc[loc] = name; if (bels_by_tile.size() <= loc.x) @@ -225,14 +223,6 @@ IdString Arch::getConflictingBelCell(BelId bel) const { return bels.at(bel).boun const std::vector<BelId> &Arch::getBels() const { return bel_ids; } -const std::vector<BelId> &Arch::getBelsByType(BelType type) const -{ - static std::vector<BelId> empty_list; - if (bel_ids_by_type.count(type)) - return bel_ids_by_type.at(type); - return empty_list; -} - BelType Arch::getBelType(BelId bel) const { return bels.at(bel).type; } WireId Arch::getBelPinWire(BelId bel, PortPin pin) const { return bels.at(bel).pins.at(pin).wire; } |