clangformat
Signed-off-by: David Shah <davey1576@gmail.com>
This commit is contained in:
parent
75744ff14c
commit
7a8e8999d2
@ -328,7 +328,8 @@ BelId Arch::getPackagePinBel(const std::string &pin) const
|
||||
std::string Arch::getBelPackagePin(BelId bel) const
|
||||
{
|
||||
for (int i = 0; i < package_info->num_pins; i++) {
|
||||
if (Location(package_info->pin_data[i].abs_loc) == bel.location && package_info->pin_data[i].bel_index == bel.index) {
|
||||
if (Location(package_info->pin_data[i].abs_loc) == bel.location &&
|
||||
package_info->pin_data[i].bel_index == bel.index) {
|
||||
return package_info->pin_data[i].name.get();
|
||||
}
|
||||
}
|
||||
|
@ -207,15 +207,9 @@ BelId Arch::getBelByLocation(Loc loc) const
|
||||
return BelId();
|
||||
}
|
||||
|
||||
const std::vector<BelId> &Arch::getBelsByTile(int x, int y) const
|
||||
{
|
||||
return bels_by_tile.at(x).at(y);
|
||||
}
|
||||
const std::vector<BelId> &Arch::getBelsByTile(int x, int y) const { return bels_by_tile.at(x).at(y); }
|
||||
|
||||
bool Arch::getBelGlobalBuf(BelId bel) const
|
||||
{
|
||||
return bels.at(bel).gb;
|
||||
}
|
||||
bool Arch::getBelGlobalBuf(BelId bel) const { return bels.at(bel).gb; }
|
||||
|
||||
uint32_t Arch::getBelChecksum(BelId bel) const
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user