Skip to content

Commit bd25acc

Browse files
authored
Merge pull request #2208 from Pinata-Consulting/rtlmp-fewer-surprises
makefile: RTLMP_FLOW is now more consistent, 1 if enabled and default empty
2 parents f4cabb0 + d7bc323 commit bd25acc

File tree

35 files changed

+41
-35
lines changed

35 files changed

+41
-35
lines changed

docs/user/FlowVariables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Note:
132132
| `FLOORPLAN_DEF` | Use the DEF file to initialize floorplan. |
133133
| `PLACE_SITE` | Placement site for core cells defined in the technology LEF file. |
134134
| `TAPCELL_TCL` | Path to Endcap and Welltie cells file. |
135-
| `RTLMP_FLOW` | Enable the Hierarchical RTLMP flow. By default it is disabled. |
135+
| `RTLMP_FLOW` | 1 to enable the Hierarchical RTLMP flow, default empty |
136136
| `MACRO_HALO` | Specifies keep out distance from macro, in X and Y, to standard cell row. |
137137
| `MACRO_PLACEMENT` | Specifies the path of a file on how to place certain macros manually using read_macro_placement. |
138138
| `MACRO_PLACEMENT_TCL` | Specifies the path of a TCL file on how to place certain macros manually. |

flow/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,13 @@ endif
657657

658658
# STEP 3: Timing Driven Mixed Sized Placement
659659
#-------------------------------------------------------------------------------
660-
ifeq ($(MACRO_PLACEMENT)$(MACRO_PLACEMENT_TCL)$(RTLMP_FLOW),)
660+
ifneq ($(MACRO_PLACEMENT)$(MACRO_PLACEMENT_TCL),)
661+
SKIP_TDMS:=1
662+
endif
663+
ifneq ($(RTLMP_FLOW), 1)
664+
SKIP_TDMS:=1
665+
endif
666+
ifneq ($(SKIP_TDMS), 1)
661667
$(eval $(call do-step,2_3_floorplan_tdms,$(RESULTS_DIR)/2_2_floorplan_io.odb $(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(LIB_FILES),tdms_place))
662668
else
663669
$(eval $(call do-copy,2_3_floorplan_tdms,2_2_floorplan_io.odb,$(RESULTS_DIR)/1_synth.v $(RESULTS_DIR)/1_synth.sdc $(LIB_FILES)))

flow/designs/asap7/aes-block/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export PLACE_DENSITY = 0.65
1515

1616
export BLOCKS = aes_rcon aes_sbox
1717
export SYNTH_HIERARCHICAL = 1
18-
export RTLMP_FLOW = True
18+
export RTLMP_FLOW = 1
1919

2020
export PLACE_PINS_ARGS = -annealing
2121
export HAS_IO_CONSTRAINTS = 0

flow/designs/asap7/riscv32i/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export DESIGN_NAME = riscv_top
33
export PLATFORM = asap7
44

55
export SYNTH_HIERARCHICAL = 1
6-
export RTLMP_FLOW = True
6+
export RTLMP_FLOW = 1
77

88
export RTLMP_MIN_INST = 1000
99
export RTLMP_MAX_INST = 3500

flow/designs/asap7/swerv_wrapper/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export DESIGN_NAME = swerv_wrapper
22
export PLATFORM = asap7
33

44
export SYNTH_HIERARCHICAL = 1
5-
export RTLMP_FLOW = True
5+
export RTLMP_FLOW = 1
66
# RTL_MP Settings
77
export RTLMP_MAX_INST = 30000
88
export RTLMP_MIN_INST = 5000

flow/designs/gf12/ariane/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ export PLATFORM = gf12
33

44
export SYNTH_HIERARCHICAL = 1
55
export MAX_UNGROUP_SIZE ?= 10000
6-
export RTLMP_FLOW = True
6+
export RTLMP_FLOW = 1
77
#
88

99
export VERILOG_FILES = ./designs/src/$(DESIGN_NAME)/ariane.sv2v.v \

flow/designs/gf12/ariane133/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export PLATFORM = gf12
44

55
export SYNTH_HIERARCHICAL = 1
66
export MAX_UNGROUP_SIZE ?= 10000
7-
export RTLMP_FLOW = True
7+
export RTLMP_FLOW = 1
88
#
99
# RTL_MP Settings
1010

flow/designs/gf12/bp_dual/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export PLATFORM = gf12
44

55
export SYNTH_HIERARCHICAL = 1
66
#
7-
export RTLMP_FLOW = True
7+
export RTLMP_FLOW = 1
88
# RTL_MP Settings
99
export RTLMP_MAX_INST = 30000
1010
export RTLMP_MIN_INST = 10000

flow/designs/gf12/bp_quad/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export DESIGN_NICKNAME = bp_quad
22
export DESIGN_NAME = bsg_chip
33
export PLATFORM = gf12
44

5-
export RTLMP_FLOW = True
5+
export RTLMP_FLOW = 1
66
export SYNTH_HIERARCHICAL = 1
77
export MAX_UNGROUP_SIZE ?= 1000
88

flow/designs/gf12/bp_single/config_mpl2.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export SKIP_GATE_CLONING = 1
66
export TNS_END_PERCENT = 5
77

88
export SYNTH_HIERARCHICAL = 1
9-
export RTLMP_FLOW = True
9+
export RTLMP_FLOW = 1
1010
#
1111
# RTL_MP Settings
1212
export RTLMP_MAX_INST = 30000

0 commit comments

Comments
 (0)