Skip to content

Commit ec8d7d8

Browse files
committed
fix comments from alex
1 parent 08c1809 commit ec8d7d8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

vpr/src/place/initial_placement.cpp

-2
Original file line numberDiff line numberDiff line change
@@ -1208,9 +1208,7 @@ bool try_place_macro(const t_pl_macro& pl_macro,
12081208
return macro_placed;
12091209
}
12101210

1211-
// called from initial placement
12121211
if (macro_can_be_placed(pl_macro, head_pos, /*check_all_legality=*/true, blk_loc_registry)) {
1213-
// Place down the macromacro_can_be_placed
12141212
macro_placed = true;
12151213
VTR_LOGV_DEBUG(f_placer_debug, "\t\t\t\tMacro is placed at the given location\n");
12161214
for (const t_pl_macro_member& pl_macro_member : pl_macro.members) {

vpr/src/place/place_util.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ bool macro_can_be_placed(const t_pl_macro& pl_macro,
191191
* floorplan constraint is not supported by analytical placement yet,
192192
* hence, if macro_can_be_placed is called from analytical placer, no further actions are required.
193193
*/
194-
if (not check_all_legality) {
194+
if (!check_all_legality) {
195195
continue;
196196
}
197197

0 commit comments

Comments
 (0)