We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255633c commit aa26ba7Copy full SHA for aa26ba7
common/place/placer_static.cc
@@ -408,7 +408,17 @@ class StaticPlacer
408
StaticRect rect;
409
// Mismatched group case
410
if (!lookup_group(ci->type, cell_group, rect)) {
411
- // TODO: what is the best thing to do here? singletons/odd cells we can probably mostly randomly place
+ for (auto bel : ctx->getBels()) {
412
+ if (ctx->isValidBelForCellType(ci->type, bel) && ctx->checkBelAvail(bel)) {
413
+ ctx->bindBel(bel, ci, STRENGTH_STRONG);
414
+ if (!ctx->isBelLocationValid(bel)) {
415
+ ctx->unbindBel(bel);
416
+ } else {
417
+ log_info(" placed potpourri cell '%s' at bel '%s'\n", ctx->nameOf(ci), ctx->nameOfBel(bel));
418
+ break;
419
+ }
420
421
422
continue;
423
}
424
if (ci->cluster != ClusterId()) {
0 commit comments