Skip to content

Commit 932fda8

Browse files
committed
run make format
Signed-off-by: Alessandro Comodi <[email protected]>
1 parent cfd25e8 commit 932fda8

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

vpr/src/base/vpr_types.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,10 @@ constexpr const char* EMPTY_BLOCK_NAME = "EMPTY";
110110
#endif
111111

112112
enum class e_router_lookahead {
113-
CLASSIC, ///<VPR's classic lookahead (assumes uniform wire types)
114-
MAP, ///<Lookahead considering different wire types (see Oleg Petelin's MASc Thesis)
115-
EXTENDED_MAP, ///<Lookahead with a more extensive node sampling method
116-
NO_OP, ///<A no-operation lookahead which always returns zero
113+
CLASSIC, ///<VPR's classic lookahead (assumes uniform wire types)
114+
MAP, ///<Lookahead considering different wire types (see Oleg Petelin's MASc Thesis)
115+
EXTENDED_MAP, ///<Lookahead with a more extensive node sampling method
116+
NO_OP, ///<A no-operation lookahead which always returns zero
117117
CONNECTION_BOX_MAP ///<Lookahead considering different wire types and IPIN connection box.
118118
};
119119

vpr/src/route/connection_box_lookahead_map.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -357,9 +357,9 @@ static void assign_min_entry(util::Cost_Entry* dst, const util::Cost_Entry& src)
357357

358358
// find the minimum cost entry from the nearest manhattan distance neighbor
359359
std::pair<util::Cost_Entry, int> ConnectionBoxCostMap::get_nearby_cost_entry(const vtr::NdMatrix<util::Cost_Entry, 2>& matrix,
360-
int cx,
361-
int cy,
362-
const vtr::Rect<int>& bounds) {
360+
int cx,
361+
int cy,
362+
const vtr::Rect<int>& bounds) {
363363
// spiral around (cx, cy) looking for a nearby entry
364364
bool in_bounds = bounds.contains(vtr::Point<int>(cx, cy));
365365
if (!in_bounds) {
@@ -826,16 +826,16 @@ static vtr::Rect<int> sample_window(const vtr::Rect<int>& bounding_box, int sx,
826826
}
827827

828828
static std::vector<ConnectionBoxSamplePoint> choose_points(const vtr::Matrix<int>& counts,
829-
const vtr::Rect<int>& window,
830-
int min_count,
831-
int max_count) {
829+
const vtr::Rect<int>& window,
830+
int min_count,
831+
int max_count) {
832832
VTR_ASSERT(min_count <= max_count);
833833
std::vector<ConnectionBoxSamplePoint> points;
834834
for (int y = window.ymin(); y < window.ymax(); y++) {
835835
for (int x = window.xmin(); x < window.xmax(); x++) {
836836
if (counts[x][y] >= min_count && counts[x][y] <= max_count) {
837837
points.push_back(ConnectionBoxSamplePoint{/* .location = */ vtr::Point<int>(x, y),
838-
/* .nodes = */ {}});
838+
/* .nodes = */ {}});
839839
}
840840
}
841841
}

0 commit comments

Comments
 (0)