@@ -151,17 +151,17 @@ void load_cluster_constraints() {
151
151
floorplanning_ctx.cluster_constraints .resize (cluster_ctx.clb_nlist .blocks ().size ());
152
152
153
153
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;
157
157
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]);
162
162
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);
165
165
if (floorplanning_ctx.cluster_constraints [cluster_id].empty ()) {
166
166
floorplanning_ctx.cluster_constraints [cluster_id] = pr;
167
167
} else {
@@ -172,8 +172,7 @@ void load_cluster_constraints() {
172
172
floorplanning_ctx.cluster_constraints [cluster_id] = intersect_pr;
173
173
}
174
174
}
175
- }
176
- }
177
-
175
+ }
176
+ }
178
177
}
179
178
}
0 commit comments