Floorplanning decides where the large functional blocks of a chip go, and how big and what shape they are, before any wires exist. Search algorithms do not move blocks by raw coordinates. They work on compact codes, called floorplan encodings, that record only which block sits left of or above which. The most compact codes are both minimal and exact. A twin binary tree, or He's $3n-3$ bit string, gives every possible tiling of $n$ rooms exactly one code. These codes have a known flaw: they describe mosaic floorplans, where the die is tiled completely by blocks with no free space, while real chips need empty space for wires. Codes that do allow free space, such as the Extended Corner Block List (ECBL), get it by adding fake "empty" blocks. The fake blocks add duplicate codes and enlarge the search space. Separately, the objective these searches minimize is plain bounding-box wirelength, with no term for congestion. Placement tools further down the flow already penalize wirelength in crowded regions, in the form of scaled wirelength (sHPWL).
This note proposes treating free space as a continuous quantity rather than a discrete structure. The search runs over the exact, duplicate-free mosaic code. Each room in the mosaic is allowed to be larger than the block it holds, and the leftover space is handed out by a small inner optimization. That optimization minimizes a scaled wirelength defined on the segments of the mosaic, meaning the maximal straight walls between rooms. These walls are exactly the objects the mosaic code already stores, and they are also where wires must cross, so a congestion penalty can be computed on them cheaply. In this design the code fixes the arrangement, the objective decides where the wiring space goes, and neither needs the fake-block mechanism.
Core Claim
A congestion-scaled wirelength defined on mosaic segments can be evaluated in time linear in the number of blocks and nets. It can drive whitespace allocation inside a non-redundant mosaic search. We claim the resulting floorplans have lower scaled wirelength than three alternatives: compact-packing searches on redundant tree codes such as the B*-tree, ECBL with tuned fake blocks, and packing followed by downstream cleanup. We also claim plain bounding-box wirelength stays roughly where it was. The new part is not "add a density penalty to a floorplanner," which any of these alternatives can do. It is two ingredients together. First, free space is a continuous per-room slack that the objective allocates, not a set of fake blocks the search must discover. Second, the congestion term lives on the same segment structure the code enumerates, which keeps it cheap and exact per move.
Concretely, let $F$ be a floorplan and let $s$ range over its mosaic segments. Let $d_s$ be the number of nets whose bounding box straddles segment $s$ within the segment's extent. Let $c_s$ be the routing capacity across $s$, which is proportional to the slack width assigned to the channel along $s$ plus a baseline over-block capacity. Following the multiplicative form of RippleDP's scaled HPWL, we define
$$\text{csHPWL}(F) = \text{HPWL}(F)\left(1 + \gamma \frac{\sum_s \max(0,\, d_s - c_s)}{\sum_s c_s}\right),$$
where $\gamma$ weights total overflow against raw length. The inner problem works on one fixed mosaic. Given a whitespace budget $w$, meaning die area at most $(1+w)$ times the total block area, it chooses room coordinates so that each room contains its block and csHPWL is minimized. Under a fixed topology the room constraints are linear, and an additive (Lagrangian) form of the objective is a linear program. The multiplicative score is then reported on the solution.
Prior Work and Its Role Here
Three papers supply the encoding side of the method. Floorplan representations: Complexity and connections gives linear-time, one-to-one conversion between mosaics and twin binary trees, and shows that mosaics are counted by Baxter numbers. A Simple Optimal Binary Representation of Mosaic Floorplans and Baxter Permutations compresses this to $3n-3$ bits by peeling off one "deletable rectangle" at a time. We reuse that bitstring as the search genome and use its deletion order to define local moves. Neither paper optimizes anything or models free space; we supply both.
ECBL: an extended corner block list with solution space including optimum placement is the closest prior work and the main contrast. It obtains free space by inserting fake zero-size blocks controlled by an extending factor $\lambda$. Completeness requires $\lambda=n$, while the practical range is 1.5 to 3. It reports a 7% wirelength improvement over the plain corner block list, but still under unscaled HPWL. We drop fake blocks except as a diagnostic, and let the objective place free space instead.
ECBL's motivation constrains our design. It shows that some layouts, such as a pinwheel with an empty center, need a genuinely empty room that cannot be absorbed into a neighbor. Oversized rooms alone are therefore not complete. We treat this as a measured risk rather than assuming it away.
CORE: Collaborative Optimization with Reinforcement Learning and Evolutionary Algorithm for Floorplanning is the strongest modern search method. It combines a policy-gradient agent with clustered evolutionary search over B*-trees, optimizing HPWL and area utilization. It motivates the work in two ways: it treats floorplanning as compact packing, and its code is redundant.
On the objective side, Cell density-driven detailed placement with displacement constraint supplies the scaled form $\text{HPWL}\times(1+\text{density penalty})$. That paper applies it to standard cells near fixed positions, while we apply it on floorplan segments where arrangements change discretely. ePlace: Electrostatics Based Placement Using Nesterov's Method shows a continuous density field works for mixed-size placement. It also needs a separate macro legalizer, which is evidence that continuous methods do not give legal floorplans for free.
For an independent check that our proxy tracks real wire paths, we use the obstacle-avoiding Steiner trees of Efficient obstacle-avoiding rectilinear steiner tree construction. WISP: Image Segmentation-Based Whitespace Diagnosis for Optimal Rectilinear Floorplanning motivates the problem. It reports that free space found after the fact and moved by image heuristics recovers 16.2% of block area and cuts negative slack by over 40%. That suggests free space placed badly by the floorplanner costs a great deal. WISP fixes it after the fact; we try to prevent it.
Research Program
The work has four parts.
The first part is the segment-level cost kernel. Starting from the $3n-3$ bit code, we decode the mosaic in linear time and list its maximal segments. Each net's bounding box is assigned to the segments it straddles, using a sweep. A single move changes a bounded neighborhood of the deletion sequence, so we maintain $d_s$ incrementally under such moves and measure per-move cost empirically.
The second part is the inner allocator. The full linear program per move is too slow inside simulated annealing with millions of moves. We therefore use a two-tier evaluation. Every move gets a fast proxy: a longest-path packing on the mosaic's constraint graphs, with the slack budget spread across segments in proportion to current overflow. The exact linear program runs only on the best candidates of each temperature stage or evolutionary generation. A key measurement is how often the proxy and the exact solution rank candidate topologies differently.
The third part is the search engine. We run simulated annealing on the bitstring with moves that keep the code valid, and we also port CORE's evolutionary component so the search engine is held fixed across encodings.
The fourth part is the completeness study. On small instances we enumerate or exhaustively anneal. We then compare our oversized-room space against ECBL with $\lambda=n$, measuring how much csHPWL is lost by excluding truly empty rooms. If the loss is material, we add a small, fixed number $k$ of explicit empty rooms that enter the Baxter code as ordinary rooms with a "free" label. This keeps the code duplicate-free. It differs from ECBL's $\lambda$ because $k$ is small and its rooms carry labels, so no two codes describe the same layout.
Baselines
The naive reference point is a compact-packing simulated annealer on B*-trees, optimizing plain HPWL plus area at the same whitespace budget. Any free space it ends up with is incidental dead space. This shows what happens when nobody thinks about congestion.
The strongest existing method is CORE. Lacuna has no absolute HPWL figure for it. The file reports only that CORE improves HPWL by 12.9% on average across MCNC and GSRC over the best competing methods, and by up to 29.5% on larger designs. We will rerun CORE on identical instances, die outline and whitespace budget, with equal wall-clock and equal evaluation count. We will also run it with csHPWL replacing HPWL in its reward, which gives the fairest version of the obvious idea. Beating it means lower csHPWL and lower obstacle-avoiding Steiner wirelength at matched die area, with plain HPWL within a few percent, on GSRC n100 to n300. These sizes are where CORE reports its largest gains.
ECBL is run with $\lambda\in\{1.5, 2, 3\}$ and also with csHPWL as its objective. This tests whether fake blocks with the right objective already do the job.
Two ablations isolate the key ingredients. In the first, our inner slack allocator is run on top of B*-tree topologies, keeping continuous slack but removing non-redundancy; this tests whether the duplicate-free code matters. In the second, our mosaic search is run with plain HPWL plus the slack allocator, so free space is spread uniformly; this tests whether the scaled objective matters.
No reported result found on Lacuna for csHPWL or any scaled wirelength in a floorplanning setting. RippleDP's reported 13.38% sHPWL reduction on ICCAD 2013 is a detailed-placement number, and it serves only as a sense of how large scaling effects can be.
Why not just…?
Why not just plug sHPWL into CORE or a B*-tree annealer? This is the real threat, and it is run directly as a baseline. Our expectation is that compact packing has no control over where free space appears. A B-tree packs blocks against one another, so free space appears as leftover gaps rather than as channels sized to demand. The penalty can therefore only push blocks apart indirectly. If CORE with csHPWL matches our method on csHPWL and Steiner wirelength, then the encoding contribution is nil, and the honest conclusion is that the objective alone matters. The first ablation, slack allocation on B-trees, separates the two effects.
Why not just optimize HPWL and let a downstream detailed placer fix congestion? RippleDP shows that detailed placement works under hard limits on how far cells may move. A modified FastPlace detailed placer in that paper could not satisfy displacement limits while removing density overflow. Blocks that sit next to each other leave a corridor that no small cell movement can open. We test this by passing each method's floorplan through a fixed spreading step and comparing the scaled wirelength after spreading.
Why not just use ECBL with a well-chosen $\lambda$? ECBL with csHPWL may well work on small designs. Its cost is search-space size, since fake blocks multiply duplicate codes. If ECBL at $\lambda=3$ matches us at equal evaluation budget on n200 and n300, our case rests only on runtime. The completeness study also tells us how much ECBL's extra space is ever used.
Why not use continuous analytical placement or WireMask-style masks? ePlace needs a dedicated legalizer for macros. Macro Placement by Wire-Mask-Guided Black-Box Optimization targets macro placement with greedy legalization rather than floorplans with fixed outlines and shaped rooms. We include WireMask-EA on the GSRC instances as a secondary comparison, scored by the same csHPWL evaluator.
Proposed Experiments
The benchmarks are MCNC (ami33, ami49, apte, xerox, hp) and GSRC (n10 to n300), each at whitespace budgets of 5%, 10% and 15% with a fixed outline. Every method is scored by one evaluator, fixed in advance and separate from the optimizers' internal proxies. It reports HPWL, csHPWL at $\gamma\in\{1, 5\}$, total obstacle-avoiding Steiner wirelength with blocks treated as obstacles via the method of Lin et al., die area, and runtime.
There are three decisive checks. The first is the head-to-head against CORE with csHPWL, described under Baselines. The second compares the proxy's ranking of candidates with the exact linear program's ranking; if the agreement is poor, the per-move speed claim fails. The third is the completeness gap against ECBL with $\lambda=n$ on n10 and n30.
A further correlation check asks whether csHPWL predicts obstacle-avoiding Steiner wirelength better than HPWL does across all generated floorplans. If it does not, the proxy is the wrong target, whatever the search results show.
Where a routing flow for the WISP rectilinear suite is available, we will report routed wirelength and slack against WISP's after-the-fact repair. That comparison is a stretch goal, not a central claim.
References
- Floorplan representations: Complexity and connections
- A simple optimal binary representation of mosaic floorplans and Baxter permutations
- ECBL: an extended corner block list with solution space including optimum placement
- CORE: Collaborative Optimization with Reinforcement Learning and Evolutionary Algorithm for Floorplanning
- Cell density-driven detailed placement with displacement constraint
- ePlace: Electrostatics Based Placement Using Nesterov's Method
- Efficient obstacle-avoiding rectilinear steiner tree construction
- WISP: Image Segmentation-Based Whitespace Diagnosis for Optimal Rectilinear Floorplanning
- Macro Placement by Wire-Mask-Guided Black-Box Optimization