Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions docs/user/FlowVariables.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,10 +162,10 @@ configuration file.
| <a name="LATCH_MAP_FILE"></a>LATCH_MAP_FILE| Optional mapping file supplied to Yosys to map latches| |
| <a name="LAYER_PARASITICS_FILE"></a>LAYER_PARASITICS_FILE| Path to per layer parasitics file. Defaults to $(PLATFORM_DIR)/setRC.tcl.| |
| <a name="LIB_FILES"></a>LIB_FILES| A Liberty file of the standard cell library with PVT characterization, input and output characteristics, timing and power definitions for each cell.| |
| <a name="MACRO_BLOCKAGE_HALO"></a>MACRO_BLOCKAGE_HALO| Distance beyond the edges of a macro that will also be covered by the blockage generated for that macro. Note that the default macro blockage halo comes from the largest of the specified MACRO_PLACE_HALO x or y values. This variable overrides that calculation.| |
| <a name="MACRO_BLOCKAGE_HALO"></a>MACRO_BLOCKAGE_HALO| Distance beyond the edges of a macro that will also be covered by the blockage generated for that macro. To ease routing around macros, it can be useful to have a larger `MACRO_PLACE_HALO` than `MACRO_BLOCKAGE_HALO`. Note that the default macro blockage halo comes from the largest of the specified MACRO_PLACE_HALO x or y values. This variable overrides that calculation.| |
| <a name="MACRO_EXTENSION"></a>MACRO_EXTENSION| Sets the number of GCells added to the blockages boundaries from macros.| |
| <a name="MACRO_PLACEMENT_TCL"></a>MACRO_PLACEMENT_TCL| Specifies the path of a TCL file on how to place macros manually. The user may choose to place just some of the macros in the design. The macro placer will handle the remaining unplaced macros.| |
| <a name="MACRO_PLACE_HALO"></a>MACRO_PLACE_HALO| Horizontal/vertical halo around macros (microns). Used by automatic macro placement.| |
| <a name="MACRO_PLACE_HALO"></a>MACRO_PLACE_HALO| Horizontal/vertical halo around macros (microns). Used by automatic macro placement. There is no provision for setting a halo per macro, this is a global setting. With an advanced flow, beyond the scope of ORFS, a user could generate a mock .lef with halos that vary per macro, generate a macro placement .tcl and use `MACRO_PLACEMENT_TCL` to place macros. A .lef halo excludes all instances, including standard cells and macros. `MACRO_PLACE_HALO` applies only to macros. If this value is too high, then area is wasted, too low and the flow can fail later in detailed placement or routing.| |
| <a name="MACRO_ROWS_HALO_X"></a>MACRO_ROWS_HALO_X| Horizontal distance between the edge of the macro and the beginning of the rows created by tapcell. Only available for ASAP7 PDK and GF180/uart-blocks design.| |
| <a name="MACRO_ROWS_HALO_Y"></a>MACRO_ROWS_HALO_Y| Vertical distance between the edge of the macro and the beginning of the rows created by tapcell. Only available for ASAP7 PDK and GF180/uart-blocks design.| |
| <a name="MACRO_WRAPPERS"></a>MACRO_WRAPPERS| The wrapper file that replaces existing macros with their wrapped version.| |
Expand Down
14 changes: 14 additions & 0 deletions flow/scripts/variables.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -452,12 +452,26 @@ MACRO_PLACE_HALO:
description: >
Horizontal/vertical halo around macros (microns). Used by automatic macro
placement.

There is no provision for setting a halo per macro, this is a global
setting. With an advanced flow, beyond the scope of ORFS, a user
could generate a mock .lef with halos that vary per macro,
generate a macro placement .tcl and use `MACRO_PLACEMENT_TCL` to
place macros. A .lef halo excludes all instances, including standard

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Halos exist in def not lef. I'm not sure why we want to document a non-feature (also we may add it and forget to update this).

cells and macros. `MACRO_PLACE_HALO` applies only to macros.

If this value is too high, then area is wasted, too low and the flow can
fail later in detailed placement or routing.
stages:
- floorplan
MACRO_BLOCKAGE_HALO:
description: >
Distance beyond the edges of a macro that will also be covered by the
blockage generated for that macro.

To ease routing around macros, it can be useful to have a larger
`MACRO_PLACE_HALO` than `MACRO_BLOCKAGE_HALO`.

Note that the default macro blockage halo comes from the largest of the
specified MACRO_PLACE_HALO x or y values. This variable overrides that
calculation.
Expand Down