Skip to content

Commit 7676acc

Browse files
committed
Ran make format
1 parent 9f60403 commit 7676acc

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

vpr/src/place/place_constraints.cpp

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,17 @@ void load_cluster_constraints() {
151151
floorplanning_ctx.cluster_constraints.resize(cluster_ctx.clb_nlist.blocks().size());
152152

153153
for (auto cluster_id : cluster_ctx.clb_nlist.blocks()) {
154-
std::vector<AtomBlockId> atoms = atoms_lookup.atoms_in_cluster(cluster_id);
155-
PartitionRegion empty_pr;
156-
floorplanning_ctx.cluster_constraints[cluster_id] = empty_pr;
154+
std::vector<AtomBlockId> atoms = atoms_lookup.atoms_in_cluster(cluster_id);
155+
PartitionRegion empty_pr;
156+
floorplanning_ctx.cluster_constraints[cluster_id] = empty_pr;
157157

158-
//if there are any constrainted atoms in the cluster,
159-
//we update the cluster's PartitionRegion
160-
for (unsigned int i = 0; i < atoms.size(); i++) {
161-
PartitionId partid = floorplanning_ctx.constraints.get_atom_partition(atoms[i]);
158+
//if there are any constrainted atoms in the cluster,
159+
//we update the cluster's PartitionRegion
160+
for (unsigned int i = 0; i < atoms.size(); i++) {
161+
PartitionId partid = floorplanning_ctx.constraints.get_atom_partition(atoms[i]);
162162

163-
if (partid != PartitionId::INVALID()) {
164-
PartitionRegion pr = floorplanning_ctx.constraints.get_partition_pr(partid);
163+
if (partid != PartitionId::INVALID()) {
164+
PartitionRegion pr = floorplanning_ctx.constraints.get_partition_pr(partid);
165165
if (floorplanning_ctx.cluster_constraints[cluster_id].empty()) {
166166
floorplanning_ctx.cluster_constraints[cluster_id] = pr;
167167
} else {
@@ -172,8 +172,7 @@ void load_cluster_constraints() {
172172
floorplanning_ctx.cluster_constraints[cluster_id] = intersect_pr;
173173
}
174174
}
175-
}
176-
}
177-
175+
}
176+
}
178177
}
179178
}

0 commit comments

Comments
 (0)