diff options
author | David Shah <dave@ds0.me> | 2021-02-03 19:55:32 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 19:55:32 +0000 |
commit | 155e0b9c428aa32d1ca22d3679db6db50505b2a8 (patch) | |
tree | f86b0cc21e71cfed705b82108562d6ca692068be /ecp5/arch_place.cc | |
parent | 9a79163eab89e6351cd06c37d5916174acdfc754 (diff) | |
parent | 0865198a9e5d201cc436b90a9338c3c40048e2e0 (diff) | |
download | nextpnr-155e0b9c428aa32d1ca22d3679db6db50505b2a8.tar.gz nextpnr-155e0b9c428aa32d1ca22d3679db6db50505b2a8.tar.bz2 nextpnr-155e0b9c428aa32d1ca22d3679db6db50505b2a8.zip |
Merge pull request #565 from YosysHQ/dave/snakecase
Use snake case consistently for non-Arch-API functions
Diffstat (limited to 'ecp5/arch_place.cc')
-rw-r--r-- | ecp5/arch_place.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ecp5/arch_place.cc b/ecp5/arch_place.cc index c5330694..668b3141 100644 --- a/ecp5/arch_place.cc +++ b/ecp5/arch_place.cc @@ -33,7 +33,7 @@ inline NetInfo *port_or_nullptr(const CellInfo *cell, IdString name) return found->second.net; } -bool Arch::slicesCompatible(const std::vector<const CellInfo *> &cells) const +bool Arch::slices_compatible(const std::vector<const CellInfo *> &cells) const { // TODO: allow different LSR/CLK and MUX/SRMODE settings once // routing details are worked out @@ -79,7 +79,7 @@ bool Arch::isBelLocationValid(BelId bel) const } if (getBoundBelCell(bel) != nullptr && getBoundBelCell(bel)->sliceInfo.has_l6mux && ((bel_loc.z % 2) == 1)) return false; - return slicesCompatible(bel_cells); + return slices_compatible(bel_cells); } else { CellInfo *cell = getBoundBelCell(bel); if (cell == nullptr) @@ -108,7 +108,7 @@ bool Arch::isValidBelForCell(CellInfo *cell, BelId bel) const } bel_cells.push_back(cell); - return slicesCompatible(bel_cells); + return slices_compatible(bel_cells); } else if (cell->type == id_DCUA || cell->type == id_EXTREFB || cell->type == id_PCSCLKDIV) { return args.type != ArchArgs::LFE5U_25F && args.type != ArchArgs::LFE5U_45F && args.type != ArchArgs::LFE5U_85F; } else { @@ -196,7 +196,7 @@ void Arch::permute_luts() } } -void Arch::setupWireLocations() +void Arch::setup_wire_locations() { wire_loc_overrides.clear(); for (auto cell : sorted(cells)) { |