Updated 4 min readPhysical Design
Hierarchical SoC floorplanning
Hierarchical SoC floorplanning in practice: choosing partitions, pin assignment, macro placement, power grid alignment and timing budgets at block boundaries.
By the SkyCadEda engineering teamHow these notes are written
On this page
Hierarchical floorplanning splits an SoC into partitions that are placed and routed separately, then assembled at top level. The top-level floorplan fixes block outlines, pin positions, the power grid and timing budgets at the boundaries; each block team then closes its own partition inside those limits. Most of the risk sits at the interfaces, so most of this post is about them.
Why go hierarchical
Modern flat flows handle very large blocks, so hierarchy is not a capacity requirement. Teams choose it for schedule parallelism (several engineers closing blocks at once), runtime per iteration, and reuse of a hardened block several times or across chips. The cost is interface work: pin assignment, budgets, abstracts and a top-level integration step that can expose problems no block run can see.
Logical versus physical partitions
The RTL hierarchy reflects function and ownership; a physical partition should reflect connectivity, power domains and timing. They often coincide, but not always. Keep high-bandwidth buses and tightly coupled modules inside one partition. Group modules that share a power domain where possible, because a partition that spans domains complicates the grid and the isolation. A good partition has dense internal and sparse external connectivity; count boundary pins early, since an unexpectedly high count usually means the cut is in the wrong place.
Pin assignment
Block pins are the contract between partitions. Place them on the edge facing the block they connect to, after the top-level block placement is stable. Spread pins across enough boundary length and enough layers; a dense cluster on one edge creates local congestion even when the chip has spare tracks overall. Feed-throughs (top-level nets routed across a block) must be planned explicitly, either as pins on both sides of the block or as channels between blocks. In Innovus and ICC2, pin assignment is driven from the top-level placement and routing estimate, then pushed down into each partition when the partitions are committed; re-run it when block outlines change.
Macro placement and congestion
SRAMs, PLLs and analog IP fix the shape of the standard-cell area around them. Pushing macros to the block edges leaves a contiguous core for logic and is the default choice; for very large blocks, clusters of macros with routing channels between them can shorten wires. Orient macro pins toward the logic they serve, keep halos (placement keep-outs) around macros so their pins can be reached, and leave channels wide enough for the signals that must pass between them. Check the early global-route congestion map before committing the floorplan: congestion that shows up there almost never disappears later.
Power grid across the hierarchy
The top-level mesh supplies the blocks, so block straps must line up with top-level straps on the layers where they connect. Misaligned straps force current through detours and narrow vias, raising IR drop at the block boundary. Define the strap pitch, widths and layers for the whole chip before blocks start, and give each partition its grid as part of the floorplan handoff. Decap is usually added where early dynamic IR analysis shows hot spots; in a hierarchical flow, leave white space for it in the block floorplans rather than hoping for it after placement. Analysis tools and sign-off criteria for this are covered in power integrity and EM/IR analysis.
Timing budgets at block boundaries
Each partition is constrained with SDC in which input and output delays represent the time spent outside the block. The implementation tool's budgeting step derives them from the top-level constraints and the estimated wire delays between blocks. A hand-written example of what a block ends up with, for a 1 GHz clock where 60% of the cycle is used upstream of the inputs:
create_clock -name clk -period 1.000 [get_ports clk]
set_input_delay -clock clk 0.600 [get_ports {rx_data[*] rx_valid}]
set_output_delay -clock clk 0.550 [get_ports {tx_data[*] tx_valid}]
# BUFX4 stands for a buffer cell from your own library
set_driving_cell -lib_cell BUFX4 [remove_from_collection [all_inputs] [get_ports clk]]
set_load 0.010 [all_outputs]Budgets start as estimates. Long boundary paths are usually the ones whose physical distance was underestimated at partitioning; repeaters on top-level nets and pins moved closer together fix most of them. At top level, blocks are represented by abstracts: interface logic models (ILMs), extracted timing models (for example from extract_model in PrimeTime or do_extract_model in Tempus), or the tool's own block abstracts. Re-derive budgets as real block timing replaces estimates; stale budgets are a common reason a block that closed on its own fails at top level.
Clocks are usually built in two stages: a top-level tree to the block clock pins and a tree inside each block. The latency of each block's internal tree must be known at top level so the inter-block skew can be balanced; agree target insertion delays per block early.
Keep every partition run comparable
Each partition run should record the floorplan checkpoint, the SDC and UPF revisions, the tool version and the key options. When two teams compare congestion or timing, the first question is whether they ran from the same inputs. Record why a fence, a buffer chain or a routing rule was added so the next engineer does not undo it to fix a different path. Iterate the floorplan with congestion maps, IR analysis and timing reports; a first floorplan is rarely the final one, and changes are cheapest before blocks are routed.
Frequently asked questions
What is the difference between flat and hierarchical floorplanning?
A flat flow places and routes the whole design as one database. A hierarchical flow splits it into partitions that are implemented separately and assembled at top level. Flat flows handle large blocks well; hierarchy is chosen mainly for schedule parallelism, runtime and reuse of hardened blocks, at the cost of interface budgeting.
What are the common pitfalls of pin assignment in hierarchical designs?
Pins clustered on a short stretch of boundary, and pins placed far from the block they talk to. Both create top-level congestion and long boundary paths. Assign pins after the top-level placement of blocks is stable and check them against the routing estimate.
How big should a physical partition be?
Large enough to keep tightly connected logic together and short of long top-level routes, small enough that place and route of one partition finishes in a turnaround the team can live with. Count boundary pins: a partition with far more external connections than its size suggests is usually split in the wrong place.
How are timing budgets handled across block boundaries?
Each partition gets SDC with input and output delays that represent the time used outside it, derived from the top-level constraints by the implementation tool's budgeting step. The top level then times against block abstracts such as ILMs, ETMs or tool-specific abstracts, and budgets are revised as real numbers replace estimates.
Related reading
- noteMulti-corner multi-mode timing analysis
- noteClock tree synthesis without skew traps
- noteCadence Innovus place and route
More engineering notes
Working through a problem like this?
Tell us about your flow: the tools, the PDK, what is failing and when it needs to be clean.