diff options
author | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 17:35:23 -0700 |
---|---|---|
committer | Eddie Hung <eddieh@ece.ubc.ca> | 2018-08-06 17:35:23 -0700 |
commit | f44a5fb904e6e52e8383e8f13d9b3f4ab9d7ce48 (patch) | |
tree | a0ef72d1a6356bbf45ca0eef28050740288d10af /ecp5 | |
parent | 483f8631068086d7f0bdf10f60205567e03d943e (diff) | |
download | nextpnr-f44a5fb904e6e52e8383e8f13d9b3f4ab9d7ce48.tar.gz nextpnr-f44a5fb904e6e52e8383e8f13d9b3f4ab9d7ce48.tar.bz2 nextpnr-f44a5fb904e6e52e8383e8f13d9b3f4ab9d7ce48.zip |
clangformat
Diffstat (limited to 'ecp5')
-rw-r--r-- | ecp5/arch.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/ecp5/arch.cc b/ecp5/arch.cc index 4a3e8ef3..de3abd44 100644 --- a/ecp5/arch.cc +++ b/ecp5/arch.cc @@ -375,7 +375,6 @@ BelId Arch::getPioByFunctionName(const std::string &name) const } std::vector<PortPin> Arch::getBelPins(BelId bel) const - { std::vector<PortPin> ret; NPNR_ASSERT(bel != BelId()); @@ -500,11 +499,7 @@ IdString Arch::getPortClock(const CellInfo *cell, IdString port) const { return bool Arch::isClockPort(const CellInfo *cell, IdString port) const { return false; } -bool Arch::isIOCell(const CellInfo *cell) const -{ - return cell->type == id("TRELLIS_IO"); -} - +bool Arch::isIOCell(const CellInfo *cell) const { return cell->type == id("TRELLIS_IO"); } std::vector<std::pair<std::string, std::string>> Arch::getTilesAtLocation(int row, int col) { |