Module 3: Floorplanning · 3.4 Macro Placement

Halos and Blockages

Section 3.3 addressed boundary I/O pin placement. Section 3.4 examines hard macro integration and physical placement constraints.

Standard cell designs contain uniform logic cells sharing identical heights and power rail alignments. Automated tools place standard cells directly into continuous horizontal rows. In contrast, complex designs incorporate pre-designed hard macros such as SRAM arrays, register files, and analog blocks. Hard macros have fixed physical boundaries, internal routing layers, and dedicated power grids. These blocks require explicit keep-out regions known as halos.

Definition and Purpose of Halos

A macro halo is an exclusion zone surrounding a hard macro footprint. Automated tools cannot place standard cells within this boundary. Hard macros contain dense internal wiring extending to cell edges. Placing standard cells directly adjacent to macros causes design rule violations and local interconnect congestion. Halos provide necessary physical clearance for macro pin access and power ring connections.

Standard cells do not require halos because standard library cells are designed to abut seamlessly. Hard macros disrupt standard cell row continuity. Therefore, floorplanners must explicitly define keep-out boundaries around each macro block.

Calculating the Keep-Out Rectangle

Consider a register file macro, regfile_8x8. The macro has a physical footprint of $60\ \mu\text{m} \times 40\ \mu\text{m}$ and requires a $5\ \mu\text{m}$ halo on all sides. Add the halo width to both sides of each coordinate axis:

$$w_{\text{keepout}} = w_{\text{macro}} + 2 \times \text{halo} = 60 + (2 \times 5) = 70\ \mu\text{m}$$ $$h_{\text{keepout}} = h_{\text{macro}} + 2 \times \text{halo} = 40 + (2 \times 5) = 50\ \mu\text{m}$$

Figure 1 illustrates the resulting keep-out boundary.

The 60 by 40 macro inside its 70 by 50 keep-out rectangle
Figure 1: The halo adds 5 µm on every side

The physical macro occupies $60 \times 40 = 2400\ \mu\text{m}^2$. However, the reserved keep-out area equals $70 \times 50 = 3500\ \mu\text{m}^2$. Floorplanning calculations must budget core area using the total keep-out rectangle rather than the raw macro footprint.

A blockage represents any designated core region where cell placement or wire routing is restricted. A macro halo is a specific placement blockage tied to a macro boundary. Routing blockages can also prevent wire routing on specific metal layers to reserve tracks for power grids.

Practice Exercise

Evaluate two macros for placement: Macro A measures $50\ \mu\text{m} \times 50\ \mu\text{m}$ with a $6\ \mu\text{m}$ halo. Macro B measures $80\ \mu\text{m} \times 20\ \mu\text{m}$ with a $4\ \mu\text{m}$ halo. Calculate the keep-out dimensions and area for each macro. Determine which macro consumes more core space.

Solution

Macro A: $$w = 50 + 12 = 62\ \mu\text{m}, \quad h = 50 + 12 = 62\ \mu\text{m}$$ $$\text{Area} = 62 \times 62 = 3844\ \mu\text{m}^2$$

Macro B: $$w = 80 + 8 = 88\ \mu\text{m}, \quad h = 20 + 8 = 28\ \mu\text{m}$$ $$\text{Area} = 88 \times 28 = 2464\ \mu\text{m}^2$$

Macro A consumes $3844\ \mu\text{m}^2$, which is significantly larger than Macro B ($2464\ \mu\text{m}^2$). Always compute effective floorplan area using keep-out dimensions.

The next article examines macro orientation and inter-macro routing channel spacing.

← Writing a Pin Order Configuration Orientation and Channel Spacing →