Skip to content

Commit 8ce3cf9

Browse files
committed
synthesis: rename MAX_UNGROUP_SIZE to SYNTH_MINIMUM_KEEP_SIZE
SYNTH_ prefix minimizes surprises. Use keep terminology consistently. Signed-off-by: Øyvind Harboe <[email protected]>
1 parent 152c0a5 commit 8ce3cf9

File tree

15 files changed

+22
-20
lines changed

15 files changed

+22
-20
lines changed

docs/user/FlowVariables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ configuration file.
122122
| <a name="MAKE_TRACKS"></a>MAKE_TRACKS| Tcl file that defines add routing tracks to a floorplan.| | |
123123
| <a name="MATCH_CELL_FOOTPRINT"></a>MATCH_CELL_FOOTPRINT| Enforce sizing operations to only swap cells that have the same layout boundary.| 0| |
124124
| <a name="MAX_ROUTING_LAYER"></a>MAX_ROUTING_LAYER| The highest metal layer name to be used in routing.| | |
125-
| <a name="MAX_UNGROUP_SIZE"></a>MAX_UNGROUP_SIZE| For hierarchical synthesis, we ungroup modules of larger area than given by this variable. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| | |
126125
| <a name="MIN_BUF_CELL_AND_PORTS"></a>MIN_BUF_CELL_AND_PORTS| Used to insert a buffer cell to pass through wires. Used in synthesis.| | |
127126
| <a name="MIN_ROUTING_LAYER"></a>MIN_ROUTING_LAYER| The lowest metal layer name to be used in routing.| | |
128127
| <a name="PDN_TCL"></a>PDN_TCL| File path which has a set of power grid policies used by pdn to be applied to the design, such as layers to use, stripe width and spacing to generate the actual metal straps.| | |
@@ -183,6 +182,7 @@ configuration file.
183182
| <a name="SYNTH_GUT"></a>SYNTH_GUT| Load design and remove all internal logic before doing synthesis. This is useful when creating a mock .lef abstract that has a smaller area than the amount of logic would allow. bazel-orfs uses this to mock SRAMs, for instance.| | |
184183
| <a name="SYNTH_HIERARCHICAL"></a>SYNTH_HIERARCHICAL| Enable to Synthesis hierarchically, otherwise considered flat synthesis.| 0| |
185184
| <a name="SYNTH_MEMORY_MAX_BITS"></a>SYNTH_MEMORY_MAX_BITS| Maximum number of bits for memory synthesis.| 4096| |
185+
| <a name="SYNTH_MINIMUM_KEEP_SIZE"></a>SYNTH_MINIMUM_KEEP_SIZE| For hierarchical synthesis, we keep modules of larger area than given by this variable and flatten smaller modules. The area unit used is the size of a basic nand2 gate from the platform's standard cell library. The default value is platform specific.| | |
186186
| <a name="SYNTH_NETLIST_FILES"></a>SYNTH_NETLIST_FILES| Skips synthesis and uses the supplied netlist files. If the netlist files contains duplicate modules, which can happen when using hierarchical synthesis on indvidual netlist files and combining here, subsequent modules are silently ignored and only the first module is used.| | |
187187
| <a name="SYNTH_WRAPPED_OPERATORS"></a>SYNTH_WRAPPED_OPERATORS| Synthesize multiple architectural options for each arithmetic operator in the design. These options are available for switching among in later stages of the flow.| | |
188188
| <a name="TAPCELL_TCL"></a>TAPCELL_TCL| Path to Endcap and Welltie cells file.| | |
@@ -205,14 +205,14 @@ configuration file.
205205
- [ADDER_MAP_FILE](#ADDER_MAP_FILE)
206206
- [CLKGATE_MAP_FILE](#CLKGATE_MAP_FILE)
207207
- [LATCH_MAP_FILE](#LATCH_MAP_FILE)
208-
- [MAX_UNGROUP_SIZE](#MAX_UNGROUP_SIZE)
209208
- [MIN_BUF_CELL_AND_PORTS](#MIN_BUF_CELL_AND_PORTS)
210209
- [SDC_FILE](#SDC_FILE)
211210
- [SDC_GUT](#SDC_GUT)
212211
- [SYNTH_BLACKBOXES](#SYNTH_BLACKBOXES)
213212
- [SYNTH_GUT](#SYNTH_GUT)
214213
- [SYNTH_HIERARCHICAL](#SYNTH_HIERARCHICAL)
215214
- [SYNTH_MEMORY_MAX_BITS](#SYNTH_MEMORY_MAX_BITS)
215+
- [SYNTH_MINIMUM_KEEP_SIZE](#SYNTH_MINIMUM_KEEP_SIZE)
216216
- [SYNTH_NETLIST_FILES](#SYNTH_NETLIST_FILES)
217217
- [SYNTH_WRAPPED_OPERATORS](#SYNTH_WRAPPED_OPERATORS)
218218
- [TIEHI_CELL_AND_PORT](#TIEHI_CELL_AND_PORT)

flow/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ include $(PLATFORM_DIR)/config.mk
160160
$(foreach line,$(shell $(SCRIPTS_DIR)/defaults.py),$(eval export $(subst __SPACE__, ,$(line))))
161161

162162
# If the design, nor $(PLATFORM_DIR)/config.mk provided a default, provide one here
163-
export MAX_UNGROUP_SIZE ?= 0
163+
export SYNTH_MINIMUM_KEEP_SIZE ?= 0
164164

165165
# Not normally adjusted by user
166166
export SYNTH_OPERATIONS_ARGS ?= -extra-map $(FLOW_HOME)/platforms/common/lcu_kogge_stone.v

flow/designs/asap7/aes/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
For large designs, it can be useful to split synthesis for the
44
major blocks and combine the synthesized result.
55

6-
SYNTH_HIERARCHICAL=1 and MAX_UNGROUP_SIZE can be used to adjust which
6+
SYNTH_HIERARCHICAL=1 and SYNTH_MINIMUM_KEEP_SIZE can be used to adjust which
77
modules are flattened and which are kept.
88

99
A module that is not flattened, can be built separately without any

flow/designs/asap7/minimal/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export PLATFORM = asap7
44
# Faster build and more information in GUI with hierarchical synthesis
55
export SYNTH_HIERARCHICAL ?= 1
66
# Keep all modules so we can examine the full hierarchy
7-
export MAX_UNGROUP_SIZE ?= 0
7+
export SYNTH_MINIMUM_KEEP_SIZE ?= 0
88

99
# Set the core utilization to 10% for the minimal design to
1010
# maximize chances of getting an initial floorplan. This

flow/designs/asap7/riscv32i/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export RTLMP_MAX_INST = 3500
99
export RTLMP_MIN_MACRO = 1
1010
export RTLMP_MAX_MACRO = 5
1111

12-
export MAX_UNGROUP_SIZE ?= 10000
12+
export SYNTH_MINIMUM_KEEP_SIZE ?= 10000
1313

1414
export VERILOG_FILES = $(sort $(wildcard $(DESIGN_HOME)/src/riscv32i/*.v))
1515
export SDC_FILE = $(DESIGN_HOME)/$(PLATFORM)/riscv32i/constraint.sdc

flow/designs/gf12/ariane/config.mk

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

44
export SYNTH_HIERARCHICAL = 1
5-
export MAX_UNGROUP_SIZE ?= 10000
5+
export SYNTH_MINIMUM_KEEP_SIZE ?= 10000
66
#
77

88
export VERILOG_FILES = $(DESIGN_HOME)/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
@@ -3,7 +3,7 @@ export DESIGN_NAME = ariane
33
export PLATFORM = gf12
44

55
export SYNTH_HIERARCHICAL = 1
6-
export MAX_UNGROUP_SIZE ?= 10000
6+
export SYNTH_MINIMUM_KEEP_SIZE ?= 10000
77

88
export VERILOG_FILES = $(PLATFORM_DIR)/ariane133/ariane.v
99

flow/designs/gf12/bp_quad/config.mk

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

55
export SYNTH_HIERARCHICAL = 1
6-
export MAX_UNGROUP_SIZE ?= 1000
6+
export SYNTH_MINIMUM_KEEP_SIZE ?= 1000
77

88
export SYNTH_NETLIST_FILES = $(PLATFORM_DIR)/bp/bsg_ac_black_parrot_quad_core_v0/bp_quad_block/yosys/bp_quad_yosys_netlist.v
99
export VERILOG_FILES = $(PLATFORM_DIR)/bp/bsg_ac_black_parrot_quad_core_v0/bp_quad_block/rtl/bsg_chip_block.sv2v.v

flow/designs/gf12/swerv_wrapper/config.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export DESIGN_NAME = swerv_wrapper
22
export PLATFORM = gf12
33
#
4-
export MAX_UNGROUP_SIZE ?= 10000
4+
export SYNTH_MINIMUM_KEEP_SIZE ?= 10000
55
export SYNTH_HIERARCHICAL = 1
66

77
# RTL_MP Settings

flow/designs/gf12/tinyRocket/config.mk

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

55
export SYNTH_HIERARCHICAL = 1
6-
export MAX_UNGROUP_SIZE ?= 1000
6+
export SYNTH_MINIMUM_KEEP_SIZE ?= 1000
77

88
export VERILOG_FILES = $(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/AsyncResetReg.v \
99
$(DESIGN_HOME)/src/$(DESIGN_NICKNAME)/ClockDivider2.v \

0 commit comments

Comments
 (0)