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/lpf.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/lpf.cc')
-rw-r--r-- | ecp5/lpf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecp5/lpf.cc b/ecp5/lpf.cc index 8b972380..c12b65c4 100644 --- a/ecp5/lpf.cc +++ b/ecp5/lpf.cc @@ -36,7 +36,7 @@ static const std::unordered_set<std::string> iobuf_keys = { "CLAMP", "OPENDRAIN", "DIFFRESISTOR", "DIFFDRIVE", "HYSTERESIS", "TERMINATION", }; -bool Arch::applyLPF(std::string filename, std::istream &in) +bool Arch::apply_lpf(std::string filename, std::istream &in) { auto isempty = [](const std::string &str) { return std::all_of(str.begin(), str.end(), [](char c) { return isblank(c) || c == '\r' || c == '\n'; }); |