Skip to content

Commit a6a4e9e

Browse files
committed
remove read_macro_placement and use MPL commands instead
Signed-off-by: Arthur Koucher <[email protected]>
1 parent a7a8883 commit a6a4e9e

File tree

8 files changed

+8
-45
lines changed

8 files changed

+8
-45
lines changed

docs/user/FlowVariables.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,6 @@ configuration file.
155155
| <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.| |
156156
| <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.| |
157157
| <a name="MACRO_EXTENSION"></a>MACRO_EXTENSION| Sets the number of GCells added to the blockages boundaries from macros.| |
158-
| <a name="MACRO_PLACEMENT"></a>MACRO_PLACEMENT| Specifies the path of a file on how to place certain macros manually using read_macro_placement.| |
159158
| <a name="MACRO_PLACEMENT_TCL"></a>MACRO_PLACEMENT_TCL| Specifies the path of a TCL file on how to place certain macros manually.| |
160159
| <a name="MACRO_PLACE_HALO"></a>MACRO_PLACE_HALO| Horizontal/vertical halo around macros (microns). Used by automatic macro placement.| |
161160
| <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.| |
@@ -299,7 +298,6 @@ configuration file.
299298
- [HOLD_SLACK_MARGIN](#HOLD_SLACK_MARGIN)
300299
- [IO_CONSTRAINTS](#IO_CONSTRAINTS)
301300
- [MACRO_BLOCKAGE_HALO](#MACRO_BLOCKAGE_HALO)
302-
- [MACRO_PLACEMENT](#MACRO_PLACEMENT)
303301
- [MACRO_PLACEMENT_TCL](#MACRO_PLACEMENT_TCL)
304302
- [MACRO_PLACE_HALO](#MACRO_PLACE_HALO)
305303
- [MACRO_ROWS_HALO_X](#MACRO_ROWS_HALO_X)

flow/designs/sky130hd/chameleon/chameleon.macro_placment.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

flow/designs/sky130hd/chameleon/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export ADDITIONAL_LEFS = $(chameleon_DIR)/lef/apb_sys_0.lef \
4444
$(chameleon_DIR)/lef/DMC_32x16HC.lef \
4545
$(chameleon_DIR)/lef/ibex_wrapper.lef
4646

47-
export MACRO_PLACEMENT = $(chameleon_DIR)/chameleon.macro_placment.cfg
47+
export MACRO_PLACEMENT_TCL = $(chameleon_DIR)/macro_placement.tcl
4848

4949
export FP_PDN_RAIL_WIDTH = 0.48
5050
export FP_PDN_RAIL_OFFSET = 0
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
place_macro -macro_name {RAM.genblk1\[0\].RAM} -location {200 150} -orientation R0
2+
place_macro -macro_name {RAM.genblk1\[1\].RAM} -location {1600 150} -orientation R0
3+
place_macro -macro_name {RAM.genblk1\[2\].RAM} -location {200 1950} -orientation R180
4+
place_macro -macro_name {ahb_sys_0_uut.S0.CACHE} -location {2100 2650} -orientation R0
5+
place_macro -macro_name {ahb_sys_0_uut.apb_sys_inst_0} -location {1470 2643} -orientation R0
6+
place_macro -macro_name {ibex_core} -location {2150 1700} -orientation R0

flow/scripts/macro_place_util.tcl

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ if { [find_macros] != "" } {
3636

3737
if { [env_var_exists_and_non_empty MACRO_PLACEMENT_TCL] } {
3838
log_cmd source $::env(MACRO_PLACEMENT_TCL)
39-
} elseif { [env_var_exists_and_non_empty MACRO_PLACEMENT] } {
40-
source $::env(SCRIPTS_DIR)/read_macro_placement.tcl
41-
log_cmd read_macro_placement $::env(MACRO_PLACEMENT)
4239
} else {
4340
set additional_rtlmp_args ""
4441
append_env_var additional_rtlmp_args RTLMP_MAX_LEVEL -max_num_level 1

flow/scripts/read_macro_placement.tcl

Lines changed: 0 additions & 26 deletions
This file was deleted.

flow/scripts/variables.yaml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -341,12 +341,6 @@ TAPCELL_TCL:
341341
Path to Endcap and Welltie cells file.
342342
stages:
343343
- floorplan
344-
MACRO_PLACEMENT:
345-
description: >
346-
Specifies the path of a file on how to place certain macros manually using
347-
read_macro_placement.
348-
stages:
349-
- floorplan
350344
MACRO_PLACEMENT_TCL:
351345
description: |
352346
Specifies the path of a TCL file on how to place certain macros manually.

flow/util/makeIssue.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ISSUE_CP_DESIGN_FILE_VARS="SDC_FILE \
1212
FOOTPRINT \
1313
SIG_MAP_FILE \
1414
IO_CONSTRAINTS \
15-
MACRO_PLACEMENT \
15+
MACRO_PLACEMENT_TCL \
1616
MACRO_WRAPPERS \
1717
RTLMP_CONFIG_FILE \
1818
DFF_LIB_FILE "

0 commit comments

Comments
 (0)