Home / Learn / Chip Design / Floorplanning Explained

On this pageWhy it matters so muchWhat a floorplan definesMacro placementInput and output planningPower planningPartitioning large chipsWhat makes a floorplan goodAn iterative processCommon mistakesFloorplanning and the rest of the flowCommon questionsRelated guides

Floorplanning Explained

Floorplanning is the first step of physical chip design. It decides the size and shape of the chip and where its major parts go: the large blocks, memories, hard IP and the pins that connect to the outside. The floorplan sets the conditions for every later step. A good one makes timing, routing and power delivery manageable. A poor one creates problems that no amount of later optimization can fully repair.

Why it matters so much

Once the big pieces are positioned, the distances between them are fixed. Distance determines wire length, and wire length drives delay, power and how crowded the wiring becomes.

Later tools can move small cells around and resize gates, but they work within the space the floorplan leaves. If two blocks that exchange large amounts of data have been put on opposite sides of the chip, the long connections between them will be a problem for the rest of the project.

What a floorplan defines

  • Die size and shape. The outline of the chip and how much of the area is to be filled with logic.
  • Input and output placement. Where the pins or connection bumps go, which is tied to the package design.
  • Macro placement. The position and orientation of memories and hard IP blocks.
  • Block partitioning. For large chips, the shapes and positions of the major subsystems, and where their connecting pins sit.
  • The power grid. The overall structure for distributing power and ground.
  • Blockages and channels. Areas reserved for wiring or kept free of cells.
  • Special regions. Voltage areas, power-switched domains and analog zones.

Macro placement

Macros are large pre-designed blocks, most often memories. A big chip can contain thousands. They cannot be changed, only positioned and rotated, and where they go has a strong effect on everything else.

Common guidelines:

  • Place macros near the edges of a block, leaving the center open for standard cells and wiring.
  • Keep macros close to the logic they connect to.
  • Orient them so their pins face the logic.
  • Leave channels between adjacent macros wide enough for the wires that must pass.
  • Avoid creating narrow pockets where cells and wiring get trapped.
  • Follow the natural flow of data through the design.

Automated macro placement has improved considerably and is now widely used, often as a starting point that engineers then refine.

Input and output planning

The positions of a chip’s external connections are constrained from two sides. Inside, they should be near the logic that uses them. Outside, they must match what the package and the circuit board can connect to.

On chips that use an array of bumps across the surface, power connections are distributed over the whole area. High-speed interfaces need particular attention, since their signals are sensitive to the length and arrangement of connections. Chip, package and board are increasingly planned together.

Power planning

The power grid is laid out as part of floorplanning. It must supply every region with stable voltage. Areas of heavy activity need denser power connections. Where parts of the chip can be turned off to save energy, space is reserved for the switches, and the boundaries between voltage regions are defined.

Getting the grid wrong shows up later as voltage drop, which slows circuits and can cause failures.

Partitioning large chips

A large chip is split into blocks that are implemented separately. Floorplanning decides each block’s shape and where its pins sit along its edges. It also plans the top-level wiring that runs between and over the blocks.

Sometimes a signal must cross a block that has nothing to do with it. Channels or pass-through routes are planned for these, since an unplanned crossing can spoil a block’s timing.

What makes a floorplan good

MeasureWhat to look for
Wire lengthShort connections between heavily linked blocks
CongestionNo regions with more wires than the routing layers can carry
TimingCritical paths kept physically short
UtilizationEnough free space for optimization and routing
Power deliveryVoltage drop within limits everywhere
HeatHot blocks spread out
ShapeRegular block shapes without awkward notches

An iterative process

A floorplan is rarely right the first time. Engineers run quick trial placements and routing to see where congestion and timing problems appear, then adjust and try again.

It also begins before the design is complete. Early floorplans are drawn from estimates so that work can proceed in parallel, and they are revised as the logic firms up. Blocks tend to grow during a project, so a floorplan needs some slack to absorb changes.

Common mistakes

  • Channels that are too narrow between macros, causing congestion
  • Ignoring data flow, so that related logic ends up far apart
  • Overfilling, leaving no room for the buffers and resizing that timing closure requires
  • Poor pin placement on blocks, forcing long detours
  • Blocked access to macro pins
  • Deciding too late. Floorplan problems found during routing are costly to fix.

Floorplanning and the rest of the flow

Floorplanning follows synthesis and precedes placement. It also feeds back into synthesis: modern synthesis tools use the floorplan to estimate wire delays more accurately.

Architects are often involved too. Decisions about how the chip is divided into subsystems affect how well it can be laid out, and an early look at the floorplan can prevent an unworkable architecture.

Common questions

What is a macro in chip design?

A macro is a large pre-designed block, such as a memory or a piece of hard IP, that is placed as a single unit. It cannot be altered during physical design, only positioned.

Can floorplanning be automated?

Increasingly, yes. Tools can place macros and plan blocks automatically, and the results are often good. Engineers still review and adjust them, particularly for complex or unusual designs.

What happens if the floorplan is poor?

Timing becomes hard to meet, wiring becomes congested, and the project spends extra iterations trying to compensate. In bad cases the floorplan has to be redone, repeating much of the later work.

Related guides