diff options
Diffstat (limited to 'common/place_common.h')
-rw-r--r-- | common/place_common.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/common/place_common.h b/common/place_common.h index 96ac48a9..dac2e607 100644 --- a/common/place_common.h +++ b/common/place_common.h @@ -29,8 +29,7 @@ NEXTPNR_NAMESPACE_BEGIN typedef int64_t wirelen_t; // Get the total estimated wirelength for a net -template <typename T> -wirelen_t get_net_wirelength(const T &proxy, const Context *ctx, const NetInfo *net, float &tns) +template <typename T> wirelen_t get_net_wirelength(const T &proxy, const Context *ctx, const NetInfo *net, float &tns) { wirelen_t wirelength = 0; int driver_x, driver_y; @@ -81,8 +80,7 @@ wirelen_t get_net_wirelength(const T &proxy, const Context *ctx, const NetInfo * } // Return the wirelength of all nets connected to a cell -template <typename T> -wirelen_t get_cell_wirelength(const T &proxy, const Context *ctx, const CellInfo *cell) +template <typename T> wirelen_t get_cell_wirelength(const T &proxy, const Context *ctx, const CellInfo *cell) { std::set<IdString> nets; for (auto p : cell->ports) { |